Skip to content

Bug Report: formRenderDesign causes redirect to Create screen instead of List after Save and Close #5975

@mplodowski

Description

@mplodowski

OctoberCMS version:
4.0.15

Description

When using formRenderDesign in a backend controller, both in the Create and Update views, the redirect after pressing Save and Close does not behave correctly.

Workflow:
1. Open a record in Create view.
2. Fill out the form and press Save → record is created successfully.
3. While still on the form, make any change.
4. Press Save and Close.

Expected behavior:
Redirect to the list view.

Actual behavior:
Redirect goes to the Create form instead of the record list.

Steps to reproduce
1. Implement a backend form using formRenderDesign inside a controller.
2. Navigate to the Create view.
3. Save a new record using Save.
4. Modify the form data.
5. Click Save and Close.
6. Observe that the system redirects to Create instead of the list page.

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