Skip to content

Feat: rename oversized containers from their edit form (GLPI 11) - #1311

Open
Rom1-B wants to merge 1 commit into
11.0/bugfixesfrom
support_45901_11
Open

Rom1-B wants to merge 1 commit into
11.0/bugfixesfrom
support_45901_11

Conversation

@Rom1-B

@Rom1-B Rom1-B commented Oct 21, 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 !45901
  • Backport of Feat: rename oversized containers from their edit form #1248 to GLPI 11.
  • When a container's computed table name exceeds MySQL's 64-character limit, the plugin now disables it instead of crashing, and shows a rename form directly on the container's edit page.
  • Submitting a shorter name renames the container and reactivates it; if a table with matching data already exists under that name (e.g. after a version migration), its data is preserved instead of being replaced by an empty table.
  • plugins:fields:check_database now also reports container/item type pairs with no matching table, and tables with no matching container/item type pair.

Screenshots (if appropriate):

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.

1 participant