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: Live Preview content mismatch

Status Resolved
Add-on / Version Publisher Lite 2.7.9
Severity
EE Version 4.1.3

Fabcom

Apr 03, 2018

Posting new ticket as requested.

So the site is now at EEv4 and seems stable. However in pre-launch testing we found that when clicking the blue “Preview” button on any entry, the wrong content appears in the wysiwyg preview pane. The content seems to always default to the content of the first entry in a given channel.

We assumed the issue was on the EllisLab end, however when they took a look, they disabled Publisher and got the following error:

Fatal error: Call to a member function getId() on null in /var/www/html/atsu/system/user/addons/publisher/Service/Entry/Entry.php on line 133

As such they said they have a consensus that it is an issue on the Publisher end and asked us to contact you.

Any ideas?

#1

BoldMinded (Brian)

I’ll be honest, I didn’t test the new native Preview feature with Publisher b/c Publisher has its own previewing. It may be a few days before I can take a look at this.

#2

BoldMinded (Brian)

After looking at this a bit I’m not going to be able to support the native Preview feature right now. It’s going to take some time to figure it out. Sorry.

#3

Fabcom

Comment has been marked private.

#4

BoldMinded (Brian)

That I can’t explain. I do know that it is working for me elsewhere. Have you taken a look at your JS console to see if there are any errors? The previews were temporarily broken in 2.7.8, but 2.7.9 should have fixed it.

#5

BoldMinded (Brian)

Have you tried setting up a new EE install with just Publisher installed to replicate it? I’d like to isolate it to a widespread Publisher problem, or if it is a problem with your environment.

#6

Fabcom

Here’s the JS Console when I click “Save and Preview” on an entry that previewed perfectly fine in EE3.

admin.php?/cp/publish/edit/entry/240&S=e2bc906e75a619ead9fc8bee4195b457:1 [DOM] Found 18 elements with non-unique id #col_id_59: (More info: https://goo.gl/9p2vKq) <textarea name=​”field_id_356[rows]​[new_row_0]​[col_id_59]​” cols=​”90” rows=​”10” id=​”col_id_59” dir=​”ltr” class=​”has-rte WysiHat-field” disabled=​”disabled”>​</textarea>​ <textarea name=​”field_id_356[rows]​[row_id_20322]​[col_id_59]​” cols=​”90” rows=​”10” id=​”col_id_59” dir=​”ltr” class=​”has-rte WysiHat-field”>​…​</textarea>​ <textarea name=​”field_id_356[rows]​[row_id_20323]​[col_id_59]​” cols=​”90” rows=​”10” id=​”col_id_59” dir=​”ltr” class=​”has-rte WysiHat-field”>​…​</textarea>​ <textarea name=​”field_id_356[rows]​[row_id_20324]​[col_id_59]​” cols=​”90” rows=​”10” id=​”col_id_59” dir=​”ltr” class=​”has-rte WysiHat-field”>​…​</textarea>​ <textarea name=​”field_id_356[rows]​[row_id_20325]​[col_id_59]​” cols=​”90” rows=​”10” id=​”col_id_59” dir=​”ltr” class=​”has-rte WysiHat-field”>​…​</textarea>​ <textarea name=​”field_id_356[rows]​[row_id_20326]​[col_id_59]​” cols=​”90” rows=​”10” id=​”col_id_59” dir=​”ltr” class=​”has-rte WysiHat-field”>​…​</textarea>​ <textarea name=​”field_id_356[rows]​[row_id_20327]​[col_id_59]​” cols=​”90” rows=​”10” id=​”col_id_59” dir=​”ltr” class=​”has-rte WysiHat-field”>​…​</textarea>​ <textarea name=​”field_id_356[rows]​[row_id_20328]​[col_id_59]​” cols=​”90” rows=​”10” id=​”col_id_59” dir=​”ltr” class=​”has-rte WysiHat-field”>​…​</textarea>​ <textarea name=​”field_id_356[rows]​[row_id_20329]​[col_id_59]​” cols=​”90” rows=​”10” id=​”col_id_59” dir=​”ltr” class=​”has-rte WysiHat-field”>​…​</textarea>​ <textarea name=​”field_id_356[rows]​[row_id_20330]​[col_id_59]​” cols=​”90” rows=​”10” id=​”col_id_59” dir=​”ltr” class=​”has-rte WysiHat-field”>​…​</textarea>​ <textarea name=​”field_id_356[rows]​[row_id_20331]​[col_id_59]​” cols=​”90” rows=​”10” id=​”col_id_59” dir=​”ltr” class=​”has-rte WysiHat-field”>​…​</textarea>​ <textarea name=​”field_id_356[rows]​[row_id_20332]​[col_id_59]​” cols=​”90” rows=​”10” id=​”col_id_59” dir=​”ltr” class=​”has-rte WysiHat-field”>​…​</textarea>​ <textarea name=​”field_id_356[rows]​[row_id_20333]​[col_id_59]​” cols=​”90” rows=​”10” id=​”col_id_59” dir=​”ltr” class=​”has-rte WysiHat-field”>​…​</textarea>​ <textarea name=​”field_id_356[rows]​[row_id_20334]​[col_id_59]​” cols=​”90” rows=​”10” id=​”col_id_59” dir=​”ltr” class=​”has-rte WysiHat-field”>​…​</textarea>​ <textarea name=​”field_id_356[rows]​[row_id_20335]​[col_id_59]​” cols=​”90” rows=​”10” id=​”col_id_59” dir=​”ltr” class=​”has-rte WysiHat-field”>​…​</textarea>​ <textarea name=​”field_id_356[rows]​[row_id_20336]​[col_id_59]​” cols=​”90” rows=​”10” id=​”col_id_59” dir=​”ltr” class=​”has-rte WysiHat-field”>​…​</textarea>​ <textarea name=​”field_id_356[rows]​[row_id_20337]​[col_id_59]​” cols=​”90” rows=​”10” id=​”col_id_59” dir=​”ltr” class=​”has-rte WysiHat-field”>​…​</textarea>​ <textarea name=​”field_id_356[rows]​[row_id_20338]​[col_id_59]​” cols=​”90” rows=​”10” id=​”col_id_59” dir=​”ltr” class=​”has-rte WysiHat-field”>​…​</textarea>​ admin.php?/cp/publish/edit/entry/240&S=e2bc906e75a619ead9fc8bee4195b457:1 Blink deferred a task in order to make scrolling smoother. Your timer and network tasks should take less than 50ms to run to avoid this. Please see https://developers.google.com/web/tools/chrome-devtools/profile/evaluate-performance/rail and https://crbug.com/574343#c40 for more information.

#7

BoldMinded (Brian)

Yeah, thats very odd. Does this happen on every channel entry type you try to preview? Can you share a screencast of it happening (with your console in the video so I can see it too).

#8

BoldMinded (Brian)

Going to close this out b/c I haven’t heard back in a month, and the upcoming 2.8.0 release should include support for the native Live Preview feature.

#9

Fabcom

Comment has been marked private.

#10

BoldMinded (Brian)

yes it did

#11

Fabcom

Awesome thanks. Go ahead and re-close 😉

Login to reply