feat:[NEXT-1926] Added Optional tags#2390
Conversation
WalkthroughThis PR updates the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@installer/resources/pacbot_app/files/DB.sql`:
- Line 2849: The call to update_displayFields_for_azure_gcp(CONCAT_WS(',',
`@MANDATORY_TAGS`, `@OPTIONAL_TAGS`)) can produce an extra empty tag when
`@OPTIONAL_TAGS` = '' because CONCAT_WS will include an empty value; update the
call or the procedure to guard against empty optional-tags by normalizing empty
strings to NULL before concatenation (e.g., set `@OPTIONAL_TAGS` =
NULLIF(`@OPTIONAL_TAGS`, '')) or alter update_displayFields_for_azure_gcp and the
sibling procedure to skip any empty tag entries inside their tag-parsing loops
(check for '' or NULL before inserting into tags) so no invalid empty
tags/filters are inserted.
feat:NEXT-1926 Added Optional tags
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.