This version is compatible with GLPI 10.0.10 or later.
⚠️ The plugin allows you to use GLPI 10.0.6 or older, but there are known incompatibilities, including fatal errors (due to some bugfixes / improvements). If you use an out-of-date maintenance release, update it first!
Bug Fixes
- restoring ticket may create inconsistency in DB (3cf3e4ebd)
- abstractitiltarget: ITIL category from template shall not take precedence (8f8d9a7c4)
- category: translation feature of dropdowns not handled (6287f1b34)
- dropdownfield: display of username (af43a9cf1)
- form: better theme compatibility, UI enhancement (9146ea57a)
- form: import access restrictions may ignore UUIDs (9d23d4c1e)
- formanswer: redirect after submit may lead to unavailable page (599451af4)
- formanswer: requester can edit refused answer (c4f799b2c)
- formanswer: show spinner when validate (c59dc72ac)
- formanswer: status update on ticket change (079a12063)
- glpiselectfield: disable anonymization of user for answer resolution (66bea30e0)
- glpiselectfield, dropdownfield: prevent PHP warning (4da93e38e)
- install: ineffective data fix on upgrade to 2.13.7 (c31134c35)
- issue: SQL escaping problem when updating a ticket (56ddff261)
- issue: bad status if ticket has validation on creation (fc0ea0a00)
- locales: resolve locales management warnings (d5db37452)
- radiosfield, checkboxesfield, glpiselectfield, requesttypefield, urgencyfield: validate default value before saving (4815abeda)
- requesttype: force English for comparisons (7b9e94114)
- selectfield: translation breaks validation checks (28b4781d8)
- target_actor: actor ID not converted when duplicating a form (c5167c16c)
- textareafield: missing translation for default value (bda43df77)
Features
- DropdownField: Load translation for plugin too (16a1379a8)
- DropdownField: Load translation for plugin too (6af1766d1)
- formanswer: log any failure when saving an answer (5d84054af)
- formanswer: show item's name in web page title (c7e81cb9d)
- glpiselectfield: attach existing documents to targets (63999d068)
Find the full changes here, and download!
This version is compatible with GLPI 10.0.⚠️ This release requires some bugfixes in GLPI to work properly. These bugfixes are included in GLPI 10.0.9 or later. Please, ensure your GLPI is up to date to prevent useless bug reports.
Bug Fixes
- Adding READ right for display reservations menu tab (03e6281e)
- bad lcoale in en_US (db9986f1)
- resize dashboard to match GLPI's core (#3306) (9272cda3)
- TargetChange: use RichText instead of plaintext (8845b888)
- checkboxesfield,radiosfield,selectfield: add missing error messages (66585193)
- datefield, datetimefield: comparison against empty string (be4831c7)
- dropdownfield: SQL error for GLPI objects / tickets and some specific rights (2539e366)
- dropdownfield: handle specific case with Entity itemtype (bd25e7d1)
- dropdownfield: missing entity restriction setting (54543cb3)
- dropdownfield: prevent language switching and log error (49f8fc07)
- fieldsfield: restore mandatory field as read only (52a9fc2b)
- form,category: obey show count on tabs parameter (f4ebf9e5)
- form_language: obey show counter in tab setting (9dfc3b8d)
- formanswer: php warning (ce078990)
- formanswer: prevent silent rejection of answers (d630302d)
- formanswer: redirect to login if session expired (eb0acb65)
- glpiselectfield: fix namespace (#3287) (613e0fad)
- install: missing row in sql query, causing PHP warning (0c47776a)
- issue: php warnings when anonymisation enabled (f6f01d7d)
- issue: prevent fatal error in tooltip (3419affc)
- question,section: duplicate a question or section must duplicate inner conditions (22597832)
- section: cannot rename section twice (7bbb9b81)
- section: condition rule loss after duplicate / import (883a1227)
- section: duplicate form may lead to bad question id in condition (a6f9c41c)
- section: rename section impacts display of inner questions (c4277d8c)
- selectfield,multiselectfield: fix possible encoding problem (8aaec8ac)
- targetchange,targetproblem: folow method call signature for fields plugin (016696ab)
- textfield: Unescaped HTML when displaying a form answer (6ce71f95)
- textfield: exception while displaying counters (0a857d7f)
- textfield: target ticket title need html encoding (1b71d652)
Full changelog and download: click here
This version is compatible with GLPI 10.0.
⚠️ This release contains a fix which solves loss of file uploads when a validator edits the requester's answers before approval. This fix requires a patch for GLPI 10.0.7 or older. It is recommended to apply it. The patch is available here.
⚠️ This release contains a fix to prevent multiple form submission, causing requesters to submit several times their request. This fix depends on an other fix in GLPI 10.0.7 or older available here.
Full changelog and download: click here
This version is compatible with GLPI 10.0.
⚠️ File / image upload removed from public forms
In GLPI 10.0.5 contains a fix which breaks ability to upload files from a public form. It not possible restore this feature without introducing a security problem. Therefore, in this version, it is no longer possible to add a question of type File in a public form. Questions of type Textarea won't allow users to upload pictures anymore.
It is recommended to update your public forms to remove questions of type File. If you don't, then requesters will encounter problems when they try to upload files.
Upgrade from 2.13.0 or later
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
Bug Fixes
- add missing domain for public forms translation (#3162) (970f183c6)
- duplicate key when updating a profile (1bd6a2ab6)
- remote glpi prefix for commands (651444a27)
- abstractitiltarget: set priority from urgency and impact (#3178) (1269edd51)
- checkboxes: better display (f8fe93a63)
- checkboxes: padding between items (a62f879ce)
- condition: infinite loop detection (172d5e8eb)
- dropdownfield: prevent ambiguous column name (b54523219)
- form: remove obsolete translations on update (3cc58ac7d)
- form: rename form answer properties tab (a3395179d)
- form_language: avoid persistent rich editor toolbar when closing modal (11a8808b5)
- form_language: display problems when translating (93073e656)
- form_language: filter out obsolete translations (b38555c5e)
- formanswer: access restriction (a9451d982)
- install: distinguish error messages for sanity check (b798bf264)
- notifications: missing lang tags (3cad18562)
- question: missing conditions count after update (ea185beb8)
- question: updating a question returns sanitized label (936ccd475)
- radios: update escaping of valies (c940e1764)
- radiosfield: better display (fe6c2e8d0)
- restrictedformcriteria: bad key when generating error message (6cabca1fe)
- targetchange,targetproblem: harmonize implemetnation with targetticket (1ba402de0)
- targetchange,targetproblem: missed code refactor (e24d2fc13)
- targetticket: wrong property label (fd3d30973)
- textareafield: target ticket shows HTML when image uploaded (56fc8d54d)
- translation: avoid rn when using formatted rich (html) text (24113a353)
Features
This version is compatible with GLPI 10.0.
Upgrade from 2.13.0 or later
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
Bug Fixes
- handle undefined setting for service catalog homepage (411ae3597)
- typo in french locale (f61ded17a)
- abstractitiltarget: multiple tag questions set but not displayed in designer (90f2a95d8)
- checkboxesfield,multiselectfield: default value not displayed (8f36ab726)
- composite: ignore link to non existing ticket (8502d4b16)
- condition: allow longer texts (eecdf8a2a)
- condition: display of tested question shows wrong item (5d34da8b4)
- condition: width of question dropdown (ce0389efd)
- dropdownfield: empty SQL IN statement when restricted tickets rights (5c5244a85)
- form: image upload handling in header field (5dc66a5ef)
- formanswer: default search filter hides legit access (2dc9f8e3f)
- formanswer: malformed search option (5339b7912)
- formanswer: missing newline between sections of fullform tag (61122bc93)
- formanswer: temporary disable debug mode (e9e8da484)
- formanswer, textfield, textareafield: escaping (3e0666d4d)
- glpiselectfield: cannot set empty value by default for entity question (fe2130bbe)
- glpiselectfield: restore entity restriction for users (e525b3a82)
- helpdesk: better handling of users that can't see tickets (a93f03126)
- install: add empty schema for new version (817a9ec7e)
- install: resync not needed in upgrade to 2.13.4 (d66a12017)
- install: typo in method name (eac5d77ac)
- issue: follow entity change on ticket transfer (434bd3572)
- issues: Tooltip consistency with core (c45d21550)
- question: subtype plural and appliance in bad group (1f780370a)
- tagfield: php warning (cc4b673a8)
- targetticket: allow more itemtypes to associated elements (#3155) (cee504c24)
- textfield: useless HTML entity encode (c3d03b51e)
Features
- drop support for GLPI 10.1 (a99a8bcb2)
- dropdownfield: always show ticket id (0190adac9)
- issue: access tickets from service catalog (a6b4f19d0)
- question: add support for database sub itemtype (45126012d)
- wizard: selectable home page in service catalog (95103fe54)
This version is compatible with GLPI 9.5.5 or later only. Users of GLPI 10 must use Formcreator 2.13 or later. Support of GLPI 9.5.4 and earlier has been dropped, see notes of version 2.11.3 to know the reason.
⚠️ Version 2.12.6 had missing files for LDAP questions. This release address this problem.
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
This version is compatible with GLPI 10.0.
Upgrade from 2.13.0 or later
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
⚠️ GLPI 10.0 encodes rich text content in a different way compared to GLPI 9.5. This revealed some bugs in the plugin in previous versions and GLPI may display old tickets with HTML tags. A CLI tool is available to fix 3 types of inconsistencies. You should test the command in a testing environment or do a backup first.
bin/console glpi:plugins:formcreator:clean_tickets
Bug Fixes
- abstractitiltarget: copy may generate unwanted ouput to navigator (8792ed3dc)
- abstracttarget: support for sla and ola from question (e4c6ffeb6)
- category: do not access page if the plugin is not active (a959839c7)
- category: don't activate plugin to access categories (4cd4f600e)
- checkboxesfield: back to BR (c8908f265)
- checkboxesfield: back to BR (56d1e7e94)
- checkboxesfield, radiosfield: checkboxes and radios backslashes (#3050) (47da0ea0a)
- common: captcha check (b2b7efc89)
- dashboard: fix dashboard height (712bdc8ad)
- datefield: change event and comparison (9da947783)
- filefield: do not assume index of files (a02a9c7ce)
- form: delete question does not reset preview tab (ad87ddc87)
- form: prevent SQL error (17aa94309)
- form: prevent sending two csrf tokens (c04c71bab)
- form: tab name must obey 'show count' setting (b89232eb3)
- form_language: call to undefined method (137a66047)
- formanswer: page switching loose filter (14d3ed7ac)
- install: bad command in error message (f357d9ca4)
- install: handle possible null while changing fields (0a847af4c)
- issue: access to saved searches from service catalog (b7481825a)
- issue: default joint for issue (631888e47)
- issue: show save button for followup edit (810c854f1)
- issue: sync issue fails when a ticket has several validators (3f51fbdd9)
- issue: useless criteria nesting (369fdb57b)
- selectfield: too many unescaping (706b70faa)
- targetticket: set request source if no rule specified (2e04680eb)
- textareadifield: error when deduplicating uploads (666d81395)
- wizard: consistent breadcrumb on several pages (6639cda03)
Features
This version is compatible with GLPI 9.5.5 or later only. Users of GLPI 10 must use Formcreator 2.13 or later. Support of GLPI 9.5.4 and earlier has been dropped, see notes of version 2.11.3 to know the reason.
⚠️ This version intends to fix compatibility with GLPI 9.5.10 and 9.5.11 which contains an upgrade of TinyMCE (used for rich text editors). Some other fixes are also available in this release; see the changelog.
⚠️ Important note: Some administrators use business rules relying on the request source field in tickets to distinguish tickets created by Formcreator. A change has been done in the plugin to allow customization of the request source via ticket templates. Target ticktets without template will lose the request source "Formcreator". If business rules use the request source "Formcreator" it is recommended to add a ticket template to target tickets, with a predefiend field "request source" set to "Formcreator".
Bug Fixes
- abstracttarget: retrieve sub itemtype from question (eccf3d1a)
- condition: empty sql IN statement (8e4d0491)
- dropdownfield,glpiselectfield: shiw item ID only on user preference (53dc3aeb)
- form: lightbulb always gray in darker theme (76a42bb4)
- glpiselectfield: bad WHERE criteria with entities (154a3531)
- glpiselectfield: comparison with regex (e6986b04)
- issue: performance problem in sync issue query (0e1761c9)
- issue: performance problem in sync issue query (74b38ec0)
- issue: requester replaced by author on ticket update (a8580a79)
- issue: sync issues problem when a ticket has several validators (backport 2.12) (#2971) (e3011590)
- radiosfield: accessibility from keyboard (e528aae7)
- targetticket: assign group actor from object (42aaadd4)
- textareafield: compatibility with GLPI 9.10 (a325a948)
- textareafield: compatibility with GLPI 9.5.10 (7f2ff1a9)
- textfield: remove invalid 'r' tokens (#3065) (da9d8dca)
- wizard: bad label when searching KB items (f469d048)
Features
- ldapselectfield: lazy loading (1afc6753)
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
This version is compatible with GLPI 10.0.
Upgrade from 2.13.0 or later
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
⚠️ GLPI 10.0 encodes rich text content in a different way compared to GLPI 9.5. This revealed some bugs in the plugin in previous versions and GLPI may display old tickets with HTML tags. A CLI tool is available to fix 2 types of inconsistencies. You should test the command in a testing environment or do a backup first.
bin/console glpi:plugins:formcreator:clean_tickets
Bug Fixes
- just reencode br (cce2e7e1c)
- show KB items without category (91f4deb75)
- abstractitiltarget: email addresses were ignored (4c28a09b8)
- docs: mix of single and singular/plural locales (dc8f38cc3)
- dropdownfield: tree depth not restored in design dialog (af4096bba)
- fields: add default value to prevent SQL error (#2965) (19f039569)
- form: risk of selecting the wrong form in DOM (bb31fd163)
- form: submit once (b00844208)
- form: unescape form name (5b802658a)
- formanswer: PHP 8.1 compatbility, error message if invalid JSON detected (8ff7ff91a)
- formanswer: PHP 8.1 compatibility: null passed instead of string (297fb2713)
- formanswer: redirect after submission of targetless form (4d60239d1)
- requesttypefield: warning if comparing against empty value (dca5afb82)
- section: label for conditions in designer (01e570319)
- wizard: FAQ list (#3031) (bb0732ca7)
Features
- tool to repair escaping problem in some tickets (68db0ffda)
- form: submit forms once (abed86101)
- formanswer: notification with URL to generated objets (fa6a360f0)
- formanswer: restore toasts when craeting targets (f43df3ebb)
- install: show the DB diff when upgrade runs from CLI (#2994) (4abb099a6)
Help / Contribution needed
Locales updates: Some languages don’t have maintainer, or are late (many untranslated content). Please contribute on Transifex.
This version is compatible with GLPI 10.0.
⚠️ You must upgrade from a previous stable version. Upgrading from a development or testing version is not supported.
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)
Features
- prepare compatibility with PHP 8.2 (#2966) (4bb7f3c3)
- formanswer,issue: show title in navigation header (1878e4b0)
- kb: preselect see all categorie (1b669d4f)
Help / Contribution needed
Locales updates: Some languages don’t have maintainer, or are late (many untranslated content). Please contribute on Transifex.