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

Reverting the page to public version invalidates all Alias plugins that point to that page #5773

Open
Mimino666 opened this issue Nov 24, 2016 · 2 comments

Comments

@Mimino666
Copy link
Contributor

Scenario:

  1. Create and publish page A with some plugins on it.
  2. Create and publish page B with some Alias plugins on it, that point to page A's plugins.
  3. Make some changes to page A, but don't publish them. Instead revert the page A to public version.
  4. All Alias plugins from page B disappear.

Maybe related to: https://github.com/divio/django-cms/blob/release/3.4.x/cms/models/pagemodel.py#L363

@czpython
Copy link
Contributor

Thanks for reporting @Mimino666

@czpython czpython removed this from the 3.3.x milestone Nov 24, 2016
@czpython czpython removed their assignment Nov 24, 2016
@czpython
Copy link
Contributor

The Alias plugin gets deleted because of a cascade deletion triggered when the CMS deletes all plugins inside the draft page.

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

No branches or pull requests

3 participants