django-cms / djangocms-versioning

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

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

Open fsbraun opened 1 year ago

fsbraun commented 1 year 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