10-20-2017 06:22 AM
Hi guys,
I've spotted a curious behavior of the NOT criteria in NXQL:
Here is a query that doesn't work:
SELECT * FROM Workspace WHERE NOT ecm:path STARTSWITH '/default-domain/UserWorkspaces'
It gives shared workspaces that have "/default-domain/workspaces" path too. Replacing in the NXQL "UserWorkspaces" with "workspaces" works fine. Strange, not?
It seems to be a regression comparing to LTS 2015.
10-20-2017 06:29 AM
The query asks for all workspaces that are not under /default-domain/UserWorkspaces, so why do you say it's wrong to return /default-domain/workspaces/foobar? Such workspaces are not under /default-domain/UserWorkspaces so they match your query.
10-20-2017 08:43 AM
I can't reproduce your issue.