Skip to content

Conversation

@fsbraun
Copy link
Member

@fsbraun fsbraun commented Jul 25, 2024

Description

Solves #7966

The template tag did not „see“ unpublished or archived versions.

This will need to be tested in djangocms-verisoning. I have added a test to django-cms/djangocms-versioning#417 once this is merged and the test can pass.

Related resources

Checklist

  • I have opened this pull request against develop-4
  • I have added or modified the tests when changing logic
  • I have followed the conventional commits guidelines to add meaningful information into the changelog
  • I have read the contribution guidelines and I have joined the channel #pr-reviews on our Discord Server to find a “pr review buddy” who is going to review my pull request.

…st page content object for the language (even if unpublished)
@fsbraun fsbraun requested a review from a team July 25, 2024 09:27
@fsbraun fsbraun merged commit b4f54a5 into django-cms:develop-4 Jul 29, 2024
@fsbraun fsbraun deleted the fix/page-settings branch July 29, 2024 20:05
fsbraun added a commit to fsbraun/django-cms that referenced this pull request Oct 20, 2024
…est page content (django-cms#7967)

* Fix: template tag `get_admin_url_for_language` should return the latest page content object for the language (even if unpublished)

* Fix: correct read-only slug and overwrite url for page settings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs to be backported Commits need to be backported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants