Feature Wiki

Information about planned and released features

Tabs

Simple Import - Change behaviour on duplicated entries to delete

1 Requirements

Current state: When a user deletes entries in Organisational Units using the simple import he has to define a parent and/or an external id. If the description matches multiple targets one of those gets deleted.

Proposed state: When the import encounters such a situation it should stop and ask the user what to do

  • Select which units to delete
  • Delete all and continue with this behaviour

2 Additional Information

  • Idea / concept: Stanislav Wischniak & Oskar Truffer
  • Interest in funding: (please indicate if you are interested/able to fund this feature)
  • Maintainer: (will be set by Jour Fixe / maintainer)
  • Implementation of the feature is done by (will be set by Jour Fixe / maintainer)
  • Testcases by: Wischniak, Stanislav [wischniak]

3 Discussion

Wischniak, Stanislav [wischniak] 22.12.2015:
ATM the units are identified by combination of e.g. external-id and parent_id. My favorite solution would be the implementation of unique external_id's (no need for parent_id then). Plz. see diskussion on that in Mantis 17112.

If this is not the desired solution for whatever reason, I would suggest not to delete several units, or at least ask the user to confirm this action, as the deletion might cause severe implications and effort to restore (deleted subunits, settings, roles etc.). With the apropriate feedback it would be quite easy for a user to either change the import accordingly (e.g. correct the wrong external_id or use reference_id instead) or even delete the desired unit in GUI.

4 Implementation

{please give a description of the final implementation and add screenshots if possible}

Test Cases

Test cases completed at {date} by {user}

Approval

Approved at {date} by {user}.

Last edited: 22. Dec 2015, 13:28, Wischniak, Stanislav [wischniak]