UKGovLD / registry-core

Linked data registry - core application and example UI
https://github.com/UKGovLD/registry-core/wiki
Apache License 2.0
23 stars 9 forks source link

Change in visibility of retired/superceded/deprecated register entries #104

Open skwlilac opened 5 years ago

skwlilac commented 5 years ago

In preparing to update some register entries, some of which are/will be retired we have discovered that commit:cd3503d078db6e68ed9c6eb97933eeb9742a3a5b as introduced a change in the visibility of depreciated register entries for normal users (ie. users that are not logged in).

With earlier versions, while the deprecated entries are withheld from lists of register content (by default) direct access to the individual entries return the entry showing its status. Subsequent to this commit the accessing depreciated entries incorrectly return's a 404's response (when the user is not logged in).

der commented 5 years ago

Looks like an unintended consequence of hiding submitted items. That change meant that only items visible in the register list view should respond as single items. Whereas retired/superseded should count as Accepted and remain visible as items even though not in the default register view.

Will fix.