fields icon indicating copy to clipboard operation
fields copied to clipboard

glpi 10 transfert asset avec custom field champs listes multiples

Open jph7676 opened this issue 1 year ago • 1 comments

Bonjour, lors du transfert d'un asset d'entité avec des customs fields, les valeurs des champs listes multiples sont perdues glpi 10.0.15 fields 1.21.8

jph7676 avatar May 15 '24 13:05 jph7676

To explain further, the problem concerns the multi-valued list. When we use this, data is lost when an action (backup, mass action, ...) is performed.

Exemple with this additional fields: image I am able to put various data which are well saved: image As soon as you save a change or use mass actions, the data is lost only for the multi-valued list: image

I also noticed the problem when trying to use generated objects in code and do the update:

$item = new PluginFieldsTickettestplugin();
$item->getFromDB($item_id);
$item->update(['id' =>$item_id, 'locations_id' => $location->getID()]);

glpi 10.0.15 fileds 1.21.10

Lacro59 avatar Jul 04 '24 09:07 Lacro59

This issue has been closed as we only track bugs here.

You can open a topic to discuss with community about this enhancement on suggestion website. You can also contact GLPI editor team directly if you are willing to sponsor this feature.

github-actions[bot] avatar May 20 '25 08:05 github-actions[bot]