You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2009/04/08 15:31:15 UTC
[jira] Closed: (SLING-918) Upgrade pax-web-service to more recent
version
[ https://issues.apache.org/jira/browse/SLING-918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand Delacretaz closed SLING-918.
-------------------------------------
Resolution: Fixed
Upgraded pax-web-service to 0.5.1 in revision 763238, for the launchpad/app and contrib/launchpad/jcrapp modules.
All launchpad/testing tests pass when run against the launchpad/app instance that uses 0.5.1.
Meant to upgrade to 0.5.2, but the JsonQueryServletTest fails with that version.
The testSql fails with "javax.jcr.query.InvalidQueryException: Encountered "+" at line 1, column 30", it seems like the request parameters are interpreted differently.
This request
curl -D - "http://localhost:8080/.query.json?statement=select+*+from+nt%3Aunstructured+where+jcr%3Apath+like+%27%2FJsonQueryServletTest_1239193352486%2FfolderB%2F%25%27&queryType=sql"
should cause JsonQueryServlet to receive this statement
select * from nt:unstructured where jcr:path like '/JsonQueryServletTest_1239193352486/folderB/%'
but the servlet receives this, where some + signs are not translated.
select * from nt:unstructured+where+jcr:path+like+'/JsonQueryServletTest_1239193352486/folderB/%'
I have not investigated why that happens.
Closing this issue for now, assuming pax-web-service 0.5.1 is good enough for our needs.
> Upgrade pax-web-service to more recent version
> ----------------------------------------------
>
> Key: SLING-918
> URL: https://issues.apache.org/jira/browse/SLING-918
> Project: Sling
> Issue Type: Bug
> Reporter: Bertrand Delacretaz
> Assignee: Bertrand Delacretaz
>
> The launchpad/app and contrib/launchpad/jcrapp modules still use the old pax-web-service 0.2.3 - upgrade to a more recent version
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.