Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007797Openbravo ERP05. Production managementpublic2009-02-20 07:452009-03-25 17:35
arunkumar 
gmauleon 
lowminoralways
closedfixed 
30
2.50alpha-r11 
2.40MP4 
Core
No
0007797: Data validation is required in "Lifespan" Text field in Production Management -> Toolset Type
Production Management -> Setup -> Toolset has a text field called "Lifespan". here we are able to enter negative values as well as 10 digits.
Go to production Management -> Setup -> Toolset.

In ToolSetType click new record.
Enter the name.
In Life span text field we are able to enter negative values as well as it is capable of storing 10 digit value.
As the Lifespan indicates the toolset no of years it is useful It should allow only positive values & also data validation should not be done for 10 digits.It must be capable of storing two or three digit values.
No tags attached.
related to backport 0007794 closed gmauleon We are able to enter negative value in "Safety Lead Time" & "Time Horizon" fields 
blocks defect 0007703 closed gmauleon Data validation is required in "Lifespan" Text field in Production Management -> Toolset Type 
png Issue-7797.png (151,001) 2009-03-25 15:24
https://issues.openbravo.com/file_download.php?file_id=1076&type=bug
png
Issue History
2009-02-24 13:01rafarodaTypedefect => backport
2009-02-24 13:01rafarodafix_in_branch => 2.40
2009-02-24 13:02rafarodaRelationship addedrelated to 0007794
2009-02-25 17:13rafarodaAssigned Togorkaion => gmauleon
2009-03-16 08:33hgbotCheckin
2009-03-16 08:33hgbotNote Added: 0014649
2009-03-16 08:33hgbotStatusscheduled => resolved
2009-03-16 08:33hgbotResolutionopen => fixed
2009-03-16 08:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/ad59eaf647af0b3a086605b6e734696cc052dae7 [^]
2009-03-24 11:01psarobeFixed in Version => 2.40MP4
2009-03-25 12:28sureshbabuStatusresolved => new
2009-03-25 12:28sureshbabuResolutionfixed => open
2009-03-25 12:28sureshbabuNote Added: 0014939
2009-03-25 12:28sureshbabuFixed in Version2.40MP4 =>
2009-03-25 15:23gmauleonNote Added: 0014957
2009-03-25 15:24gmauleonNote Edited: 0014957
2009-03-25 15:24gmauleonFile Added: Issue-7797.png
2009-03-25 15:24gmauleonStatusnew => closed
2009-03-25 15:24gmauleonResolutionopen => no change required
2009-03-25 17:24gmauleonStatusclosed => new
2009-03-25 17:24gmauleonResolutionno change required => open
2009-03-25 17:24gmauleonStatusnew => scheduled
2009-03-25 17:24gmauleonStatusscheduled => resolved
2009-03-25 17:24gmauleonResolutionopen => fixed
2009-03-25 17:35psarobeStatusresolved => closed

Notes
(0014649)
hgbot   
2009-03-16 08:33   
Repository: erp/stable/2.40
Changeset: ad59eaf647af0b3a086605b6e734696cc052dae7
Author: Gorka Mauleon <gorka.mauleon <at> openbravo.com>
Date: Wed Mar 04 16:36:40 2009 +0100
URL: http://code.openbravo.com/erp/stable/2.40/rev/ad59eaf647af0b3a086605b6e734696cc052dae7 [^]

Fixes 0007797: Data validation is required in Lifespan Text field in Production Management -> Toolset Type

---
M src-db/database/sourcedata/AD_COLUMN.xml
---
(0014939)
sureshbabu   
2009-03-25 12:28   
User able to enter negative value as well as 10 digit numbers in Lifespan field
Which is ideally not possible.(life span for an toolset cannot be in negative years.)


(Production Management || Setup || Toolset || Toolset Type )
(0014957)
gmauleon   
2009-03-25 15:23   
(edited on: 2009-03-25 15:24)
The Issue is fixes in https://code.openbravo.com/erp/stable/2.40/ [^]

Please find attached the screenshoot of a test done in the lastest revision. Also the length of the field (10) is correct

Regards