Identifying missing/deleted entries #10927
stephenmeehanuk
started this conversation in
General
Replies: 2 comments 1 reply
-
The reason is that your entries field only stores the ID of the related entry, not the entire content, so when you delete the entry it no longer has access to the title of it is so shows the ID. |
Beta Was this translation helpful? Give feedback.
1 reply
-
When you delete an entry, it won't remove the ID from any relationship fields. When Statamic encounters a now-invalid ID in a relationship field, it will simply ignore it. If we were to "fix" this, the fix would be that the IDs get removed. I don't see any situation where we'd keep just a title. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using the entires fieldtype, to display links to related entries, but over time entries must have been deleted or moved. The result is I can see missing linked entries in the fieldtype, but I've no way of knowing what the entry was?
I can see the missing ID, highlighted in red, but when I search for the ID it doesn't exist.
Statamic retains the missing ID, but could it also retain (and display) the title?
It'd be useful to know what the missing entry is
Beta Was this translation helpful? Give feedback.
All reactions