Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-3216

Complex properties can't be queried

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 5.2 M4
    • Fix Version/s: None
    • Component/s: Query & PageProvider

      Description

      Calling the method FileManagerService.findExistingDocumentWithFile cause the following exception :

      Caused by: javax.jcr.query.InvalidQueryException: Lexical error at line 1, column 53. Encountered: "d" (100), after : ":" for statement: for $v in //element(*,ecmdt:Document)[@file:content:digest = 'CJz5xUykO51gRRCIQadZ9dL20NPDd/O0yVBEgP13Skg='] return $v: Lexical error at line 1, column 53. Encountered: "d" (100), after : ":": Lexical error at line 1, column 53. Encountered: "d" (100), after : ":"

      It seems that this query SELECT * FROM Document WHERE file:content:digest = '%s' is no longuer allowed on the repository.

      And it provoke a crash in org.nuxeo.ecm.platform.filemanager.core.listener.AsynchronousUnicityCheckListener.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.