-
Type: Improvement
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: QualifiedToSchedule
-
Component/s: Vocabularies
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.