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 2011-08-18 14:48:14

Franzi86
Member
From: Berlin (Germany)
Registered: 2011-03-24
Posts: 1

[Question] Dictionary_Software_Software Version

Hello

We have now updated GLPI 0.78 to GLPI 080.2 and it works. But I have a problem with the software dictionary.

This is the dictionary entry:

criteria:

Software       
regular expression checks     
/^Microsoft (Office Visio|Visio) (Pre[a-z ]{0,18}|Prof[a-z ]{0,18}|Sta[a-z ]{0,18(2003|2007|2010)/

action:

Version
Add the result from regular expression
#0 #1 #2


Software
Assign
Microsoft Office Visio

Then I make a test:

criteria:

    Software    Microsoft Office Visio Standard 2010
AND    Version        1234


Rule results:

Validation    Yes
Version     1234 Office Visio Standard 2010
Software     Microsoft Office Visio

So far everything is fine.

But when I set activ to yes and this rule is applied, this is the result in the software inventory:

Name        Microsoft Office Visio
Version        Visio Professional 2010
        Office Visio Professional 2003
        Office Visio Standard 2007
        Office Visio Standard 2003

But where is the version number of the software?

Offline

#2 2011-08-18 16:08:44

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: [Question] Dictionary_Software_Software Version

A little mistake. Try this
/^Microsoft (Office Visio|Visio) (Pre[a-z ]{0,18}|Prof[a-z ]{0,18}|Sta[a-z ]{0,18}) (2003|2007|2010)/


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

Board footer

Powered by FluxBB