Skip to content

fix: add null checks for Tag.get_or_create calls#899

Merged
zanllp merged 1 commit into
mainfrom
pref/tag
Jan 22, 2026
Merged

fix: add null checks for Tag.get_or_create calls#899
zanllp merged 1 commit into
mainfrom
pref/tag

Conversation

@zanllp

@zanllp zanllp commented Jan 22, 2026

Copy link
Copy Markdown
Owner
  • Tag.get_or_create now returns None for invalid tag names instead of creating error tags
  • Add null checks before using tag.id in all callers
  • Adjust tag validation: non-Chinese tags now limited to 8 words or 40 characters

- Tag.get_or_create now returns None for invalid tag names instead of creating error tags
- Add null checks before using tag.id in all callers
- Adjust tag validation: non-Chinese tags now limited to 8 words or 40 characters
@zanllp zanllp merged commit 587b505 into main Jan 22, 2026
@zanllp zanllp deleted the pref/tag branch June 6, 2026 03:55
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