You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've had an issue with a client that accidentally self-referenced an entry.
We have the menu on this site set up so that if an entry had a specific entry type, we would get the url of the linkfield within that entry, eliminating a redirection (and enabling some other cool things).
Since the client chose the same entry the field was being saved in, the website became non-functioning.
Maybe I should check for a recursion, but I thought it might be a good idea to prevent the user from making that mistake in the first place 🙂
Would it be possible to add a field setting which disallows self-referencing?
I'm running CraftCMS 4.2.8 and linkfield 2.1.4.
The text was updated successfully, but these errors were encountered:
Hi,
I've had an issue with a client that accidentally self-referenced an entry.
We have the menu on this site set up so that if an entry had a specific entry type, we would get the url of the linkfield within that entry, eliminating a redirection (and enabling some other cool things).
Since the client chose the same entry the field was being saved in, the website became non-functioning.
Maybe I should check for a recursion, but I thought it might be a good idea to prevent the user from making that mistake in the first place 🙂
Would it be possible to add a field setting which disallows self-referencing?
I'm running CraftCMS 4.2.8 and linkfield 2.1.4.
The text was updated successfully, but these errors were encountered: