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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0013642
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Y. DBSourceManagermajoralways2010-06-14 12:322010-07-13 00:00
ReporternetworkbView Statuspublic 
Assigned Tomarvintm 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisiondea60afbccb4
ProjectionnoneETAnoneTarget Version2.50MP20
OSAnyDatabasePostgreSQLJava version
OS VersionDatabase versionAnt version
Product Version2.50MP18SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0013642: The checkTranslationConsistency detects a possible error when using a function from core in your own function.

DescriptionThe checkTranslationConsistency detects a possible error when using a function from core in your own function.
Steps To Reproduce-Create a module with a prefix an set as indevelopment
-Create your own function using the prefix.
-From this function call to a function from core or from other module.
-Execute the export.database task
-You get a warning like following:


[exportdatabase] Found differences in FUNCTION_NAME_1
[exportdatabase] ********************************************************
[exportdatabase] v_ResultStr:='PInstanceNotFound';
[exportdatabase] [PERFORM +]
[exportdatabase] AD_UPDATE_PINSTANCE(PInstance_ID, NULL, 'Y', NULL, NULL) ;
[exportdatabase]
[exportdatabase] [PERFORM +] UPDATE c_order SET em_op_pcng_eva='N' WHERE c_order_ID=v_Record_ID;
[exportdatabase] [ PERFORM+]
[exportdatabase] AD_UPDATE_PINSTANCE(PInstance_ID, NULL, 'N', 0, v_ResultStr) ;
[exportdatabase] RETURN;
[exportdatabase]
[exportdatabase] ********************************************************
[exportdatabase] Found differences in FUNCTION_NAME_2
[exportdatabase] ********************************************************
[exportdatabase] [
[exportdatabase] +] VALUES (get_uuid(), '265406C8AFD045ADB1A1E18C345D6CAE', Cur_Rows.m_product_id, '3125375095B1471FA04D953796F1545D',
[exportdatabase] '512CC47A9CE740F3918B0816279F6B96',[TO_DATE(NOW][now+]()[)],[TO_DATE][now+]([NOW()]
[exportdatabase] ),'0','0');
[exportdatabase]
[exportdatabase] [TO_DATE(NOW][now+]()[)],[TO_DATE][now+]([NOW()]
[exportdatabase] END LOOP;[
[exportdatabase] +]
[exportdatabase]
[exportdatabase] END
[exportdatabase]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0028845)
hgbot (developer)
2010-06-29 10:37

Repository: erp/devel/pi
Changeset: f67a0a6c95b95147f1deb5d8ca3311ac7669be33
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Jun 29 10:36:16 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f67a0a6c95b95147f1deb5d8ca3311ac7669be33 [^]

Fixed issue 13642. CheckTranslationConsistency will work correctly
specifically with functions which use other functions which don't belong to the same module

---
M src-db/database/lib/dbsourcemanager.jar
---
(0028854)
hgbot (developer)
2010-06-29 12:06

Repository: erp/devel/dbsm-main
Changeset: dea60afbccb48a623b9dc4c85e08d0f2ee0acd1e
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Jun 29 10:34:39 2010 +0200
URL: http://code.openbravo.com/erp/devel/dbsm-main/rev/dea60afbccb48a623b9dc4c85e08d0f2ee0acd1e [^]

Fixed issue 13642. CheckTranslationConsistency will work correctly
specifically with functions which use other functions which don't belong to the same module

---
M src/org/apache/ddlutils/Platform.java
M src/org/apache/ddlutils/platform/PlatformImplBase.java
M src/org/apache/ddlutils/platform/oracle/Oracle8Platform.java
M src/org/apache/ddlutils/platform/postgresql/PostgreSqlPlatform.java
M src/org/openbravo/ddlutils/task/ExportDatabase.java
---
(0028993)
hudsonbot (developer)
2010-07-02 14:50

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/f67a0a6c95b9 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/8fd5a427789e [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17797.obx [^]
(0029229)
iperdomo (reporter)
2010-07-12 14:01

Tested on pi @ rev 58227be84239

- Issue History
Date Modified Username Field Change
2010-06-14 12:32 networkb New Issue
2010-06-14 12:32 networkb Assigned To => marvintm
2010-06-14 13:02 iciordia Status new => acknowledged
2010-06-29 10:37 hgbot Checkin
2010-06-29 10:37 hgbot Note Added: 0028845
2010-06-29 10:37 hgbot Status acknowledged => resolved
2010-06-29 10:37 hgbot Resolution open => fixed
2010-06-29 10:37 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f67a0a6c95b95147f1deb5d8ca3311ac7669be33 [^]
2010-06-29 12:06 hgbot Checkin
2010-06-29 12:06 hgbot Note Added: 0028854
2010-06-29 12:06 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/f67a0a6c95b95147f1deb5d8ca3311ac7669be33 [^] => http://code.openbravo.com/erp/devel/dbsm-main/rev/dea60afbccb48a623b9dc4c85e08d0f2ee0acd1e [^]
2010-07-02 14:50 hudsonbot Checkin
2010-07-02 14:50 hudsonbot Note Added: 0028993
2010-07-12 14:01 iperdomo Note Added: 0029229
2010-07-12 14:01 iperdomo Status resolved => closed
2010-07-13 00:00 anonymous sf_bug_id 0 => 3028664


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker