You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2012-01-25 02:07:50

leocertuche
Member
From: Colombia
Registered: 2009-09-17
Posts: 12
Website

custom fields values for dropdowns not stored or shown

Hello there,

First of all, thanks for taking the time to read this post.

We have GLPI 0.80.61 on Ubuntu 10.04 server. We want to use the Custom Fields plugin so we downloaded https://forge.indepnet.net/tarballs-plu … lds.tar.gz and after Custom Fields 1.2 was activated, we created several custom fields for Computers, Devices and Network such as textboxes, date, yes/no dropdowns as well as dropdowns that read values from glpi_locations table. All good till here, but when populating the fields with values, we're facing three issues:

The first one is that when we click on the Add Custom Dropdown button (that points to /glpi/plugins/customfields/front/plugin_customfields.dropdowns.php) we get:

Not Found

The requested URL /glpi/plugins/customfields/front/plugin_customfields.dropdowns.php was not found on this server.

The second issue is that the dropdowns that read values from glpi_locations table are not storing the chosen values. When we choose a value for the drop-down, click on Update Custom Fields and check for the value, it's not being stored.

Here is the sql syntax of one of the values that we've been unable to choose:

INSERT INTO `glpi_locations` (`id`, `entities_id`, `is_recursive`, `name`, `locations_id`, `completename`, `comment`, `level`, `ancestors_cache`, `sons_cache`, `building`, `room`) VALUES
(16, 0, 0, '-Régimen de Tenencia', 0, '-Régimen de Tenencia', '', 1, NULL, NULL, '', ''),
(17, 0, 0, 'Propio', 16, '-Régimen de Tenencia > Propio', '', 2, NULL, NULL, '', ''),
(18, 0, 0, 'Alquilado', 16, '-Régimen de Tenencia > Alquilado', '', 2, NULL, NULL, '', ''),
(19, 0, 0, 'Prestado', 16, '-Régimen de Tenencia > Prestado', '', 2, NULL, NULL, '', ''),

And the third one is that when seeing the whole list of Computers/Networks/Devices, if we click on the Select default items to show button and see the drop-down where all the fields can be chosen, all custom fields are shown duplicated. If we choose a date or a dropdown custom field and we click on Add, all items of Computers/Networks/Devices are gone, so we have not been able to include them, which is our main goal.

I hope the explanation was clear and that some of you guys can help us.

Thanks in advance,

Leo

Offline

#2 2012-01-26 20:56:10

leocertuche
Member
From: Colombia
Registered: 2009-09-17
Posts: 12
Website

Re: custom fields values for dropdowns not stored or shown

All action related to this topic is going on at http://www.glpi-project.org/forum/viewt … pid=138111

Offline

Board footer

Powered by FluxBB