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 2015-04-27 19:09:48

blerohellec
Member
From: Paris
Registered: 2015-04-08
Posts: 84

Automatically updating elements related to computers fails (?)

I'm running GLPI 0.85.3

In general configuration, tab Assets, some parameters indicate what to do when an element is connected to a computer (or when computer is updated) : copy/do not copy alternate/name/group/location to connected element.

I was wondering why I didn't get what I was expecting when changing the parameter value for Location.
When I noticed that something was inverted between User and Location.

After investigation, it seems that :
- parameter for Location updates record where name=is_user_autoupdate in table glpi_configs
- parameter for User updates record where name=is_group_autoupdate
- parameter for Group updates record where name=is_location_autoupdate

It would explain my problems, wouldn't it ?

Same for parameters 'when disconnecting'
Same in GLPI 0.84.7, although the table is organized differently.


Benoit Le Rohellec
blerohellec@tlsconsulting.eu
www.tlsconsulting.eu

Offline

#2 2015-04-28 09:04:38

blerohellec
Member
From: Paris
Registered: 2015-04-08
Posts: 84

Re: Automatically updating elements related to computers fails (?)

GLPI 0.85.3
in /inc/config.class.php, function ShowFormInventory, near line 474, the labels displayed on screen (Alternate, User, Group, Location, Status) are not in the same order as the array $fields which comes after (contact, group, location, user).

Change the order of the labels as Alternate, Group, Location, User, Status and it works fine.


Benoit Le Rohellec
blerohellec@tlsconsulting.eu
www.tlsconsulting.eu

Offline

#3 2015-08-15 14:14:55

blerohellec
Member
From: Paris
Registered: 2015-04-08
Posts: 84

Re: Automatically updating elements related to computers fails (?)

Corrected in 0.85 bug fixes and 0.90.
Can be closed


Benoit Le Rohellec
blerohellec@tlsconsulting.eu
www.tlsconsulting.eu

Offline

Board footer

Powered by FluxBB