Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027443
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementminorhave not tried2014-08-23 17:282014-10-29 17:14
ReportershuehnerView Statuspublic 
Assigned Toshuehner 
PrioritynormalResolutionfixedFixed in Version3.0PR15Q1
StatusclosedFix in branchFixed in SCM revisionc860b3092ded
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Status
Review Assigned ToSandrahuguet
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027443: pl-function m_inout_updatequantityes has uuid bug

DescriptionThat function has this variable defined

v_Lines_Aux NUMERIC(10) ;

But is using it like this:
128 v_StrSQL:='SELECT MIN(M_INOUTLINE_ID) FROM M_INOUTLINE ';
139 EXECUTE v_StrSQL INTO v_Lines_Aux;
148 WHERE M_INOUTLINE.M_INOUTLINE_ID=v_Lines_Aux;

As it is being used as an uuid.

Note: Used in probably inactive window ("Update attributes from shipment")
only but should be fixed nevertheless to get rid of the errror
Steps To Reproducereview pl body
Proposed Solutionredefine as varchar2(32)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0069653)
shuehner (administrator)
2014-08-23 17:29

Found using plpgsql-check
(0070807)
shuehner (administrator)
2014-10-08 12:48

changeset: 25021:c860b3092ded
tag: tip
user: Stefan Hühner <stefan.huehner@openbravo.com>
date: Tue Oct 07 18:35:13 2014 +0200
files: src-db/database/model/functions/M_INOUT_UPDATEQUANTITYES.xml
description:
Fix 27443. Fix uuid bug in pl-function m_inout_updatequantities
The variable v_lines_aux in that pl-function is defined as numeric(10) but is
clearly used to hold uuid.
Redefine it to have correct datatype.
(0071250)
Sandrahuguet (viewer)
2014-10-29 17:14

Code review + testing Ok

- Issue History
Date Modified Username Field Change
2014-08-23 17:28 shuehner New Issue
2014-08-23 17:28 shuehner Assigned To => dmiguelez
2014-08-23 17:28 shuehner OBNetwork customer => No
2014-08-23 17:28 shuehner Modules => Core
2014-08-23 17:28 shuehner Triggers an Emergency Pack => No
2014-08-23 17:29 shuehner Note Added: 0069653
2014-09-03 13:58 eduardo_Argal Assigned To dmiguelez => shuehner
2014-10-08 12:48 shuehner Note Added: 0070807
2014-10-08 12:49 shuehner Review Assigned To => eduardo_Argal
2014-10-08 12:49 shuehner Fixed in SCM revision => https://code.openbravo.com/erp/devel/pi/rev/c860b3092ded [^]
2014-10-08 12:49 shuehner Status new => scheduled
2014-10-08 12:49 shuehner Status scheduled => resolved
2014-10-08 12:49 shuehner Fixed in Version => 3.0PR15Q1
2014-10-08 12:49 shuehner Resolution open => fixed
2014-10-29 17:14 Sandrahuguet Review Assigned To eduardo_Argal => Sandrahuguet
2014-10-29 17:14 Sandrahuguet Note Added: 0071250
2014-10-29 17:14 Sandrahuguet Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker