Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Improve cache handling #122

Conversation

dreistromlandMf
Copy link
Contributor

As of now, in2publish only clears the cache of all published changes. This is not the same behaviour as used in the core. This can cause the following problem:

  1. Create a page with a menu_menu_subpages element.
  2. Publish that page.
  3. View that page on the foreign system.
  4. Create a child page on local.
  5. Observe the menu_menu_subpages listing the child page on local.
  6. Publish the child page.
  7. Observe the menu_menu_subpages not listing the child page on foreign.

To view the page in the menu_menu_subpages, you need to clear frontend caches on foreign.

This patch changes the behaviour of in2publish to mirror that of the backend. In order to do that, internal functionality is used.

As of now, in2publish only clears the cache of all published changes.
This is not the same behaviour as used in the core. This can cause the
following problem:

 1. Create a page with a menu_menu_subpages element.
 2. Publish that page.
 3. View that page on the foreign system.
 4. Create a child page on local.
 5. Observe the menu_menu_subpages listing the child page on local.
 6. Publish the child page.
 7. Observe the menu_menu_subpages not listing the child page on
    foreign.

To view the page in the menu_menu_subpages, you need to clear frontend
caches on foreign.

This patch changes the behaviour of in2publish to mirror that of the
backend. In order to do that, internal functionality is used.
@sbusemann
Copy link
Contributor

@sbusemann sbusemann added this to the in planning milestone Nov 4, 2024
@dreistromlandMf dreistromlandMf marked this pull request as ready for review November 5, 2024 08:41
@dhoffmann1979
Copy link
Member

Close with Commit f6612b8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants