o2r-project/o2r-loader

Use id from erc.yml if loading a compendium

nuest opened this issue · 1 comments

nuest commented

When loading a full compendium, the identifier from erc.yml must be used for the created compendium.

If a compendium with the id already exists, the load returns an error.

If an id contains illegal characters the load returns and error. Regex for validation: [a-z0-9][a-z0-9._-]+[a-z0-9]

Test cases loader

  • upload complete compendium
  • existing ID > error
  • illegal characters > error

Test cases muncher

  • create an issue on o2r-muncher to add a test that uploads a compendium with identifier and makes sure the tags on images and jobs etc. are ok... and fix the existing tests
nuest commented

Implemented already.