Skip to content

Fix: keep tags reachable when their entity is deleted - #412

Merged
Rom1-B merged 1 commit into
11.0/bugfixesfrom
support_47891
Nov 27, 2026
Merged

Rom1-B merged 1 commit into
11.0/bugfixesfrom
support_47891

Conversation

@Rom1-B

@Rom1-B Rom1-B commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Checklist before requesting a review

Please delete options that are not relevant.

  • I have performed a self-review of my code.
  • I have added tests (when available) that prove my fix is effective or that my feature works.
  • I have updated the CHANGELOG with a short functional description of the fix or new feature.
  • This change requires a documentation update.

Description

  • It fixes !47891
  • When an entity was deleted, its tags kept pointing to the missing entity and could no longer be opened or edited, even by a super-admin.
  • The plugin now declares this entity relation to GLPI, so an entity that still holds tags is seen as used: deleting it from the entity form requires a replacement entity, and the tags are moved to it.
  • The related GLPI core fix (Fix(Entity): prevent deleting an entity still in use glpi-project/glpi#26453) extends this check to massive actions and API calls.

Screenshots (if appropriate):

@Rom1-B
Rom1-B requested review from a team, Mary-Clb, RomainLvr and jdurand-teclib and removed request for a team November 26, 2026 15:02
@Rom1-B
Rom1-B merged commit d39b7cc into 11.0/bugfixes Nov 27, 2026
7 checks passed
@Rom1-B
Rom1-B deleted the support_47891 branch November 27, 2026 11:18
@glpi-project

glpi-project Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Backport-action backported this pull request in workflow run 45989346312.

Target Status
main ⚠️ Drafted with conflicts #415

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