[
https://jira.nuxeo.org/browse/NXP-5913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=84127#action_84127
]
Florent Guillaume commented on NXP-5913:
----------------------------------------
Just replacing this with:
buf.append(hierTable.getColumn(model.MAIN_KEY).getFullQuotedName());
visitOperator(node);
buf.append('?');
whereParams.add(id);
should be enough.
And add a unit test in QueryTestCase.testEcmPathEqual.
> ecm:path <> "...." interpreted ecm:path = "..."
> -----------------------------------------------
>
> Key: NXP-5913
> URL: https://jira.nuxeo.org/browse/NXP-5913
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Components: Core SQL Storage
> Reporter: Benjamin Jalon
> Priority: Critical
> Fix For: 5.4
>
>
> If you are doing something like
> SELECT * FROM Document WHERE ecm:path <> "..."
> is interpreted
> SELECT * FROM Document WHERE ecm:path = "..."
> In NXQLQueryMaker.java
> Ligne : 1482
> } else {
>
> buf.append(hierTable.getColumn(model.MAIN_KEY).getFullQuotedName()
> + " = ?");
> whereParams.add(id);
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets