Nearly a year after i opened this issue , we updated to version 1.10.1 and the api plugin to 1.9 to see if we could finally use dialog+ fields. However now we stumbled upon a multitude of new bugs concerning dialog+ fields:
1. Undeletable Multivalue in GUI
Description:
Multiple Dialog+ selections will not be deleted in IDOIT gui.
How to reproduce:
- We have the following Objecttype hierarchy in Quick configuration Wizard "Infrastruktur->Server".
- Added User Defined Category "Users"
- Under Users we have a Dialog+ field called SSH Groups (where we have Values like "QA", "Staging" etc.)
- Choose multiple SSH Groups->Save
- Try to delete all those SSH Groups->Save
- Values are not deleted
2. Output Bug Dialog+ via API
Description:
When calling cmdb.category.read on a custom category with dialog+ fields, the output of the json object is utterly bugged.
How to reproduce:
- We have the following Objecttype hierarchy in Quick configuration Wizard "Infrastruktur->Server".
- Added User Defined Category "Users"
- Under Users we have a Dialog+ field called SSH Groups (where we have Values like "QA", "Staging" etc.)
- Call cmdb.category.read on it.
- Receive the following strange output:
shortened response:
{
"f_text_c_1455200871361": "agage",
"f_text_c_1455200573923": "test1",
"objID": "1378",
"f_text_c_1455200588403": "fsfs",
"id": "4257",
"f_text_c_1455200581454": "teshome",
"f_text_c_1455200835586": "ffa",
"f_popup_c_1480427993531": {
"identifier": "SSH_Groups"
}
},
{
"f_text_c_1455200871361": null,
"f_text_c_1455200573923": null,
"objID": "1378",
"f_text_c_1455200588403": null,
"id": "4257",
"f_text_c_1455200581454": null,
"f_text_c_1455200835586": null,
"f_popup_c_1480427993531": {
"identifier": "SSH_Groups",
"const": null,
"id": "12",
"title": "EDI",
"title_lang": "EDI"
}
}
- As you can see the output contains two "datasets" and one has only empty fields except correct dialog+ info. The other has all fields filled correctly but no dialog+ info. This surely is not how its supposed to be…
3. When configuring Events to execute a Script. The "from" field in the changes section is wrong.
- Configure Events to execute an external script when saving datasets.
- in the script decode base64 and parse the json data
- look at changes->from field its always undef.