core icon indicating copy to clipboard operation
core copied to clipboard

What's Changed is Broken after a save from inline editing tool

Open DeanGonzalez opened this issue 9 years ago • 3 comments

Found on latest 4.1 build

Easy to reproduce

1) Bring up new licensed instance, and go to the "about us" - locations index page (which uses the inline editing tool). 2) Add a new piece of Generic content and save/publish. Then use the inline editing tool to edit the generic content and make a change. Do not make changes by editing the content, save changes using the inline editing tool only. 3) Then click on the Preview tab, and on What's changed. Bugs are that the preview page does not display the changes, nor do the changes get highlighted by what's changed feature.

DeanGonzalez avatar May 12 '17 19:05 DeanGonzalez

PR: https://github.com/dotCMS/core/pull/11641

After this commit we no longer read the "PREVIEW_MODE" value in the context, so we need to set WebKeys.PREVIEW_MODE_SESSION in the session and request. Also we need to pass the user and userID as part of the session/request.

oarrietadotcms avatar May 18 '17 22:05 oarrietadotcms

PR release 4.1.0: https://github.com/dotCMS/core/pull/11657

oarrietadotcms avatar May 19 '17 18:05 oarrietadotcms

Passed QA. System is successfully displaying the changes, and the changes get highlighted by what's changed feature. Tested with page in non-default language and it’s working well too. image

Tested on dotcms 4.1.0 distribution generated from Release-4.1 on commit b2682bce459687e928267ff941ae2de83504e3a7 Mac OS 10.10 / MySQL 5.6.35 / Firefox v45.0.1 / Tomcat 8 / Java 8

shaydotcms avatar May 25 '17 14:05 shaydotcms