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

Issues when a Grid col ID is the same as a Relationship field ID on the same publish page #146

litzinger opened this Issue Mar 5, 2019 · 0 comments


None yet
2 participants
Copy link

litzinger commented Mar 5, 2019

Description of the problem
This was originally reported as Bloqs issue, but since Bloqs masquerades as a Grid field, I suspected this was a Grid issue, and after testing, can confirm that it is. See this ticket for the backstory.

If a publish page has a Relationship field (lets say field_id_1) and a Grid field, and the Grid has 1 column in it that is also a Relationship field (col_id_1), then if an entry is assigned to the Relationship field inside of the Grid field it will save fine, but when the publish page re-loads, the assigned entries also appear in the other Relationship field (field_id_1) on the page that is not inside of Grid.

How To Reproduce

  • Create a Relationship field
  • Create a Grid field
  • Add a Relationship field as a Grid column
  • Manually update the database tables to make sure the col_id matches the standalone Relationship field id.
  • Save an entry, then wait for the publish page to reload. You should see the same related entries assigned in the Grid field show as selected in the standalone Relationship field.

Environment Details:

  • Version: 5.1.3
  • PHP Version: 7
  • MySQL Version: 5.7.25
  • OS: Ubuntu
  • Web Server: Apache

Additional context
Screenshots of the issue:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.