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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053588
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Modules] External Data Integrationminorhave not tried2023-10-04 11:352023-10-04 17:13
ReportercaristuView Statuspublic 
Assigned ToTriage Platform Conn 
PriorityhighResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0053588: Add missing checks to ensure the correct definition of the property mappings

DescriptionCurrently 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
Steps To Reproduce.
Proposed SolutionAdd 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0053564 closedcaristu Openbravo ERP Support mapping date properties showing their values in the Organization Time Zone 
related to defect 0051028pi closedranjith_qualiantech_com Retail Modules Export User API - Mapping Broken 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2023-10-04 11:35 caristu New Issue
2023-10-04 11:35 caristu Assigned To => Triage Platform Conn
2023-10-04 11:35 caristu Summary Add 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:35 caristu Relationship added related to 0053564
2023-10-04 17:12 caristu Proposed Solution updated
2023-10-04 17:13 caristu Relationship added related to 0051028


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker