2.13.1
This version is compatible with GLPI 10.0.
Upgrade from a stable version older than 2.13.0
The database schema is not consistent with the installed Formcreator 2.12.5.
To see the logs enable the plugin and run the command bin/console glpi:database:check_schema_integrity -p formcreator
If this error happens, switch GLPI to maintenance mode, then from a shell, locate to youtr GLPI instance folder and issue the following commands (requires GLPI 10.0.2 or later):
php bin/console glpi:plugin:activate formcreator
php bin/console glpi:database:check_schema_integrity -p formcreator
Administrators with an average database knowledge should be able to fix them, based on the diff displayed as the output of the last command.
Once the inconsistencies are fixed, disable maintenance mode.
Upgrade from 2.13.0
A database sanity check is done before running the upgrade. If the tables of the plugin have a difference with the expected schema the upgrade will fail with a message similar to the following:
The database schema is not consistent with the installed Formcreator 2.13.0.
To see the logs enable the plugin and run the command bin/console glpi:database:check_schema_integrity -p formcreator
It is required to fix the database, using the diff produced by the CLI command given in the message. Once done, try again to upgrade.
ℹ️ If you know what you are doing you may bypass the sanity check from CLI with the following command.
bin/console glpi:plugin:install formcreator -f -p skip-db-check
Possible encoding problems in tickets created in GLPI 9.5 or older
Bug Fixes
- inverted existence test on ticket update (2acc5cd4)
- log more errors, and update obsolete error logging (ae28ed6d)
- restore page redirections existing in v2.12 (582f926c)
- update obsolete error logging (da8929e0)
- abstractitiltarget: glpi 10.0.3 will require a data with a valid value (5f385bb8)
- actorfield: default value not saved (c3baebbe)
- actorfield: php warning (6d3e98d1)
- checkboxesfield: replace div with p in checkbowes answers (9ef95343)
- composite: php warning breaks JSON if a ticket is not generated (2108983c)
- descriptionfield: bad form rendering (87a74058)
- filefield: php error when switching field type to file (a03c7a0a)
- form: javascript (f05bc697)
- form: list on self service homepage (ba6d4a58)
- form: undefined var (169d2c8e)
- form: url to form answer lists may be invalid (6cd29e6d)
- install: avoid alter table fail (4dadea8a)
- install: missing method in upgrade to 2.13.1 (7e9cdcd5)
- issue: issue not deleted when tichet goes to trash bin (c977b1ca)
- issue: purge issue when deleting associated ticket (76444ecc)
- issue: recreate when restore ticket (2656e284)
- item_targetticket: uuid to ID conversion (e9f326c0)
- section: name encoding in designer and rendered form" (491dcb69)
- targetticket: bad constant name (48dda4f3)
- targetticket: table structure inconsistency (ff56f3f1)
- targetticket: table structure inconsistency (892a83c3)
- targetticket,targetchange: tags from queestion or specific tags not saved (ec08d95e)