Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0041429 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Modules] External Integration Infrastructure | major | have not tried | 2019-07-23 11:12 | 2019-08-02 09:16 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 53ea9eeefa78 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Review Assigned To | AugustoMauch | |||||||
Regression introduced in release | ||||||||
Summary | 0041429: Not possible to define a Date property mappings to identify a record univocally | |||||||
Description | It is not possible to define a Date property mappings to identify a record univocally. When a property mapping of type "DateDirectPropertyMapping" is marked as "Identifies Record Univocally", the import of the SBO fails with the following error: "java.lang.ClassCastException: java.base/java.lang.String cannot be cast to java.base/java.util.Date" | |||||||
Steps To Reproduce | 0) Install the external integration module for testing[1] 1) Apply the attached patch 2) Execute ant smartbuild -Dlocal=no 3) Run the PriceListImportTest test. It works. 4) Execute the test again. Note that it fails with the error mentioned in Description. Subsequent executions will also fail. [1] https://code.openbravo.com/erp/pmods/org.openbravo.service.external.integration.tests [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | test_41429.diff [^] (1,711 bytes) 2019-07-23 11:14 [Show Content] | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0113588) hgbot (developer) 2019-07-23 12:28 |
Repository: erp/pmods/org.openbravo.service.external.integration.tests Changeset: b7fc84b4a77382d6d83b3a5413f208d58047fac3 Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Tue Jul 23 12:28:44 2019 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.service.external.integration.tests/rev/b7fc84b4a77382d6d83b3a5413f208d58047fac3 [^] related to issue 41429: set Date property as identifies univocally --- M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml --- |
(0113589) hgbot (developer) 2019-07-23 12:31 |
Repository: erp/pmods/org.openbravo.service.external.integration Changeset: 53ea9eeefa789510b37e87a0a6e6d5b6ce5b4e64 Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Tue Jul 23 12:29:56 2019 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.service.external.integration/rev/53ea9eeefa789510b37e87a0a6e6d5b6ce5b4e64 [^] fixes bug 41429: Support for Date properties to identify a record univocally --- M src/org/openbravo/service/external/integration/SynchronizableBusinessObject.java M src/org/openbravo/service/external/integration/importer/DalSynchronizableBusinessObjectImporter.java --- |
(0113686) AugustoMauch (manager) 2019-07-29 11:06 |
It would be useful to also support using DateTime properties to identify records univocally |
(0113770) hgbot (developer) 2019-08-02 08:26 |
Repository: erp/pmods/org.openbravo.service.external.integration Changeset: 3d0c7c76097b062069409e52a33df817d5d50544 Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Fri Aug 02 08:23:42 2019 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.service.external.integration/rev/3d0c7c76097b062069409e52a33df817d5d50544 [^] related to bug 41429: support DateTime as identifies univocally Now DateTime mappings can be configured to identify a record univocally. Some minor code improvements has also been applied --- M src/org/openbravo/service/external/integration/SynchronizableBusinessObject.java --- |
(0113775) AugustoMauch (manager) 2019-08-02 09:16 |
Code reviewed and verified |
Issue History | |||
Date Modified | Username | Field | Change |
2019-07-23 11:12 | caristu | New Issue | |
2019-07-23 11:12 | caristu | Assigned To | => caristu |
2019-07-23 11:12 | caristu | Issue generated from | 0041427 |
2019-07-23 11:13 | caristu | Steps to Reproduce Updated | View Revisions |
2019-07-23 11:14 | caristu | Steps to Reproduce Updated | View Revisions |
2019-07-23 11:14 | caristu | File Added: test_41429.diff | |
2019-07-23 12:28 | hgbot | Checkin | |
2019-07-23 12:28 | hgbot | Note Added: 0113588 | |
2019-07-23 12:31 | hgbot | Checkin | |
2019-07-23 12:31 | hgbot | Note Added: 0113589 | |
2019-07-23 12:31 | hgbot | Status | new => resolved |
2019-07-23 12:31 | hgbot | Resolution | open => fixed |
2019-07-23 12:31 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.service.external.integration/rev/53ea9eeefa789510b37e87a0a6e6d5b6ce5b4e64 [^] |
2019-07-23 12:33 | caristu | Review Assigned To | => AugustoMauch |
2019-07-29 11:06 | AugustoMauch | Note Added: 0113686 | |
2019-07-29 11:06 | AugustoMauch | Status | resolved => new |
2019-07-29 11:06 | AugustoMauch | Resolution | fixed => open |
2019-08-02 08:26 | hgbot | Checkin | |
2019-08-02 08:26 | hgbot | Note Added: 0113770 | |
2019-08-02 08:27 | caristu | Status | new => scheduled |
2019-08-02 08:27 | caristu | Status | scheduled => resolved |
2019-08-02 08:27 | caristu | Resolution | open => fixed |
2019-08-02 09:16 | AugustoMauch | Note Added: 0113775 | |
2019-08-02 09:16 | AugustoMauch | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |