-
Bug
-
Resolution: Fixed
-
Major
-
1.12.0
-
None
-
4.8.1
-
Oui
The controller can initialize without setting the _rootPath attribute but this attribute is not protected against NPE after.
This can lead to the following error :
Message : An error occured with controller 'org.ametys.plugins.extraction.rights.ExtractionAuthorAccessController' for object org.apache.excalibur.source.impl.FileSource@12dbfe67. Thus, this controller will be ignored. Emplacement : org.ametys.core.right.RightManager._getAccessResults(RightManager.java:498) Pile d'appels : java.lang.NullPointerException: Cannot invoke "String.length()" because "prefix" is null at java.base/java.lang.String#startsWith:2259 at java.base/java.lang.String#startsWith:2302 at org.ametys.plugins.extraction.rights.ExtractionAuthorAccessController#isSupported:80
[EXTRACT-195] Initialization issue with author access controller
Resolution | New: Fixed [ 1 ] | |
Status | Original: Ready to merge [ 10208 ] | New: Resolved [ 5 ] |
Rank | New: Ranked higher |
Rank | New: Ranked higher |
Rank | New: Ranked higher |
Assignee | New: Guillaume Gouin [ ggouin ] |
Status | Original: Code review OK [ 10206 ] | New: Ready to merge [ 10208 ] |
Status | Original: Available for review [ 10005 ] | New: Code review OK [ 10206 ] |
Assignee | Original: Guillaume Gouin [ ggouin ] |
Status | Original: In Progress [ 3 ] | New: Available for review [ 10005 ] |
Revue fonctionnelle renseignée | New: Oui [ 10610 ] |