Closed jensens closed 1 year ago
cc @gogobd
The redirect from content_status_modify
does not take into account it should load a specific view, but uses the absolute_url
.
https://github.com/plone/plone.app.content/blob/ee6b62934ce926c5f9903e0294bc39a59e3709b6/plone/app/content/browser/content_status_modify.py#L147
Easiest would be to always redirect it to /view
, which seems to be what was done before.
Otherwise check the registry for plone.types_use_view_action_in_listings
.
I am having a look.
BUG/PROBLEM REPORT (OR OTHER COMMON ISSUE)
What I did:
Take Plone 6 ClassicUI, give type "File" a
(Default)
workflow (ZMI -> portal_workflow).Create a file and upload some crap.
Publish file using action in toolbar
What I expect to happen:
File is published, site is reloaded, I am still on file view, in toolbar I see it is published.
What actually happened:
File is downloaded. /no reload happens.
After site reload it is pubslihed,
What version of Plone/ Addons I am using:
https://6-classic.demo.plone.org as of today.