[ http://jira.nuxeo.org/browse/NXP-2741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thierry Martins resolved NXP-2741. ---------------------------------- Resolution: Fixed Fix Version/s: 5.2 M3 Escapes parameters passed to query, above all group names. Projects using LDAP have may chances to encounter this problem.. > Dashboard query fails after logging > ----------------------------------- > > Key: NXP-2741 > URL: http://jira.nuxeo.org/browse/NXP-2741 > Project: Nuxeo Enterprise Platform > Issue Type: Bug > Components: Workflow > Affects Versions: 5.1.6 > Reporter: Thierry Martins > Assignee: Thierry Martins > Priority: Blocker > Fix For: 5.1.7, 5.2 M3 > > > If a user belongs to a group whose name contains an apostrophe " ' ", the > query used to get process instances fails because the syntax is not correct. > The apostrophe is not escaped. > Below is an example of a query that fails: > [select si.processInstance, si.value from > org.jbpm.context.exe.variableinstance.StringInstance si where si.name = > 'author' and si.value in ('Direction des systemes d'information','Etudes > DSI','members','administrators','foo') and si.processInstance.end is null ] -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.nuxeo.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ ECM-tickets mailing list ECM-tickets@lists.nuxeo.com http://lists.nuxeo.com/mailman/listinfo/ecm-tickets