Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect to a wrong after Workflow Action content_status_modify #227

Open
1letter opened this issue Jun 15, 2021 · 0 comments
Open

Redirect to a wrong after Workflow Action content_status_modify #227

1letter opened this issue Jun 15, 2021 · 0 comments

Comments

@1letter
Copy link
Contributor

1letter commented Jun 15, 2021

  1. Plain Plone 5/6 Installation
  2. Add a workflow to an image
  3. Make a workflow transition e.g. "publish"
  4. The view after the transition is the based on absolute_url(), if the content is an image, i see only the Image in the browser, not the plone site

I think the redirect url should be changed to:

return self.request.response.redirect(
    context.absolute_url() + "/" + context.getLayout()
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant