Skip to content

Fix API integrity on rename #261

Closed
openedx/openedx-core
#536

Description

@jesperhodge
  • When renaming a tag to a name that's duplicate, I just want to get a 4xx error, not an HTML integrity error page
  • The API generally should hide internal errors from the end user and just send 500 if something unexpected / unhandled happens
Image

Activity

  1. changed the title [-]Fix API integrity[/-] [+]Fix API integrity on rename[/+] on Mar 31, 2026
  2. self-assigned this
    on Apr 7, 2026
  3. jmakowski1123 commented on Apr 15, 2026

    @jmakowski1123

    As a non-technical tester, is this the error you expect to see?

    Image
  4. jesperhodge commented on Apr 16, 2026

    @jesperhodge
    Author

    Hi @jmakowski1123 ! Indeed, expected behavior is that you should see an appropriate error message explaining that this tag is a duplicate (or what other reason there is that it's invalid).

    Since this ticket was done on the backend repository, but the fix for the message has to be done on the frontend / user side, I have not included it here.

    However, I have found this problem as well; and my fixes to the error messages in #272 have addressed it as well. I already fixed it in my implementation, and when that is merged, the error message problem you found should be resolved.

    I have asked Tammie to include it in the ACs for 272 so that we know to test for it.

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

Metadata

Metadata

Assignees

Labels

verawood

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions