Skip to content

Redirect to a wrong after Workflow Action content_status_modify #227

@1letter

Description

@1letter
  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()
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions