When starting a projet with a rights.xml file declaring an already existing right, I have the following error :
Caused by: java.lang.IllegalArgumentException: Right with id 'Workflow_Rights_Edition_Online' is already declared : 'Declared by plugin 'cms''. This second declaration is ignored.
at org.ametys.core.right.RightsExtensionPoint.addRight(RightsExtensionPoint.java:154)
at org.ametys.core.right.RightManager.configureRights(RightManager.java:255)
at org.ametys.core.right.RightManager.configure(RightManager.java:205)
... 76 more
This error actually prevent the component from loading correctly and is not ignored as stated. We should at least not say that we will ignore it if we don't. But it would be better to actually ignore it I believe
Change the message to stop saying it will be ignored
Raphaël Franchet
added a comment - - edited Change the message to stop saying it will be ignored
Bérénice Maurel
Guillaume Gouin
Votes:
0Vote for this issue
Watchers:
3Start watching this issue
Created:
Updated:
Resolved:
{"errorMessages":["jqlTooComplex"],"errors":{}}
[{"id":-1,"name":"My open issues","jql":"assignee = currentUser() AND resolution = Unresolved order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-2,"name":"Reported by me","jql":"reporter = currentUser() order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-4,"name":"All issues","jql":"order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-5,"name":"Open issues","jql":"resolution = Unresolved order by priority DESC,updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-9,"name":"Done issues","jql":"statusCategory = Done order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-3,"name":"Viewed recently","jql":"issuekey in issueHistory() order by lastViewed DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-6,"name":"Created recently","jql":"created >= -1w order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-7,"name":"Resolved recently","jql":"resolutiondate >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-8,"name":"Updated recently","jql":"updated >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false}]
Change the message to stop saying it will be ignored