ec-jrc / re3gistry

Re3gistry is a reusable open source solution for managing and sharing ‘reference codes’, ensuring semantic interoperability across organisations.
European Union Public License 1.2
29 stars 21 forks source link

If a codelist is "retired", its codelist values should be retired accordingly. #55

Closed fabiovinci closed 2 years ago

fabiovinci commented 3 years ago

I created a codelist and I defined some codelist values, then I "retired" it but all the codelist values still show the status "Valid".

I used version 2.2 on Ubuntu 20.4 server.

The expected behaviour should be that if the user "retires" a codelist all the related codelist values should be automatically retired.

Is that correct?

image

AntoRot commented 3 years ago

Similar to that, I encountered this situation: an item is set in the status "retired" in the management tool, i.e.

status-retired-mngt

but the status shown for that item in the registry web interface is "valid", i.e.

status-retired-UI

emanuelaepure10 commented 3 years ago

@AntoRot We have solved this issue with the latest update.

We have added in our feature plans the issue that @fabiovinci encountered to retire all the children once the parent is retired.

Thank you both Emanuela

emanuelaepure10 commented 2 years ago

Corrected with the commit https://github.com/ec-jrc/re3gistry/commit/29dc22490d75e33d1bb44a65995e4f149af5dcbf