Skip to content

Person edit: a failed save shows no error #2268

Open

Description

@anvmn

When saving an edited person fails, the edit form shows nothing: no error, no banner, and the unsaved changes stay on screen as if they were pending.

What is wrong. The handler for the person PATCH records the request as a success whatever the response was. The failure is reported to Rollbar, but the form only shows the backend error for a failed request, so the nurse is never told. Registering a new person does not have this problem, because its handler stores the real result.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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