Skip to content

Fix working group slug updates being silently ignored#625

Merged
bokelley merged 1 commit into
mainfrom
bokelley/fix-wg-slug-change
Jan 5, 2026
Merged

Fix working group slug updates being silently ignored#625
bokelley merged 1 commit into
mainfrom
bokelley/fix-wg-slug-change

Conversation

@bokelley

@bokelley bokelley commented Jan 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fixed a bug where changing a working group's slug in the admin panel was silently ignored
  • The slug field was missing from COLUMN_MAP in updateWorkingGroup(), causing updates to be skipped
  • Added slug format validation to the PUT endpoint (matching the POST endpoint's validation)
  • Added slug uniqueness validation before update using isSlugAvailable(slug, excludeId)

Test plan

  • Verified fix with Vibium browser automation - slug changes now persist to database
  • TypeScript type checking passes
  • All existing tests pass

🤖 Generated with Claude Code

The slug field was missing from COLUMN_MAP in updateWorkingGroup(),
causing slug changes to be silently skipped. Also adds slug format
and uniqueness validation to the PUT endpoint, matching the existing
validation in the POST endpoint.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bokelley bokelley merged commit 3150e84 into main Jan 5, 2026
6 checks passed
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.

1 participant