Skip to content

Error Reporting from Saving methods #244

@mikeselander

Description

@mikeselander

As the save methods are currently architected, errors are not returned and are therefore unusable outside of the normal save method. It would be useful to have a way of retrieving these errors for use outside of this default setup.

For example, when working on the force-2fa functionality I have a standalone takeover view that uses AJAX to submit the settings and re-load to a normal view once submitted. the problem is that I have no useful information coming back from the save methods so I have to re-load the page whether saving was successful or not which is very confusing from a user's perspective.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions