clarin-eric / component-registry-rest

Component Registry back end
GNU General Public License v3.0
2 stars 1 forks source link

When registering a new component/profile, remove successor information #29

Closed twagoo closed 7 years ago

twagoo commented 7 years ago

You can do an 'edit as new' on deprecated items. When saving, the successor information should be removed.

twagoo commented 7 years ago

Thinking this through once more, it is the front end that is responsible for stripping the successor out (as it should also set the 'derived from'). Maybe a new component with a successor should be rejected by the back end.