Bug #1537
group-delete event failure
Status: | CLOSED | Start date: | 11/08/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | 11/13/2012 | |
Assignee: | - | % Done: | 100% | |
Category: | nethserver-directory | |||
Target version: | DEV133 | |||
Security class: | Resolution: | |||
Affected version: | DEV133 | NEEDINFO: |
Description
group-delete event fails on nethserver-mail-group-acl-cleanup action.
The group record is deleted before the action takes place. Apply the same pattern used in user-delete event:
1) mark the record as group-deleted
2) perform cleanup actions
3) delete the record
Related issues
Associated revisions
RecordAdapter: don't set record key to NULL after deletion. Refs #1537 -- group-delete event failure
Table/Modify abstract module: ensure the key exists in datasource for update and delete actions. Refs #1537
ObjectPicker JS widget: set to empty selection if received value is not an array. Refs #1537 -- group-delete event failure
ArrayAdapter: empty string value is accepted and mapped to empty array. Refs #1537 -- group-delete event failure
group-delete-unix action: `luserdel G` to avoid automatic primary group deletion. Refs #1537 - group-delete event failure
Group UI module: group record type changed to `group-deleted` during group-delete event. Refs #1537 -- group-delete event failure
nethserver-mail-group-acl-cleanup action: accept group-deleted record type. Refs #1537 -- group-delete event failure
Domain UI module: mark deleted domain record as `domain-deleted` before domain-delete event. Refs #1537 -- group-delete event failure
History
#1 Updated by Davide Principi almost 9 years ago
- Affected version set to DEV133
#2 Updated by Davide Principi over 8 years ago
- Status changed from NEW to ON_DEV
- Assignee set to Davide Principi
- Start date set to 11/08/2012
- % Done changed from 0 to 20
#3 Updated by Davide Principi over 8 years ago
- Due date set to 11/13/2012
- Status changed from ON_DEV to 7
- % Done changed from 20 to 100
#4 Updated by Davide Principi over 8 years ago
- Project changed from NethServer 6 to 47
#5 Updated by Davide Principi over 8 years ago
- Project changed from 47 to NethServer 6