Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Multiple relationship field in Grid looses concurrency

Status Resolved
Add-on / Version Publisher 1.6.2
Severity
EE Version 2.9.2

Trond Sørås

Apr 22, 2015

Description:

I have a Grid field, which has a relationship field with multiple relations possible on. At first save, the related entries are copied. If you then change something in the second language, the relationships will not show in the CP, but they will be correct on the frontend. Then, if you change the relationships in the main language, these changes are not applied to the translation

Detailed steps to reproduce the issue:
1. Two languages.
2. Grid field with one plain text field and one multiple relationship field (native to EE)
3. Add rows to the main language, with relationships, then publish.
4. All looks good now, but the second language entry is not translated.
5. Add translations to the second language’s plain text field in the Grid. Publish
6. Reopen the entry - now the relationships are not displayed in the CP
7. Change or add the relationship on the main language and publish - these changes are not applied to the translated entry.

#1

BoldMinded (Brian)

Do you have the persistent matrix/grid setting turned on?

#2

Trond Sørås

Yes. All three settings under persistence is set to “Yes”

#3

BoldMinded (Brian)

Comment has been marked private.

#4

Trond Sørås

Comment has been marked private.

#5

BoldMinded (Brian)

Yes, its not too bad working with 1 field type, but when a field type can contain other field types, then it gets complicated.

#6

Trond Sørås

Tried your build, did not solve the issue, but the issue changed slightly: now, when you make a translation in the grid plain text field, all relationships dissappear from both the CP and the frontend.

#7

BoldMinded (Brian)

Can you take a video screen capture of the entire process of replicating the bug?

#8

Trond Sørås

Comment has been marked private.

#9

BoldMinded (Brian)

Comment has been marked private.

#10

Trond Sørås

Comment has been marked private.

#11

BoldMinded (Brian)

No need. I can replicate it locally. I’ll look into it more in the next 2-3 days.

#12

Trond Sørås

Cool, thank you.

#13

BoldMinded (Brian)

Comment has been marked private.

#14

Trond Sørås

Comment has been marked private.

#15

BoldMinded (Brian)

One thing to note, and its not something I know how to fix right now, is that if you had persistence turned off, and saved a Grid field with a Relationship field in one of the columns in a translated language (lets say 3 relationships), then turn persistence on, the translated language will still show those 3 relationships, even if the default language has 1 relationship. Where as normally the translated language should show the 1 relationship just like the default. So, its a slight edge case considering persistence is turned on by default, but something to note.

If you are still having issues make sure you are testing on a new entry with new Grid rows and Relationships, not just reloading existing entries.

#16

BoldMinded (Brian)

Comment has been marked private.

#17

BoldMinded (Brian)

Comment has been marked private.

Login to reply