Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#2150 closed enhancement (fixed)

Batch item importers in item list members view

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: BASE 3.15
Component: coreplugins Version:
Keywords: Cc:

Description

The toolbar in the "Members" tab in an item list has an "Import" buttons which brings up a dialog for selecting the regular batch item importers and the annotation importer. However the plug-ins are not aware of that they have been started from the list members view and will work just as they do from the regular list view.

The batch item importers should be updated so that in "item list" mode they should only be able to:

  • Add members to the item list.
  • Remove members from the list.
  • Update existing items but only if they are members of the list. (Or is this not a good idea?)

The annotation importer should be updated so that it only works with items that are members of the list.

Change History (8)

comment:1 by Nicklas Nordborg, 6 years ago

Owner: changed from everyone to Nicklas Nordborg
Status: newaccepted

comment:2 by Nicklas Nordborg, 6 years ago

In 7593:

References #2150: Batch item importers in item list members view

The annotation importer has been updated so that if it is started from the "Members" tab of an item list, it will only update annotations on items that are members of the list.

comment:3 by Nicklas Nordborg, 6 years ago

In 7594:

References #2150: Batch item importers in item list members view

Started with implementing support in batch item importers. The plug-ins will now detect the active item list and change the mode parameter options to add-members, remove-members and update. So far, only the update mode is working.

comment:4 by Nicklas Nordborg, 6 years ago

In 7599:

References #2150: Batch item importers in item list members view

The add/remove members modes should now work. Some more testing is probably need to check more combinations.

comment:5 by Nicklas Nordborg, 6 years ago

In 7619:

References #2150: Batch item importers in item list members view

The "Internal ID" method need to use a query for finding items otherwise it will not work as expected in "Item list" mode.

comment:6 by Nicklas Nordborg, 6 years ago

In 7620:

References #2149 and #2150. Updated documentation.

comment:7 by Nicklas Nordborg, 6 years ago

Resolution: fixed
Status: acceptedclosed

comment:8 by Nicklas Nordborg, 6 years ago

In 7679:

References #2150: Batch item importers in item list members view

Do not include "not specified" option if the list of values has a null value in it since that will cause mulitple "not specified" options to be included.

Note: See TracTickets for help on using tickets.