-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Starting from #386 , importing an invalid maintenance will cause a validation error due to invalid item in a maintenance.contacts or in maintenance.contractors.
At present, the editor can import a publiccode.yml with both maintenance.contacts and maintenance.contractors lists populated, regardless of the value of maintenance.type. The user will only be shown the list with the value of maintenance.type, but will not be able to operate on the values that cause validation to fail.
Step to reproduce
- Run the editor
- Click on Load button, then click on File
- Click on Browse and import a file. Use the one attached below
publiccode-opencultura-de.yml.zip
- Click on import
Actual Behaviour
Validation will fail because of a wrong maintenance payload. The user can't fix this problem without workaround.
Actual Behaviour
The editor should have a way to fix this problem.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working