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 2008-08-25 13:49:08

MHI
Member
From: Germany
Registered: 2007-06-28
Posts: 367

Rules assignment of a software category

I have created a rule that should match a piece of software and then a assigned to a category, when testing the rule the validation is okay, so the match is working, but I do not see any category assignment done. all the software still stays in the same category.
When is the applied ? Is it a "cron job" that is running or does it just work when importing new PCs ?
I have also tested it with importing new PCs, but no luck. Category always stays the same and is not changed by the rule.

Any idea what could be wrong ?


RedHat Enterprise Linux 5 ES 32Bit x86
PHP 5.1.6 -- Apache 2.2.3
MySQL 5.0.45  --  GLPI 0.72.4 -- OCS 1.32 -- Home brewed MS CM import script

Offline

#2 2008-08-26 16:21:57

MHI
Member
From: Germany
Registered: 2007-06-28
Posts: 367

Re: Rules assignment of a software category

MHI wrote:

I have created a rule that should match a piece of software and then a assigned to a category, when testing the rule the validation is okay, so the match is working, but I do not see any category assignment done. all the software still stays in the same category.
When is the applied ? Is it a "cron job" that is running or does it just work when importing new PCs ?
I have also tested it with importing new PCs, but no luck. Category always stays the same and is not changed by the rule.

Any idea what could be wrong ?

I finally found the "error". It looks like if you assign such a rule and already have PCs with software that would match that rule already imported, it won't work for the existing nor for the newly imported PCs.
If you import into a "clean" entity it works perfectly.


RedHat Enterprise Linux 5 ES 32Bit x86
PHP 5.1.6 -- Apache 2.2.3
MySQL 5.0.45  --  GLPI 0.72.4 -- OCS 1.32 -- Home brewed MS CM import script

Offline

Board footer

Powered by FluxBB