Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019401Openbravo ERP09. Financial managementpublic2012-01-03 11:342012-01-03 11:47
egoitz 
egoitz 
urgentmajoralways
closedfixed 
5
2.50MP28 
2.50MP38 
Core
No
0019401: c_validcombination_insert function has a variable incorrectly defined
Variable retvalue is defined with number(10) and should be varchar(32) because ids are assigned to this variable.
-Open the account selector
-Find for a combination that does not exist
-Save it.
-click on save again.
*An error is raised on the tomcat log.
Change the variable retvalue from number(10) to vachar(32)
No tags attached.
depends on defect 00192583.0MP7 closed jecharri c_validcombination_insert function has a variable incorrectly defined 
Issue History
2012-01-03 11:34egoitzNew Issue
2012-01-03 11:34egoitzAssigned To => egoitz
2012-01-03 11:34egoitzModules => Core
2012-01-03 11:34egoitzRelationship addeddepends on 0019258
2012-01-03 11:37hgbotCheckin
2012-01-03 11:37hgbotNote Added: 0044096
2012-01-03 11:37hgbotStatusnew => resolved
2012-01-03 11:37hgbotResolutionopen => fixed
2012-01-03 11:37hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/240202af6b24b9dd38b5a25ffcdef1bc6fa4c45f [^]
2012-01-03 11:40egoitzNote Added: 0044097
2012-01-03 11:47maiteNote Added: 0044098
2012-01-03 11:47maiteStatusresolved => closed

Notes
(0044096)
hgbot   
2012-01-03 11:37   
Repository: erp/stable/2.50
Changeset: 240202af6b24b9dd38b5a25ffcdef1bc6fa4c45f
Author: Egoitz Castillo <egoitz.castillo <at> openbravo.com>
Date: Tue Jan 03 11:36:56 2012 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/240202af6b24b9dd38b5a25ffcdef1bc6fa4c45f [^]

Fixed Issue 19401: c_validcombination_insert with incorrect variable type

---
M src-db/database/model/functions/C_VALIDCOMBINATION_INSERT.xml
---
(0044097)
egoitz   
2012-01-03 11:40   
* How to test the issue
Follow the steps to reproduce and you shouldn' get any error on the log. Notice that the error is not raised on the application but only on the log.
 * Other areas affected
No others area are affected, or if affected the behaviour will be better because the varialble now can be used properly.
Only id's are assigned to the varible so it is needed to be defined as varchar.
(0044098)
maite   
2012-01-03 11:47   
verified