-
Type: Bug
-
Status: Resolved
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.8.0-HF38, 6.0-HF24, 7.10-HF01, 8.1
-
Component/s: Core VCS
When calling NX_ACCESS_ALLOWED on a document that has no parentid but has a versionableid (a version having a proxy on it but whose base document has been deleted), an infinite loop is triggered.
In NX_ACCESS_ALLOWED in the while loop's first iteration, newid and curid are set to versionableid; then on the next iteration no line is found corresponding to this versionableid: SELECT parentid INTO newid FROM hierarchy WHERE hierarchy.id = curid returns and does nothing. newid and curid remains the same, resulting in a infinite loop.