Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-7689

The # character could not be used for metadata name

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0M11
    • None
    • None
    • None

      It is not possible to do JCR query

      Caused by: javax.jcr.query.InvalidQueryException: Lexical error at line 1, column 222.  Encountered: "#" (35), after : "" for statement: for $v in //element(*, ametys:content)[(@ametys-internal:contentType = 'org.ametys.plugins.odf.Content.orgunit' and (@ametys:childOrgUnits = 'orgunitContent://f5ba6e8c-bc4c-457f-9dde-1be8d664af87' or @ametys:childOrgUnits#alt = 'orgunitContent://f5ba6e8c-bc4c-457f-9dde-1be8d664af87'))] return $v
      

            laurence Laurence Aumeunier
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: