Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029444Openbravo ERPK. Packagingpublic2015-03-27 13:472022-02-01 08:09
aldoescob 
Triage Platform Base 
highminoralways
acknowledgedopen 
30CentOS 6.4
3.0PR14Q3.5 
 
Google Chrome, Mozilla Firefox
Openbravo 3.0 Framework
No
0029444: SETOF error due to wrong export of function
I 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.

try installing a module with function with SETOF sentence, I attach a example,
I 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.
No tags attached.
related to design defect 0025433 acknowledged Triage Platform Base Script export.database changes return type stored procedure 
related to design defect 0029492 closed alostale Wrong export of a view 
related to feature request 0052297 new Triage Platform Base Add SETOF return value 
txt RES_SETOF_ERROR.txt (27,239) 2015-03-27 13:47
https://issues.openbravo.com/file_download.php?file_id=7943&type=bug
Issue History
2015-03-27 13:47aldoescobNew Issue
2015-03-27 13:47aldoescobAssigned To => shuehner
2015-03-27 13:47aldoescobFile Added: RES_SETOF_ERROR.txt
2015-03-27 13:47aldoescobWeb browser => Google Chrome, Mozilla Firefox
2015-03-27 13:47aldoescobModules => Openbravo 3.0 Framework
2015-03-27 13:47aldoescobTriggers an Emergency Pack => No
2015-03-30 13:21aldoescobIssue Monitored: aldoescob
2015-04-01 14:37aldoescobIssue End Monitor: aldoescob
2015-05-12 16:46shuehnerAssigned Toshuehner => platform
2015-11-10 16:30alostaleRelationship addedrelated to 0029492
2015-11-10 16:30alostaleStatusnew => acknowledged
2015-11-11 10:39alostaleRelationship addedrelated to 0025433
2015-11-11 10:39alostaleWeb browserGoogle Chrome, Mozilla Firefox => Google Chrome, Mozilla Firefox
2015-11-11 10:39alostaleNote Added: 0081678
2015-11-11 10:39alostaleTypedefect => design defect
2022-02-01 08:09alostaleAssigned Toplatform => Triage Platform Base
2023-04-29 01:34axelmercadoRelationship addedrelated to 0052297

Notes
(0081678)
alostale   
2015-11-11 10:39   
Currently no supported by dbsm