Skip to content

Conversation

@stonebuzz
Copy link
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.
  • This change requires a documentation update.

Description

  • It fixes !35567

If two blocks share the same dropdown field, removing it from the first block disrupts the second, as the associated dropdown table/class is deleted while still being referenced elsewhere.

This PR introduces a verification step before deleting a field, ensuring it is not in use by another block, thus preventing data inconsistencies and operational issues.

Screenshots (if appropriate):

@stonebuzz stonebuzz self-assigned this Dec 11, 2024
@stonebuzz stonebuzz added the bug label Dec 11, 2024
@stonebuzz stonebuzz merged commit 53c66e1 into pluginsGLPI:main Dec 13, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant