We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Recent change to Relationship fields?

Developer Preview

Brian Litzinger's avatar
Brian Litzinger
693 posts
6 years ago
Brian Litzinger's avatar Brian Litzinger

Originally posted in Slack.

EL staffers, has anything changed in the last couple versions with how Relationships are saved? E.g. the form array keys changed or something? Suddenly having an issue with Rel fields inside of Bloqs if a different Rel field is on the same page below the Bloqs field. What makes it more suspicious is when I remove the Rel field after the Bloqs field and save the Bloqs field, the Rel field inside saves fine, then when I add a Rel field back to the channel after the Bloqs field, it displays the content that was saved in the Rel field inside of Bloqs even though its a brand new field added to the channel. See: https://screenshots.firefox.com/HcBXXu7lNzvwvpRN/trial.capellahotels.com

The field name in Bloqs is field_id_1[blocks_block_id_26][values][col_id_4][data] and the field name for the standalone field is field_id_4[data] - I’m 99.9% certain this has been and should be working. I haven’t released an update for Bloqs in awhile.

The db table: https://screenshots.firefox.com/BcKfWo6u9oV1Njw3/trial.capellahotels.com

How/why would a standalone Relationship field be loading content with Grid specific data?

       
Kevin Cupp's avatar
Kevin Cupp
791 posts
6 years ago
Kevin Cupp's avatar Kevin Cupp

I imagine it might be similar to this:

https://expressionengine.com/support/bugs/23692/if-a-fluid-field-contains-a-grid-and-that-same-grid-field-is-publish-page-data-go-boom

Though I’m not sure the fix for that would affect this. Are you able to reproduce with a Fluid or Grid that contains a relationship, instead of Bloqs? I just did a quick test with a Fluid but it seems to be working.

       
Brian Litzinger's avatar
Brian Litzinger
693 posts
6 years ago
Brian Litzinger's avatar Brian Litzinger

I wasn’t able to replicate what the customer was seeing, so I’m guessing something is wonky with their environment. In another unrelated support ticket a customer of mine had disabled a few extension hooks which caused chaos, and it took 20+ messages back and forth to determine that was the case. I’m suspecting something like this is at play in this case.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.