Skip to content

Fix: Table glpi_assets_assets cannot be renamed as table...#468

Merged
Rom1-B merged 1 commit into
mainfrom
support_40808
Dec 16, 2025
Merged

Fix: Table glpi_assets_assets cannot be renamed as table...#468
Rom1-B merged 1 commit into
mainfrom
support_40808

Conversation

@Rom1-B

@Rom1-B Rom1-B commented Dec 16, 2025

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

Description

  • It fixes !40808

Avoid this type of error when installing the plugin before migrating it to the core:

> bin/console plugin:install genericobject
Traitement du plugin « genericobject »...

In Migration.php line 1568:
                                                                                                                  
  Table "glpi_assets_assets" cannot be renamed as table "glpi_plugin_genericobject_liensoranges" already exists.  
                                                                                                                  

plugin:install [-a|--all] [-p|--param [PARAM]] [-u|--username USERNAME] [-f|--force] [--] [<directory>...]

Screenshots (if appropriate):

@Rom1-B Rom1-B requested a review from stonebuzz December 16, 2025 13:16
@Rom1-B Rom1-B merged commit cbbb67a into main Dec 16, 2025
3 checks passed
@Rom1-B Rom1-B deleted the support_40808 branch December 16, 2025 15:20
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