Openbravo Issue Tracking System - Modules
View Issue Details
0053588ModulesExternal Data Integrationpublic2023-10-04 11:352023-10-04 17:13
caristu 
Triage Platform Conn 
highminorhave not tried
newopen 
5
 
 
0053588: Add missing checks to ensure the correct definition of the property mappings
Currently the check to determine if a mapping is supported in an import or export flow is being done when the property mapping itself is processed.

But it would be nice to have an early detection when the mapping is being defined so that we can help to prevent the creation of wrong mapping definitions.

Currently we have not almost any check for this apart from the specific check we added with 0053564 for the OrganizationDateTimeDirectPropertyMapping
.
Add checks in the src/org/openbravo/service/external/integration/handler/PropertyMappingInstanceEventHandler.java to ensure that the property mapping is properly defined. Some checks to be added are:

1) if according to the type of the property, the mapping class can be used.
2) if the mapping references another entity mapping, ensure that both are for the same integration direction, this can help to avoid problems like the one reported in 0051028
No tags attached.
related to feature request 0053564 closed caristu Openbravo ERP Support mapping date properties showing their values in the Organization Time Zone 
related to defect 0051028pi closed ranjith_qualiantech_com Retail Modules Export User API - Mapping Broken 
Issue History
2023-10-04 11:35caristuNew Issue
2023-10-04 11:35caristuAssigned To => Triage Platform Conn
2023-10-04 11:35caristuSummaryAdd import/export is supported check on property mapping definition => Add missing checks to ensure the correct definition of the property mappings
2023-10-04 11:35caristuRelationship addedrelated to 0053564
2023-10-04 17:12caristuProposed Solution updated
2023-10-04 17:13caristuRelationship addedrelated to 0051028

There are no notes attached to this issue.