Skip to content

fix: time_span_tags wrong case on edit tag#212

Merged
jmattheis merged 2 commits into
traggo:masterfrom
zumoshi:tag-edit-case-bug
Jun 3, 2025
Merged

fix: time_span_tags wrong case on edit tag#212
jmattheis merged 2 commits into
traggo:masterfrom
zumoshi:tag-edit-case-bug

Conversation

@zumoshi

@zumoshi zumoshi commented Jun 2, 2025

Copy link
Copy Markdown
Contributor

I managed to reproduce the bug in #131. On editing a tag to have uppercase letters, the actual tag saved in tag_definitions will be lower case but the update query for time_span_tags uses the value as is without lower-casing it.

The fix should prevent that. not sure if/where I should add test cases for it.

@jmattheis jmattheis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks, for future PRs please create a test if it's possible without much effort.

@jmattheis
jmattheis merged commit ee87557 into traggo:master Jun 3, 2025
1 check 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.

2 participants