gbv / bartoc.org

Source code of BARTOC.org user interface
https://bartoc.org/
23 stars 10 forks source link

Delete specific BARTOC entry #166

Closed DavidBRohrer closed 1 week ago

DavidBRohrer commented 2 years ago

With the following search (https://bartoc.org/vocabularies?search=vorpommern) two entries of the same vocabulary are found. https://bartoc.org/en/node/1986 is the correct one and should be left. https://bartoc.org/en/node/20398 is one entry too much and should be deleted.

Problem: at the moment, when deleting an entry, adding new entries works no more. This should be fixed before.

Further entries to delete;

nichtich commented 2 years ago

Deleting vocabularies breaks creation of new vocabularies. Requires https://github.com/gbv/jskos-server/issues/161.

DavidBRohrer commented 2 years ago

see also #155

stefandesu commented 2 weeks ago

I adjusted the code for minting a new URI with the new feature in https://github.com/gbv/jskos-server/issues/161. Deleting entries should now be possible without causing issues.

Note that when deleting the very latest record (i.e. currently highest ID), its URI will be reused for the next created record. Is that an issue @nichtich? If yes, we would need to save a counter somewhere...

nichtich commented 1 week ago

Reuse of last record is fine.

stefandesu commented 1 week ago

Further entries to delete;

* [bartoc.org/en/node/18706](https://bartoc.org/en/node/18706) ([bartoc.org/en/node/20303](https://bartoc.org/en/node/20303) is the right one)

* [bartoc.org/en/node/20329](https://bartoc.org/en/node/20329) ([bartoc.org/en/node/20000](https://bartoc.org/en/node/20000) is the right one)

I just looked at these entries and they haven't been unified yet. Furthermore, I am personally not confident that these are really duplicates, especially in the second case. @nichtich Can you take a look?

bartoc.org/en/node/20398 is one entry too much and should be deleted.

I have deleted http://bartoc.org/en/node/20398.

nichtich commented 1 week ago
stefandesu commented 1 week ago

Done.