Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-4876

Document type editor chokes on dots

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      I created a project using the archetype using the convention used by a.o. Apache Felix where artifactId is groupId + .module For instance artifactId org.foo.myproject. This meant that the project name in the document type editor was org.foo.myproject. Using the document type editior to create a new document type I received the following exception when hitting convert files:

      12.01.2011 21:05:57 ERROR [org.hippoecm.frontend.editor.workflow.RemodelWorkflowPlugin$1.execute():97] Failed updateModel workflow
      javax.jcr.query.InvalidQueryException: Encountered "." at line 1, column 18.
      Was expecting one of:
      <EOF>
      "ORDER" ...
      "WHERE" ...
      "(" ...
      "," ...

      <snip/>

      12.01.2011 21:05:57 ERROR [org.hippoecm.frontend.editor.workflow.dialog.RemodelWizard$Step2$1.getLazyLoadComponent():88] Error during workflow execution
      org.hippoecm.repository.api.WorkflowException: javax.jcr.query.InvalidQueryException: Encountered "." at line 1, column 18.
      Was expecting one of:
      <EOF>
      "ORDER" ...
      "WHERE" ...
      "(" ...
      "," ...

      <snip/>

      My guess is this is due to the dot in the project name.

      Attachments

        Activity

          People

            Unassigned Unassigned
            uhommes Unico Hommes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: