django-cms / djangocms-alias

Other
8 stars 23 forks source link

fix: `static_alias` unnecessarily creates new content objects when used with versioning #202

Closed fsbraun closed 8 months ago

fsbraun commented 8 months ago

This PR fixes a regression introduced in #165 which leads to the creation of a new AliasContent object for a language

The regression is triggered by using _default_manager once where _base_manager should have been used.

165 introduced a test but missed the regression. This PR adds a regression test.