Skip to content

[BUG]: Cancelling a fulfilled request returns a validation error #5544

@stefannibrasil

Description

@stefannibrasil

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When I see a Fulfilled request and I click on the 'Cancel' button, I get a validation error:

Image

Expected Behavior

If there is a validation error preventing fulfilled requests from being cancelled, the UI should not show the 'Cancel' button.

Steps To Reproduce

  1. Go to the Requests view
  2. Click to View a Fulfilled request
  3. Click on 'Cancel'
  4. Verify the validation error is raised

Environment

N/A

Criteria for Completion

  1. Go to the Requests view
  2. Click to View a Fulfilled request
  3. Verify there is no 'Cancel' button for fulfilled requests

Anything else?

No response

Code of Conduct

  • I've read the Code of Conduct and understand my responsibilities as a member of the Ruby for Good community

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions