Notes |
|
(0025216)
|
hgbot
|
2010-03-10 17:47
|
|
Repository: erp/devel/pi
Changeset: ee232d567bd94c8045752d998f5a7d61193f1e52
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Mar 10 17:52:48 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/ee232d567bd94c8045752d998f5a7d61193f1e52 [^]
Fixes issue 12106: record identifier returned from dal uses ' ' as separator of columns, but normal pl-version uses ' - '
---
M src-test/org/openbravo/test/dal/IssuesTest.java
M src/org/openbravo/base/structure/IdentifierProvider.java
---
|
|
|
|
Reopening as the fix done is only a partial fix.
However the part committed is fine so not need to back it out until the whole fix is done. |
|
|
|
Issue left open is formatting of dates which is still different for sql/dal-identifiers:
Example identifier of a sales order:
60001 - 12-03-2010 - 40.60 sql identifier
60001 - 2010-03-12 00:00:00.0 - 40.60 dal identifier
Improvement not for the testcase done: really compare text output of sql-identifier function and dal-getidentifier function.
AD_COLUMN_IDENTIFIER(TO_CHAR('M_Product'), M_Product_ID, 'en_US') gives the english identifier of the given product. |
|
|
|
|
|
(0025473)
|
mtaal
|
2010-03-15 12:22
|
|
Another change which maybe considered as part of this issue:
https://issues.openbravo.com/view.php?id=12564 [^]
show the value together with the name for list references
Possibly this function should be re-implemented when implementation translation/i18n in the DAL. |
|
|
(0025504)
|
hgbot
|
2010-03-16 07:08
|
|
Repository: erp/devel/pi
Changeset: d0560422ea808c40a2dff7dac7ea4d330b570968
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Mar 16 07:15:09 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/d0560422ea808c40a2dff7dac7ea4d330b570968 [^]
fixes issue 12106: record identifier returned from dal uses ' ' as separator of columns, but normal pl-version uses ' - '
---
M src/org/openbravo/base/structure/IdentifierProvider.java
---
|
|
|
(0025529)
|
mtaal
|
2010-03-16 11:03
|
|
Commit done to early, will be done again in 3 days |
|
|
|
|
|
(0025624)
|
hgbot
|
2010-03-19 17:32
|
|
Repository: erp/devel/pi
Changeset: 9f2ed50b5162db423ad60c5d123f202f5e973546
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Mar 19 17:40:09 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/9f2ed50b5162db423ad60c5d123f202f5e973546 [^]
fixes issue 12106: record identifier returned from dal uses ' ' as separator of columns, but normal pl-version uses ' - '
---
M src-test/org/openbravo/test/dal/IssuesTest.java
M src/org/openbravo/base/structure/IdentifierProvider.java
---
|
|
|
(0025627)
|
mtaal
|
2010-03-19 20:47
|
|
I have a testcase which reads a record using the dal and computes the date through a stored procedure.
this works for postgres but fails for oracle, it seems that oracle does not follow the date format defined in the properties.
expected:<200000 - 29-[MAR-]06 - 3233.49 - 0 - 0> but was:<200000 - 29-[03-20]06 - 3233.49 - 0 - 0>
Stacktrace
junit.framework.ComparisonFailure: expected:<200000 - 29-[MAR-]06 - 3233.49 - 0 - 0> but was:<200000 - 29-[03-20]06 - 3233.49 - 0 - 0>
at org.openbravo.test.dal.IssuesTest.test12106(IssuesTest.java:134)
at org.openbravo.test.base.BaseTest.runTest(BaseTest.java:166) |
|
|
|
Tested in pi/oracle, rev: 6ba00074e974. DAL based identifier and identifier shown in a wad window are now the same with respect to seperator char and date-formatting. Not testing the testcase issue as it depends on a solution for 12901 first. |
|
|
|
|