Files
ocis/services
Paul FaureandClaude Opus 4.6 f2b9c09cec fix(graph): make tag unassignment idempotent
The DELETE tags endpoint returned HTTP 400 with a misleading error
message ("no new tags in createtagsrequest or maximum reached") when
the requested tag was absent from the file's ArbitraryMetadata.  This
made it impossible to clean up stale tags that exist in the search
index but not in the file metadata.

Change UnassignTags to:
- skip the SetArbitraryMetadata call when nothing was removed
- always publish the TagsRemoved event so the search index stays in sync

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 00:09:28 -05:00
..
2026-01-24 00:07:57 +00:00
2026-01-23 14:03:25 +01:00
2026-01-24 00:07:57 +00:00
2026-01-23 00:07:43 +00:00
2026-01-23 15:48:29 +01:00