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: Saving content in text field overwrites same field in other languages

Status Resolved
Add-on / Version Publisher 2.9.0
Severity
EE Version 4.3.4

Martyn Tan

Sep 05, 2018

Hi,

There is a weird problem of saving content for certain text/textarea input fields. It saves the content but overwrites the same field in other languages. Other text/textarea input fields within the same entry doesn’t have this problem. The issue persist across entries within same channel and also other channels that uses the same field.

The 2 fields affected are:

seo_title
seo_description

I’ve included a video highlighting the problem in the site url link below.

 

 

#1

BoldMinded (Brian)

Do you have those two fields set to ignored in Publisher’s settings by chance? I can’t think of a technical reason why these two fields would not be saving correctly, but others would be, and I’m unable to replicate this locally. Those fields are just text fields, so if this was a code bug every text field would exhibit the same behavior.

#2

Martyn Tan

Yep, which is why it baffles me too. The ignore settings isn’t turned on, shown in the image below. Is there a way to check in the database if they are ignored?

The only difference I see that they are ‘different’ from the other text input fields is that they are added into the channel via a field group rather than individual fields, will this be a problem?

https://drive.google.com/open?id=17GCJ91vFnnTVvyNDzJ1PxhdKvImrc9fY

#3

BoldMinded (Brian)

Publisher doesn’t care if they are in a group or on their own. Can you add CP login so I can take a look at it? I may need admin access so I can access the database query tool in the CP

#4

Martyn Tan

Sorry for the delay. I’ve created an admin account over on our development server. Please help to take check what is wrong thanks.

#5

BoldMinded (Brian)

Have you tried to replicate this yourself in a new EE environment yet? What steps have you taken to debug the issue yourself?

#6

BoldMinded (Brian)

Martyn, please include steps to replicate the issue. I login to your CP and I hav no idea where to go. You have 20+ channels… which one is this issue occurring in?

#7

BoldMinded (Brian)

I figured it out after digging around. I’ve been working with entry #358. There are columns missing in the exp_publisher_data table, so its never saving the translations correctly for the fields. This was a bug a few versions ago. To fix the issue, just edit and re-save each custom field. It will trigger a hook call to add the columns to the publisher_data table.

#8

Martyn Tan

Comment has been marked private.

Login to reply