Skip to content

Fix getting the existing tags when creating a new tag#5393

Merged
greenbonebot merged 2 commits into
mainfrom
fix-getting-list-of-tags
Jul 1, 2026
Merged

Fix getting the existing tags when creating a new tag#5393
greenbonebot merged 2 commits into
mainfrom
fix-getting-list-of-tags

Conversation

@bjoernricks

Copy link
Copy Markdown
Contributor

What

Fix getting the existing tags when creating a new tag

Why

When opening the create tag dialog for multiple entities from the button of the list page tables the list of existing tags was not loaded correctly. For loading the corresponding list of tags to the current entity type of the page it is required to use the resource type and not the api type. API type converts for example host to asset.

References

https://jira.greenbone.net/browse/GEA-1690

Checklist

  • Tests

When opening the create tag dialog for multiple entities from the button
of the list page tables the list of existing tags was not loaded
correctly. For loading the corresponding list of tags to the current
entity type of the page it is required to use the resource type and not
the api type. API type converts for example host to asset.
Ensure it is possible to create a tag for multiple entities.
@bjoernricks bjoernricks requested a review from a team as a code owner July 1, 2026 09:40
@greenbonebot greenbonebot enabled auto-merge (rebase) July 1, 2026 09:41
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA 79e2f0c.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

@codecov

codecov Bot commented Jul 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.54%. Comparing base (81a65e3) to head (79e2f0c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5393   +/-   ##
=======================================
  Coverage   80.54%   80.54%           
=======================================
  Files        1266     1266           
  Lines       33078    33078           
  Branches     9917     9917           
=======================================
  Hits        26642    26642           
  Misses       5746     5746           
  Partials      690      690           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@greenbonebot greenbonebot merged commit 029fc15 into main Jul 1, 2026
27 checks passed
@greenbonebot greenbonebot deleted the fix-getting-list-of-tags branch July 1, 2026 09:57
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.

3 participants