Skip to content

fix(menu): duplicate name check on restore (#149)#152

Open
leno23 wants to merge 1 commit into
rdodiya:gssoc_developfrom
leno23:fix/menu-restore-duplicate-name-149
Open

fix(menu): duplicate name check on restore (#149)#152
leno23 wants to merge 1 commit into
rdodiya:gssoc_developfrom
leno23:fix/menu-restore-duplicate-name-149

Conversation

@leno23
Copy link
Copy Markdown

@leno23 leno23 commented May 17, 2026

Summary

  • Before restoring a soft-deleted menu, verify no active menu with the same name exists in the branch (409 via DuplicateResourceException).

Fixes #149

Test plan

  • Restore succeeds when name is unique
  • Restore fails with conflict when duplicate active name exists

Made with Cursor

…ya#149)

Validate menu name uniqueness within the branch before restoring a soft-
deleted menu, matching create and update behavior.
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue: Duplicate Menu name not checked on Restore

2 participants