Bug #1537

group-delete event failure

Added by Davide Principi almost 9 years ago. Updated over 8 years ago.

Status:CLOSEDStart date:11/08/2012
Priority:NormalDue 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

Related to NethServer 6 - Task #1536: Remove ibays system accounts CLOSED 11/02/2012 11/05/2012

Associated revisions

Revision bf46a7f4
Added by Davide Principi over 8 years ago

RecordAdapter: don't set record key to NULL after deletion. Refs #1537 -- group-delete event failure

Revision 2bb2d142
Added by Davide Principi over 8 years ago

Table/Modify abstract module: ensure the key exists in datasource for update and delete actions. Refs #1537

Revision c2e012cf
Added by Davide Principi over 8 years ago

ObjectPicker JS widget: set to empty selection if received value is not an array. Refs #1537 -- group-delete event failure

Revision f25621e0
Added by Davide Principi over 8 years ago

ArrayAdapter: empty string value is accepted and mapped to empty array. Refs #1537 -- group-delete event failure

Revision b89e7727
Added by Davide Principi over 8 years ago

group-delete-unix action: `luserdel G` to avoid automatic primary group deletion. Refs #1537 - group-delete event failure

Revision bd8ed403
Added by Davide Principi over 8 years ago

Group UI module: group record type changed to `group-deleted` during group-delete event. Refs #1537 -- group-delete event failure

Revision 56fb2efa
Added by Davide Principi over 8 years ago

nethserver-mail-group-acl-cleanup action: accept group-deleted record type. Refs #1537 -- group-delete event failure

Revision 29d84ea9
Added by Davide Principi over 8 years ago

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

Also available in: Atom PDF