-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ISDESCENDANTNODE does not work with path containing a dot #305
Comments
yes, this indeed should work. it looks like we have some problem with
escaping here. can you find out what the sql query is that gets executed
for this?
|
Not sure what the best way to do this is... Tried to find it in the logs, the only thing that made sense was this one:
|
Not sure what the best way to do this is...
try to work with the phpcr-api-tests. there should be a test about
ISDESCENDANTNODE i would hope, that you could change to a path with dot,
and if we miss the whole test, you could add one.
|
btw, could this be related to phpcr/phpcr-utils#104 ? i never wrapped this up. there was some weird regression that i did not figure out. maybe check if that is the reason for this problem and if so, look into it. |
Seems like I have messed something up back then... I just realized that this is an error in Sulu. Should be fixed with sulu/sulu#3039, so this issue can be closed. |
I am afraid I was too fast, mixed that up with another issue we've had 🙈 |
is this because of phpcr/phpcr-utils#104 or something else? |
I don't know... Tried to test it, but when I check out the other branch and execute the query I get the following error:
Maybe because I am already using a newer version? |
odd. would you see where this exception is thrown? the utils branch is very old and probably won't work with current jackalope. i never got around to dig through the confusion there. if you have time to rebase the branch and figure out what is going wrong it would be great. |
Somebody has encountered an issue in combination with Sulu: sulu/sulu-standard#536 (comment)
I could track down the problem to the fact that this
ISDESCENDANTNODE
function does not work correctly, when the path contains a dot. So the following query returns nothing, although the node at the given path has child nodes:I guess this should be working, since the dot doesn't have any special meaning (at least none that I am aware of), and this query works like a charm when used with jackrabbit.
The text was updated successfully, but these errors were encountered: