Skip to content

Conversation

@ramonfigueiredo
Copy link
Collaborator

Link the Issue(s) this Pull Request is related to.

Summarize your change.

  • The TagsWidget.get_tags() method used isalnum() to filter tags, which rejected any tag containing dashes (e.g., "test-layer-tag"). This caused the layer properties dialog to fail with "no tag selected" error.

  • Replace isalnum() with a new _is_valid_tag() method that uses regex to allow alphanumeric characters, dashes, and underscores in tag names.

- The TagsWidget.get_tags() method used isalnum() to filter tags, which rejected any tag containing dashes (e.g., "test-layer-tag"). This caused the layer properties dialog to fail with "no tag selected" error.

- Replace isalnum() with a new _is_valid_tag() method that uses regex to allow alphanumeric characters, dashes, and underscores in tag names.
@ramonfigueiredo
Copy link
Collaborator Author

image

@ramonfigueiredo ramonfigueiredo marked this pull request as ready for review December 19, 2025 19:48
@ramonfigueiredo
Copy link
Collaborator Author

@DiegoTavares / @lithorus
Ready for review!

@ramonfigueiredo ramonfigueiredo merged commit ce61412 into AcademySoftwareFoundation:master Dec 19, 2025
22 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.

2 participants