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: Unable to load Revision with Grid data

Status Resolved
Add-on / Version Publisher Lite 2.11.2
Severity
EE Version 5.1.1

Mighty Citizen

Aug 29, 2019

Steps to reproduce:
1. Add grid row content, save
2. Add more grid row content, save
3. Try to revert to the original revision, get the following error:

We were unable to update this entry, please review and fix errors below.

And below the grid field, we get this error:

You are not authorized to perform this action

Seems like it’s an issue with the revision using the [new_row_X] for its field names but really it should be the [row_id_X] to update the old row content

Here’s a specific revision url that you can try saving to see the error: [cp_url]?/cp/publish/edit/entry/5777&version=13887

#1

BoldMinded (Brian)

Aug 29, 2019

Thanks for reporting this. Due to the upcoming holiday weekend I probably won’t get a chance to take a look at it until late next week.

#2

BoldMinded (Brian)

Sep 04, 2019

Note to self. This is something to do with grid_query() hook getting called when attempting to re-save the entry, perhaps in the validation step, and Publisher is returning the _current_ rows, e.g. the last saved rows that contain an extra row that is not existent in the revision data.

#3

BoldMinded (Brian)

Sep 04, 2019

Comment has been marked private.

#4

BoldMinded (Brian)

Sep 11, 2019

Comment has been marked private.

Login to reply