Open SalvatorePollaci opened 6 years ago
what is the exception message? i remember that there is a bug in jackrabbit where it mis interprets those as codes even when url encoded. i think you are seeing https://github.com/jackalope/jackalope/issues/313 - unfortunately that is a bug in the java jackrabbit server and they seem to not care to fix it.
the sulu cms did this: https://github.com/sulu/sulu-document-manager/pull/91
When querying for children of node with path which contains
-<num>e
, Query Builder throws InvalidQueryException.STEP 1: /vendor/jackalope/jackalope-jackrabbit/src/Jackalope/Transport/Jackrabbit/Client.php line 888 $querystring = $query->getStatement();
$querystring has value:
STEP 2: /vendor/jackalope/jackalope-jackrabbit/src/Jackalope/Transport/Jackrabbit/Request.php line 529 $response = $curl->exec();
$response has value:
As you can see above, it seems that someone is adding '(*)' to the JCR query.
This only happens if node's path contains
-<num>e
.Does anyone have any solutions?