Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-3993

Studio should not accept vocabs which have conflicting or similar names

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Vocabularies

      Description

      In Studio if I create two Vocabularies asset_type and asset-type and use PostgreSQL the table creation for asset_type will fail:

      2017-05-05 21:52:37,966 ERROR [localhost-startStop-1] [org.nuxeo.runtime.model.impl.RegistrationInfoImpl] Component service:org.nuxeo.ecm.directory.DirectoryServiceImpl notification
       of application started failed: Table 'Table(studio_vocabulary_asset_type)' creation failed: ERROR: table "studio_vocabulary_asset_type" does not exist
      

      The table for asset-type gets created with no error:

       public | studio_vocabulary_asset-type             | table    | nuxeo
      

      I think either Studio should disallow creation of vocabs which have the same [a-zA-Z] pattern but different punctuation. Or VCS should do something to change the punctuation.

      Please do not lose sight of the fact that this is reproducible on Postgres - it is not a problem on h2.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hbrown Harlan Brown
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: