Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0010829 | Openbravo ERP | A. Platform | public | 2009-09-30 13:13 | 2009-11-20 00:00 | |||||||
Reporter | networkb | |||||||||||
Assigned To | marvintm | |||||||||||
Priority | high | Severity | minor | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 20 | OS Version | rPath Linux | ||||||||
Product Version | 2.50MP5 | |||||||||||
Target Version | 2.50MP9 | Fixed in Version | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | OBPS | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0010829: process "export database module" incorrect with a procedure in database with text PERFORM | |||||||||||
Description | when you run process "export database module" with a procedure in database with text "PERFORM", xml generated is incorrect: xml has twice word "perform" | |||||||||||
Steps To Reproduce | . create module . create procedure in BD with text PERFORM: sample: CREATE OR REPLACE FUNCTION prueba_f(p_pinstance_id character varying) RETURNS void AS $BODY$ DECLARE BEGIN perform AD_UPDATE_PINSTANCE(p_PInstance_ID, NULL, 'Y', NULL, NULL) ; END ; $BODY$ LANGUAGE 'plpgsql' VOLATILE COST 100; ALTER FUNCTION prueba_f(character varying) OWNER TO tad; run "ant export.database -Dmodule="nombreModulo" XML generated is: <?xml version="1.0"?> <database name="FUNCTION PRUEBA_F"> <function name="PRUEBA_F" type="NULL"> <parameter name="p_pinstance_id" type="VARCHAR" mode="in"> <default/> </parameter> <body><![CDATA[BEGIN PERFORM AD_UPDATE_PINSTANCE(p_PInstance_ID, NULL, 'Y', NULL, NULL) ; END PRUEBA_F ]]></body> </function> </database> but when you execute ant update.database -Dmodule="nombreModulo" error is returned and function is not loaded to database: ..... SQL Command failed with: ERROR: error de sintaxis en o cerca de «AD_UPDATE_PINSTANCE» -- END -- ----------------------------------------------------------------------- -- FUNCTION PRUEBA_F -- ----------------------------------------------------------------------- CREATE FUNCTION PRUEBA_F(p_pinstance_id IN VARCHAR) RETURNS VOID AS $BODY$ DECLARE BEGIN perform PERFORM AD_UPDATE_PINSTANCE(p_PInstance_ID, NULL, 'Y', NULL, NULL) ; END ; $BODY$ LANGUAGE plpgsql; Executed 423 SQL command(s) with 1 error(s) ...... Thanks, | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2009-09-30 13:13 | networkb | New Issue | ||||||||||
2009-09-30 13:13 | networkb | Assigned To | => rafaroda | |||||||||
2009-09-30 13:13 | networkb | OBNetwork customer | => Yes | |||||||||
2009-10-01 19:00 | psarobe | Status | new => scheduled | |||||||||
2009-10-01 19:00 | psarobe | Assigned To | rafaroda => marvintm | |||||||||
2009-10-01 19:00 | psarobe | fix_in_branch | => pi | |||||||||
2009-10-02 16:30 | marvintm | Note Added: 0020673 | ||||||||||
2009-10-02 16:30 | marvintm | Status | scheduled => feedback | |||||||||
2009-10-02 18:05 | networkb | Note Added: 0020680 | ||||||||||
2009-10-02 18:05 | networkb | fix_in_branch | pi => | |||||||||
2009-10-02 18:05 | networkb | Proposed Solution updated | ||||||||||
2009-10-05 07:53 | rafaroda | Priority | immediate => high | |||||||||
2009-10-05 07:53 | rafaroda | Status | feedback => scheduled | |||||||||
2009-10-05 16:52 | marvintm | Note Added: 0020711 | ||||||||||
2009-10-05 16:52 | marvintm | Status | scheduled => feedback | |||||||||
2009-10-06 16:44 | networkb | Note Added: 0020791 | ||||||||||
2009-10-08 09:32 | networkb | Status | feedback => new | |||||||||
2009-10-09 09:41 | psarobe | Status | new => scheduled | |||||||||
2009-10-09 09:41 | psarobe | fix_in_branch | => pi | |||||||||
2009-10-22 10:04 | networkb | Target Version | 2.50MP8 => 2.50MP9 | |||||||||
2009-10-22 10:04 | networkb | fix_in_branch | pi => | |||||||||
2009-11-18 10:02 | hgbot | Checkin | ||||||||||
2009-11-18 10:02 | hgbot | Note Added: 0021950 | ||||||||||
2009-11-18 10:02 | hgbot | Status | scheduled => resolved | |||||||||
2009-11-18 10:02 | hgbot | Resolution | open => fixed | |||||||||
2009-11-18 10:02 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/d341fcdd39f918850c53f04fd3e86ed494ec4955 [^] | |||||||||
2009-11-19 16:47 | shuehner | Note Added: 0022029 | ||||||||||
2009-11-19 16:47 | shuehner | Status | resolved => closed | |||||||||
2009-11-20 00:00 | anonymous | sf_bug_id | 0 => 2900810 | |||||||||
2009-12-29 11:21 | shuehner | Relationship added | related to 0011271 | |||||||||
2009-12-30 10:05 | shuehner | Relationship replaced | has duplicate 0011271 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|