[PAGES-377] No refresh of page after saving a component Created: 18/Nov/20  Updated: 07/Jan/21  Resolved: 07/Jan/21

Status: Closed
Project: Magnolia pages module
Component/s: Pages app
Affects Version/s: 6.2.4
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Frank Sommer Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: compatibility-module
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
duplicate
duplicates PAGES-373 Legacy pages app does not refresh aft... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

When using the legacy pages app in another language, if the i18n is disabled, after saving a component the page in the page editor doesn't refresh. So the editors are unable to see the changes.

It happens only in pages legacy app. The reason seems to be a different locale between content and editor.

Steps to reproduce

  1. switch the language of your user to German
  2. open the pages legacy app
  3. open a page where i18n is disabled. You can reproduce this in the sportstation site https://demoauthor.magnolia-cms.com/.magnolia/admincentral#app:pages:detail;/sportstation/about:edit
  4. edit a component and save it

Expected results

 The page editor refresh the edited page and the editor see its changed content

Actual results

No refresh of the page editor and the changed content is not visible

Development notes

See info/magnolia/pages/app/editor/PagesEditorSubApp.java line 272

If you enable i18n for the site, the problem is gone, the page is refreshed automatically and the changes are shown.

You can set it over here "enabled: true" in the Configuration app.
/modules/multisite/config/sites/sportstation/i18n@enabled



 Comments   
Comment by Simon Lutz [ 07/Jan/21 ]

Duplicates PAGES-373.

Generated at Mon Feb 12 06:18:20 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.