-
Bug
-
Resolution: Fixed
-
Critical
-
4.1.4, 4.2.0
-
None
-
4.2 M5
When calling RightManager#hasRight whith a string object "/${WorkspaceName}", and the calls comes from a Schedulable and not a pipeline, there is an infinite loop in WorkspaceRightContextConvertor in convert method.
Indeed,
String currentWorkspace = (String) request.getAttribute(WorkspaceMatcher.WORKSPACE_NAME);
(line 66) returns null, so resolvedContext remains "/${WorkspaceName}" instead of being replaced in line 67 and the call in line 71 in all convertors resuls to the same method being called with the same arguments over and over.