Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#1069 closed enhancement (fixed)

New mode for Import reporters to reporterlist - Add existing without risk of updating or creating

Reported by: Johan Vallon-Christersson Owned by: Nicklas Nordborg
Priority: minor Milestone: BASE 2.8
Component: coreplugins Version:
Keywords: Cc:

Description

When importing reporters to a reporterlist from file (using Reporter importer plugin) a new mode would be useful. Existing modes are Create, Update, Delete. A user-case involve adding reporters from file without the intent or wish to either create, update, nor delete. A user may want to simply add existing reporters to the reporterlist. This new mode is useful for regular users (without privileges to create or edit existing reporters) and for admin users that want to verify the existence of reporters in a file.

Change History (4)

comment:1 Changed 13 years ago by Nicklas Nordborg

Milestone: BASE 2.8
Owner: changed from everyone to Nicklas Nordborg
Priority: majorminor
Status: newassigned

comment:2 Changed 13 years ago by Nicklas Nordborg

I have been working in this and the code becomes a bit messy. To make things simpler I think that when the importer is used in a reporter list context, it should only add/remove to/from the list. It should not create new reporters or update existing reporters. This will make the code clearer and I think also make it easier for user to use the plug-in.

comment:3 Changed 13 years ago by Nicklas Nordborg

Resolution: fixed
Status: assignedclosed

(In [4382]) Fixes #1069: New mode for Import reporters to reporterlist - Add existing without risk of updating or creating

comment:4 Changed 13 years ago by Nicklas Nordborg

(In [4447]) References #1069: New mode for Import reporters to reporterlist - Add existing without risk of updating or creating

Default mode must be "update" to keep backwards compatibility.

Note: See TracTickets for help on using tickets.