ericferon / glpi-archimap

GLPI plugin for drawing architecture maps (based on draw.io)
GNU General Public License v2.0
19 stars 10 forks source link

SQL: Residual installation problems (glpi_displaypreferences) #16

Closed Stoatwblr closed 5 years ago

Stoatwblr commented 5 years ago

If Archimap has been previously installed then is uninstalled and cleaned, there are parts remaining in glpi_displaypreferences which causes INSERT statements to fail when reinstalling.

changing these from "INSERT" to "REPLACE" solves this error.

ericferon commented 5 years ago

There was a bug in the "insert" statement, indeed. This has been changed in v2.0.15. Thank you for your remark,