2.13.0-rc.2
Pre-releaseThis version is compatible with GLPI 10 only, and is a Release candidate version. Use it only for testing and bug report purpose.
We expect this version to be the last development release before the final release.
The most important change in this release is the introduction of a tables integrity check at the end of the upgrade process. It also tries to fix schema inconsistencies discovered in some instances of GLPI using Formcreator for years. If the schema of the tables differs from the expected schema, a non blocking error will be reported. GLPI 10.0.2 is now able to check the integrity of tables of this plugin with the CLI command bin/console glpi:database:check_schema_integrity -p formcreator. The plugin must be activated.
Starting from this version, tags format will change. Previous tags were prefixed with v. This prefix is dropped. See #2376
Upgrade from a previous 2.13.0-Alpha or Beta version (excluding 2.13.0-rc.1)
1 removing the mini_dashboard for Formcreator (counters)
The counters has been changed. You must delete the mini dashboard installed by previous alpha versions of Formcreator. If you're upgrading from 2.13.0-beta.1 or 2.13.0-rc.1 you may skip this step.
Execute the following SQL requests:
DELETE
FROM glpi_dashboards_items
WHERE dashboards_dashboards_id = (
SELECT id
FROM glpi_dashboards_dashboards
WHERE `key`='plugin_formcreator_issue_counters'
);
DELETE FROM glpi_dashboards_dashboards WHERE `key`='plugin_formcreator_issue_counters';then proceed with the next step (forced upgrade). It will build the new version of the mini dashboard. If you miss this step, the previous dashboard will show empty cards. see #2727
2 Forced upgrade
If you want to upgrade from an older 2.13.0-alpha or 2.13.0-beta version, you should do a forced upgtrade from command line. It will run the upgrade from the previous minor version (2.12.0) to the current version, update the possible differences of schema in the tables of the plugin. Run the following in CLI : php bin/console glpi:plugin:install formcreator -u glpi -f -p force-upgrade This command exists specifically for development purpose or for active testers.
Rename of anonymous forms to public forms
Some users of the plugin have been confused with the anonymous forms. Anonymous form are not a way to create tickets preventing technicians to identify requesters or authors. They are accessible by users without being logged in GLPI. Because of this confusion, anonymous forms are renamed public forms.
Help / Contribution needed
- Locales updates: Some languages don't have maintainer, or are late (many untranslated content). Please contribute on Transifex.
- documentation review and updates
Bug Fixes
- php warning (9304443c)
- abstractitiltarget: use_notification is not a bool (fc7d8a2f)
- changelog: bad anchor (be417f55)
- fieldsfield: broken rendering of question (e6bb7fbc)
- fieldsfield: typo in string (ad9bdfb1)
- form: able to submit when button disabled (bf3ebefe)
- form: form property showed twice (c5e00541)
- form: unable to upload files from public_form (6276402b)
- formanswer: handle null value when parsing tags (63bb428c)
- formanswer: typo in comparison operator (77415730), closes #2844
- glpiselectfield: regex comparison (64e28bbd)
- install: bad argument fordefault values (6f7fbc84)
- install: convert all FK to unsigned (4ba5ed89)
- install: disable db check prior upgrade (504727b5)
- install: fix possible schema errors coming from version older than 2.5.0 (c9338cd6)
- install: give more instructions to support the upgrade process (104f8fd0)
- install: handle invalid values before changing columns, add possibly missing index (f5369f6d)
- install: less picky checks when upgrading from 2.13.0 (7420cdce)
- install: move command out of localizable string (859443f4)
- install: move error messages, find schema file with unstable versions (cc886985)
- install: pick the right schema (d9cf90a4)
- install: post install db check (722158db)
- install: preveit failure if tables contains some NULL values (e87b6f57)
- install: prevent output in ajax response (1d19d7c9)
- install: try to prevent SQL error in migration (831f273d)
- install: workaround alter table failure (91baefb9)
- intall: do not process non-existing tables (d5b5fd89)
- issue: Show pending / accepted forms search results (58ea0662)
- issue: accepted status not searchable (2df02ae4)
- issue: allow null in name column (bb32843d)
- issue: vonsistency with seaerch for accepted issues (64876111)
- section: untranslated sring (fb6800cc)
- target_actor: import requires specific input format (3a8d3eae)
- targetticket: prevent setting a type from an incompatible question (f5de8bb6)
- textarea: encoding problem when picture is embedded (525cfd5b)
- wizard: rename forms menu for simplified interface (07d27926)
Features
- enable advanced validation (6a24d7bd)
- update dependencies (3b9c5d8e)
- update js dependencies (7dba5f2a)
- fields: manage new fields type plugin (a2b58191)
- formanswer: do not valdiate if requester is validator (613e6e30)
- install: add schema of all older versions (814729be)
- install: attempt to fix old inconsistencies (a94c928c)
- install: check schema prior to upgrade (60f4bf75)
- install: find old plugin version (5cbcd2d7)
- install: method to get the empty SQL file (ef5fd200)
- install: migrate tables to dynamic (54c40c8d)
- install: report successful integrity check (f2316602)
- issue: allow search on techs, not only myself as tech (5a462977)
- issue: limit tech users list (0feb7d16)
- question: allow gaps in rows (20c212e8)
- targetticket,targetcvhange,targetproblem: update actors array (4d92bc59)