django-cms / djangocms-versioning

General purpose versioning package for Django CMS 4 and above.
Other
33 stars 29 forks source link

BUG: Published content object's edit endpoint should redirect to preview endpoint #355

Open fsbraun opened 12 months ago

fsbraun commented 12 months ago

Steps to reproduce

  1. Create an object (say PageContent) and publish it.
  2. Go to its preview endpoint by clicking "view" in the version admin shown after publishing
  3. Manually change the URL in the browser's toolbar from .../preview/<pk> to .../edit/<pk>
  4. The edit endpoint is shown with the ability to publish a published version again.

Related info