Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014183 | Openbravo ERP | Y. DBSourceManager | public | 2010-08-13 13:31 | 2010-09-18 00:00 |
Reporter | networkb | ||||
Assigned To | marvintm | ||||
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 20 | OS Version | Community Appliance | |
Product Version | 2.50MP20 | ||||
Target Version | 2.50MP22 | 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 | 0014183: error in update.database when exists lines without indent | ||||
Description | when a function database, there are lines without indent, the process update.database returns an error | ||||
Steps To Reproduce | . create next function in database: CREATE OR REPLACE FUNCTION TEST_PR(OUT aprobado character varying, IN p_pinstance_id character varying) RETURNS character varying AS $BODY$ DECLARE v_Message VARCHAR(2000):=''; -- will contain the final message to be logged v_ResultStr VARCHAR(2000):=''; -- will contain text describing the stage the stored procedure is in BEGIN RAISE NOTICE '%','Updating PInstance - Finished ' || v_Message ; PERFORM AD_UPDATE_PINSTANCE(p_pinstance_id, NULL, 'N', 1, v_Message) ; RETURN; EXCEPTION WHEN OTHERS THEN v_ResultStr:= '@Error=' || SQLERRM; RAISE NOTICE '%',v_ResultStr ; PERFORM AD_UPDATE_PINSTANCE(p_PInstance_ID, NULL, 'N', 0, v_ResultStr) ; RETURN; END ; $BODY$ LANGUAGE 'plpgsql' VOLATILE COST 100; ALTER FUNCTION TEST_PR(character varying) OWNER TO tad_250mp14; . run export.database . run update.database | ||||
Proposed Solution | . add several spaces, in the start of the lines | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-08-13 13:31 | networkb | New Issue | |||
2010-08-13 13:31 | networkb | Assigned To | => marvintm | ||
2010-08-13 13:31 | networkb | OBNetwork customer | => Yes | ||
2010-08-16 08:06 | alostale | Status | new => scheduled | ||
2010-08-16 08:06 | alostale | fix_in_branch | => pi | ||
2010-09-06 13:38 | marvintm | Note Added: 0030645 | |||
2010-09-06 13:38 | marvintm | Status | scheduled => feedback | ||
2010-09-14 09:33 | hgbot | Checkin | |||
2010-09-14 09:33 | hgbot | Note Added: 0031020 | |||
2010-09-14 09:33 | hgbot | Status | feedback => resolved | ||
2010-09-14 09:33 | hgbot | Resolution | open => fixed | ||
2010-09-14 09:33 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/1d0e1fd77ec2bdf20e06b110fe196e2d6b0f00a8 [^] | ||
2010-09-14 09:51 | hgbot | Checkin | |||
2010-09-14 09:51 | hgbot | Note Added: 0031021 | |||
2010-09-14 09:51 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/1d0e1fd77ec2bdf20e06b110fe196e2d6b0f00a8 [^] => http://code.openbravo.com/erp/devel/dbsm-main/rev/0343104474d0aebf909855a82cce5382f34109b6 [^] | ||
2010-09-14 10:04 | marvintm | Note Added: 0031023 | |||
2010-09-15 20:55 | hudsonbot | Checkin | |||
2010-09-15 20:55 | hudsonbot | Note Added: 0031114 | |||
2010-09-17 17:04 | shuehner | Note Added: 0031198 | |||
2010-09-17 17:04 | shuehner | Status | resolved => closed | ||
2010-09-18 00:00 | anonymous | sf_bug_id | 0 => 3069533 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|