Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0040521 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Modules] External Integration Infrastructure | minor | have not tried | 2019-04-04 13:24 | 2019-04-05 15:06 | |||
| Reporter | caristu | View Status | public | |||||
| Assigned To | caristu | |||||||
| Priority | high | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | Fixed in SCM revision | a66bee8a4806 | ||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| Merge Request Status | ||||||||
| Regression date | ||||||||
| Regression introduced by commit | ||||||||
| Regression level | ||||||||
| Review Assigned To | AugustoMauch | |||||||
| Support ticket | ||||||||
| OBNetwork customer | No | |||||||
| Regression introduced in release | ||||||||
| Summary | 0040521: ConditionalPropertyMapping and AfterFlushHook instances are not being injected | |||||||
| Description | After the Weld upgrade (0040193), ConditionalPropertyMapping and AfterFlushHook instances are not being injected. Seems that the behavior when injecting classes that implement generic interfaces has been redefined. See[1]. [1] https://docs.jboss.org/cdi/spec/2.0-PFD/cdi-spec.html#assignable_parameters [^] | |||||||
| Steps To Reproduce | 1) Install the https://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration.examples [^] test module 2) Execute the ExportPropertyMappingTest.testUnsatisfiedConditionalMapping test. Note that the test fails because the related expected ConditionalPropertyMapping instance is not executed. Note that also test of CountryImportWithExtensionsTest class are failing for the same reason. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|||||||||
|
|||||||||
Notes |
|
|
(0110982) hgbot (developer) 2019-04-04 13:32 |
Repository: erp/pmods/org.openbravo.service.external.integration Changeset: a66bee8a48068e8a0b9a497fbf18d2e8f3677d22 Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Thu Apr 04 13:30:38 2019 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.service.external.integration/rev/a66bee8a48068e8a0b9a497fbf18d2e8f3677d22 [^] fixes bug 40521: ConditionalPropertyMapping and AfterFlushHook are not injected The behavior when injecting classes that implement generic interfaces is different in CDI 2.0. (See[1]). For this reason we need to use wildcards for defining the injection points for such classes. --- M src/org/openbravo/service/external/integration/importer/SynchronizableBusinessObjectImporter.java M src/org/openbravo/service/external/integration/mapping/PropertyMapper.java --- |
|
(0111007) AugustoMauch (administrator) 2019-04-05 15:06 |
Code reviewed and verified |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2019-04-04 13:24 | caristu | New Issue | |
| 2019-04-04 13:24 | caristu | Assigned To | => platform |
| 2019-04-04 13:24 | caristu | OBNetwork customer | => No |
| 2019-04-04 13:24 | caristu | Relationship added | related to 0040193 |
| 2019-04-04 13:24 | caristu | Description Updated | View Revisions |
| 2019-04-04 13:25 | caristu | Steps to Reproduce Updated | View Revisions |
| 2019-04-04 13:27 | caristu | Summary | ConditionalPropertyMapping instances are not being injected => ConditionalPropertyMapping and AfterFlushHook instances are not being injected |
| 2019-04-04 13:27 | caristu | Description Updated | View Revisions |
| 2019-04-04 13:29 | caristu | Steps to Reproduce Updated | View Revisions |
| 2019-04-04 13:32 | hgbot | Checkin | |
| 2019-04-04 13:32 | hgbot | Note Added: 0110982 | |
| 2019-04-04 13:32 | hgbot | Status | new => resolved |
| 2019-04-04 13:33 | hgbot | Resolution | open => fixed |
| 2019-04-04 13:33 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.service.external.integration/rev/a66bee8a48068e8a0b9a497fbf18d2e8f3677d22 [^] |
| 2019-04-04 13:33 | caristu | Assigned To | platform => caristu |
| 2019-04-04 13:33 | caristu | Relationship deleted | related to 0040193 |
| 2019-04-04 13:33 | caristu | Relationship added | caused by 0040193 |
| 2019-04-04 13:34 | caristu | Review Assigned To | => AugustoMauch |
| 2019-04-05 15:06 | AugustoMauch | Note Added: 0111007 | |
| 2019-04-05 15:06 | AugustoMauch | Status | resolved => closed |
| Copyright © 2000 - 2009 MantisBT Group |