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-01-07 14:55:37

towolf00
Member
Registered: 2011-01-07
Posts: 3

Various Field are defined as Integer but should be varchar

Hi,

i have found that many data fields that allow only integer values as input.

But this makes no sense, eg for the processor frequency.
First, the frequency can be a float, 2.66 and to make sense to the value one have to know if it is Mhz or Ghz.

The same with harddrives: 1.5, what MB, GB, or TB ??

I think all these values should be varchar. With this i can enter correct default values and everyone is happy  smile

I hope this is not reported before. I shuffeled through the forum and found post regarding the entry of processor frequency but this seems to be something more and since my french is a little bit rusty (sorry for that) i might have missed a french report.

So far i have found this misbehaviour in:
- processor
- memory
- hardrive

Thanks for your help.

Tobias Wolf

Offline

#2 2011-01-07 14:58:33

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Various Field are defined as Integer but should be varchar

only integer values are allowed to have a unity standardization.
Processor are in MHz, memory and harddrive in Mo.

If we permit varchar values, it won't be possible to make statistics.


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#3 2011-01-07 15:04:06

towolf00
Member
Registered: 2011-01-07
Posts: 3

Re: Various Field are defined as Integer but should be varchar

Ok, maybe the unit should be displayed with the value?

Thanks for your quick answer big_smile

Last edited by towolf00 (2011-01-07 15:04:50)

Offline

#4 2011-01-07 15:07:41

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Various Field are defined as Integer but should be varchar

Yes it should smile


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#5 2011-01-11 10:31:43

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Various Field are defined as Integer but should be varchar

corrected in 0.78.2


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

Board footer

Powered by FluxBB