feature request #4101
closedDefault value for publish bit of new taxa must be configurable via DB preferences
0%
Description
in the Euro+Med project it is important that the publish bit is not set by default for new taxa. In other use cases setting the publish bit by default will be a requirement though. So we need a mechnism to configure this. Only user with the ROLE_PROJECT_MANAGER must be allowed to change the default behaviour of regarding the publish flag. So it is not a valid solution to implement this into a client like the tax editor, this must be a library functionality
We probably need 3 states. True, false and inherit from parent. Inherit from parent was mentioned in duplicating ticket #4133.
related to #1780 (Publish bit instead of marker)
Related issues
Updated by Andreas Müller almost 10 years ago
- Subject changed from publish bit must not set by default for new taxa to [DISCUSS] publish bit must not set by default for new taxa
I think we first need to discuss what the best behaviour is. This is also related to the Versionining or Non-Versioning strategy in E+M.
We could also have a strategy where the publish flag is inherited from the parent.
Updated by Andreas Kohlbecker over 9 years ago
- Keywords set to Euro+Med,Migration
Updated by Andreas Müller over 8 years ago
- Target version changed from Euro+Med Migration to Euro+Med Portal Release
Updated by Andreas Müller over 7 years ago
- Target version changed from Euro+Med Portal Release to Euro+Med Migration
- Priority changed from New to Highest
Updated by Andreas Müller over 7 years ago
- Subject changed from [DISCUSS] publish bit must not set by default for new taxa to [DISCUSS] publish bit must not be set by default for new taxa
Updated by Andreas Kohlbecker over 6 years ago
- Related to feature request #3709: [E+M][Editor] sufficient rights management for E+M workflow added
Updated by Andreas Müller about 6 years ago
- Subject changed from [DISCUSS] publish bit must not be set by default for new taxa to Default value for publish bit of new taxa must be configurable via DB preferences
- Description updated (diff)
- Assignee changed from Andreas Müller to Katja Luther
- Target version changed from Euro+Med Migration to Release 4.10
Updated by Andreas Müller about 6 years ago
- Has duplicate feature request #4133: publish flag inheritance for new taxa [DISCUSS] added
Updated by Andreas Müller about 6 years ago
- Target version changed from Release 4.10 to Release 4.11
Updated by Andreas Müller about 6 years ago
- Target version changed from Release 4.11 to Release 4.12
Updated by Andreas Müller about 6 years ago
- Target version changed from Release 4.12 to Release 4.13
Updated by Andreas Müller almost 6 years ago
- Target version changed from Release 4.13 to Release 4.14
Updated by Andreas Müller almost 6 years ago
- Target version changed from Release 4.14 to Release 5.0
Updated by Andreas Müller over 5 years ago
- Target version changed from Release 5.0 to Release 5.1
Updated by Andreas Müller over 5 years ago
- Status changed from New to In Progress
Updated by Katja Luther over 5 years ago
- Status changed from In Progress to Resolved
this should be fixed now. please review.
Updated by Katja Luther over 5 years ago
- Assignee changed from Katja Luther to Andreas Müller
Updated by Andreas Müller over 5 years ago
- Status changed from Resolved to Feedback
- Assignee changed from Andreas Müller to Katja Luther
When trying to save I got:
login : admin editor version : 5.1.0.201806191452 server : test.e-taxonomy.eu (edit-test) / rem_conf_am schema version : 5.0.0.0.20180514 os : Windows Server 2012 R2 6.3 amd64 java : 1.8.0_121 java.lang.NullPointerException at eu.etaxonomy.cdm.io.specimen.abcd206.in.Abcd206ImportConfigurator.toString(Abcd206ImportConfigurator.java:235) at eu.etaxonomy.taxeditor.databaseAdmin.preferencePage.AbcdImportPreference.performOk(AbcdImportPreference.java:237) at org.eclipse.jface.preference.PreferenceDialog$8.run(PreferenceDialog.java:905) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173) at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:889) at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:230) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618) ...
Updated by Andreas Müller over 5 years ago
When I set to "Don't set publish flag" the new child taxon still has publish flag = true. Also inheriting from parent still does not work.
Updated by Andreas Müller over 5 years ago
We may also want to show the new publish flag value in the "new taxon" dialog. But this might be another ticket.
Updated by Katja Luther over 5 years ago
- Status changed from Feedback to Resolved
- % Done changed from 0 to 50
Applied in changeset taxeditor|8360c0ff2bbc09ed93a487bd5e7451f197785edf.
Updated by Katja Luther over 5 years ago
- Status changed from Resolved to Feedback
- % Done changed from 50 to 0
Andreas Müller wrote:
When trying to save I got:
login : admin editor version : 5.1.0.201806191452 server : test.e-taxonomy.eu (edit-test) / rem_conf_am schema version : 5.0.0.0.20180514 os : Windows Server 2012 R2 6.3 amd64 java : 1.8.0_121 java.lang.NullPointerException at eu.etaxonomy.cdm.io.specimen.abcd206.in.Abcd206ImportConfigurator.toString(Abcd206ImportConfigurator.java:235) at eu.etaxonomy.taxeditor.databaseAdmin.preferencePage.AbcdImportPreference.performOk(AbcdImportPreference.java:237) at org.eclipse.jface.preference.PreferenceDialog$8.run(PreferenceDialog.java:905) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) ...
this was not related to this issue, but the NPE in Abcd206ImportConfigurator is fixed now.
Updated by Katja Luther over 5 years ago
- Status changed from Feedback to Resolved
- Assignee changed from Katja Luther to Andreas Müller
Updated by Andreas Müller over 5 years ago
- Status changed from Resolved to Feedback
- Assignee changed from Andreas Müller to Katja Luther
The preference is not stored in the DB. After reopening the preference view the publish flag option is still not set.
Updated by Andreas Müller over 5 years ago
Andreas Müller wrote:
We may also want to show the new publish flag value in the "new taxon" dialog. But this might be another ticket.
Please implement or create new ticket.
Updated by Katja Luther over 5 years ago
- Status changed from Feedback to Resolved
- Assignee changed from Katja Luther to Andreas Müller
Updated by Katja Luther over 5 years ago
- Status changed from Resolved to Feedback
- Assignee changed from Andreas Müller to Katja Luther
Andreas Müller wrote:
The preference is not stored in the DB. After reopening the preference view the publish flag option is still not set.
this was a problem of the wizard and is fixed.
Andreas Müller wrote:
Andreas Müller wrote:
We may also want to show the new publish flag value in the "new taxon" dialog. But this might be another ticket.
Please implement or create new ticket.
is implemented.
Updated by Katja Luther over 5 years ago
- Status changed from Feedback to Resolved
- Assignee changed from Katja Luther to Andreas Müller
Updated by Andreas Müller over 5 years ago
- Status changed from Resolved to Closed
- Assignee changed from Andreas Müller to Katja Luther
Seems to work now.