Skip to content

Fix: impossible to update Location preferences#194

Open
TarekRemo wants to merge 1 commit intopluginsGLPI:mainfrom
TarekRemo:main
Open

Fix: impossible to update Location preferences#194
TarekRemo wants to merge 1 commit intopluginsGLPI:mainfrom
TarekRemo:main

Conversation

@TarekRemo
Copy link

@TarekRemo TarekRemo commented Mar 13, 2026

Checklist before requesting a review

Please delete options that are not relevant.

  • I have performed a self-review of my code.
  • I have updated the CHANGELOG with a short functional description of the fix or new feature.

Description

It fixes issue #187 : It was impossible to update Location preferences because table glpi_plugin_uninstall_profiles is dropped in the install method when updating the plugin.
The solution was to remove the line that drops this table in this method and force plugin update with php bin/console plugin:install uninstall --force and php bin/console plugin:activate uninstall

@Rom1-B Rom1-B self-requested a review March 13, 2026 12:00
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