Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orphan nodes in collections 774 #1705

Open
HirschSt opened this issue Jan 23, 2025 · 4 comments
Open

Orphan nodes in collections 774 #1705

HirschSt opened this issue Jan 23, 2025 · 4 comments
Assignees
Labels

Comments

@HirschSt
Copy link
Contributor

Probably due to the later fixed #1350 bug we have still some collections with "db entry not exists" stuff, e.g. https://muscat.rism.info/admin/sources/452007152/edit. Maybe these records were changed sometimes before the fix.

@xhero Can we use https://github.com/rism-digital/muscat/blob/develop/housekeeping/correct/15_find_orphan_774.rb, or is this a completely different story?

@HirschSt HirschSt changed the title Orphan nodes in collection 774 Orphan nodes in collections 774 Jan 23, 2025
@xhero
Copy link
Contributor

xhero commented Jan 23, 2025 via email

@HirschSt
Copy link
Contributor Author

Yes, only the 773 in the children were updated to point to another collection AFAIK.

@xhero
Copy link
Contributor

xhero commented Jan 23, 2025

I think I know what the problem is here: if you delete a 773 and save, it will update the parent and remove the 774, but if you just select another id in the 773, I fear it does not update the old parent. I will have a look.

@xhero xhero self-assigned this Jan 23, 2025
@xhero xhero added the Bug label Jan 23, 2025
@jenniferward
Copy link
Contributor

According to the health report, this is the only collection with this problem, and all other ones have been fixed. Herr Schmidt-Hensel deleted the links and unpublished the record on Tuesday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants