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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029444
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] K. Packagingminoralways2015-03-27 13:472022-02-01 08:09
ReporteraldoescobView Statuspublic 
Assigned ToTriage Platform Base 
PriorityhighResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version1.7.0_45
OS VersionCentOS 6.4Database version8.4.18Ant version1.7.1
Product Version3.0PR14Q3.5SCM revision3.0.24063 
Review Assigned To
Web browserGoogle Chrome, Mozilla Firefox
ModulesOpenbravo 3.0 Framework
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0029444: SETOF error due to wrong export of function

DescriptionI created a function RETURNS SETOF record, correctly tested in Postgresql enviroment, but Openbravo's rebuild doesn't recognize it, shows "89504 WARN - SQL Command failed with: ERROR: no se puede usar RETURN QUERY en una función que no ha sido declarada SETOF", a fatal rebiuld ERROR. This funcion have SETOF word, but is exported a "VARCHAR" returns in the xml files.

Steps To Reproducetry installing a module with function with SETOF sentence, I attach a example,
Proposed SolutionI tried replace "VARCHAR" for "SETOF record" in xml files in .obx package, but Openbravo's rebuild recognizes a "VOID" return in their logs with a fatal ERROR.
TagsNo tags attached.
Attached Filestxt file icon RES_SETOF_ERROR.txt [^] (27,239 bytes) 2015-03-27 13:47 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0025433 acknowledgedTriage Platform Base Script export.database changes return type stored procedure 
related to design defect 0029492 closedalostale Wrong export of a view 
related to feature request 0052297 newTriage Platform Base Add SETOF return value 

-  Notes
(0081678)
alostale (manager)
2015-11-11 10:39

Currently no supported by dbsm

- Issue History
Date Modified Username Field Change
2015-03-27 13:47 aldoescob New Issue
2015-03-27 13:47 aldoescob Assigned To => shuehner
2015-03-27 13:47 aldoescob File Added: RES_SETOF_ERROR.txt
2015-03-27 13:47 aldoescob Web browser => Google Chrome, Mozilla Firefox
2015-03-27 13:47 aldoescob Modules => Openbravo 3.0 Framework
2015-03-27 13:47 aldoescob Triggers an Emergency Pack => No
2015-03-30 13:21 aldoescob Issue Monitored: aldoescob
2015-04-01 14:37 aldoescob Issue End Monitor: aldoescob
2015-05-12 16:46 shuehner Assigned To shuehner => platform
2015-11-10 16:30 alostale Relationship added related to 0029492
2015-11-10 16:30 alostale Status new => acknowledged
2015-11-11 10:39 alostale Relationship added related to 0025433
2015-11-11 10:39 alostale Web browser Google Chrome, Mozilla Firefox => Google Chrome, Mozilla Firefox
2015-11-11 10:39 alostale Note Added: 0081678
2015-11-11 10:39 alostale Type defect => design defect
2022-02-01 08:09 alostale Assigned To platform => Triage Platform Base
2023-04-29 01:34 axelmercado Relationship added related to 0052297


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker