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: Grid Persistence Question

Status Resolved
Add-on / Version Publisher 2.7.6
Severity
EE Version 3.5.15

Mighty Citizen

Apr 12, 2018

Description: Does having persistence enabled for grid fields mean that if the row is removed on the default language side, it should also be removed on all other languages? If so, it doesn’t seem to be working like that for me.

Detailed steps to reproduce the issue:
1. Create a row on the English entry
2. Create the entry in another language
3. Remove the row from the English entry

#1

BoldMinded (Brian)

That sounds right, but it still saves the grid row assignments to the non-default languages, so the db records are there, but perhaps its still pulling those instead of the default ones. I’ll try to replicate locally. It may be several days before I can fix it though.

#2

Mighty Citizen

No problem - thanks for taking a look!

#3

BoldMinded (Brian)

Is this happening on the front-end or in the CP, or both?

#4

Mighty Citizen

Happening on both

#5

BoldMinded (Brian)

I was able to replicate it and I think its an easy fix. New build in the next comment.

#6

BoldMinded (Brian)

Comment has been marked private.

#7

Mighty Citizen

Hey Brian,

That seems to be working really well - the only thing that I noticed was that if I don’t have any rows created on the default language, I still see the “Add New Row” on the non-default language even though theoretically, they shouldn’t be able to add a row on non-default languages. Probably a rare case, but wanted to mention it.

Thanks as always for your help!

#8

BoldMinded (Brian)

Good to hear! That build also fixed another bug I found while investigating this issue with Publisher and EE4 where the Grid delete and add row buttons were still shown, but they should have been hidden, so its correct that you’re not seeing them when the persistence is turned on… its what helps keep the 1 to 1 relationship of default to non-default languages.

Login to reply