You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Benjamin Jugl (Jira)" <ji...@apache.org> on 2021/04/07 14:14:00 UTC

[jira] [Commented] (OFBIZ-12175) Party Export/Import not congruent

    [ https://issues.apache.org/jira/browse/OFBIZ-12175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17316369#comment-17316369 ] 

Benjamin Jugl commented on OFBIZ-12175:
---------------------------------------

We have two issues here:
 # The export ads an extra "," at the end of each line, as the import can not cope with this. Should be fixed on the output side.
 # The import creates ContactMechs using the Service "createPartyContactMech". This Service has been changed to expect a contactMechTypeId and the call on this end has not been modified.

The first problem lies somewhere deep in the Context of the Form-Renderer. In fact every CSV-Export that utilizes the grid-Element of Screens renders to an extra column. Usually this is not so much of an issue, as it is not very important, if reports have an extra column or not. But when using this as an export-import function, it should be working ootb without issues or users having to delete trailing commas. We should create an extra issue for this.

For the second one I will a create a CR. As it is quite easily fixed.

 

> Party Export/Import not congruent
> ---------------------------------
>
>                 Key: OFBIZ-12175
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12175
>             Project: OFBiz
>          Issue Type: Bug
>          Components: party
>    Affects Versions: Trunk
>            Reporter: Benjamin Jugl
>            Assignee: Benjamin Jugl
>            Priority: Minor
>
> Clickpath:
> Party -> Import/Export -> Export Party (or Parties) -> Browse (Import Form) ->Select Exported File -> Upload
> Expected Behaviour:
> Should either import the file, giving new partyIds, leading to duplicate Entries or (if partyIds are imported as well) should give an error, because of duplicate keys or should simply overwrite.
> Behaviour: Error Message reads:
> ??The Following Errors Occurred:??
> ??Error calling event: org.apache.ofbiz.webapp.event.EventHandlerException: Service invocation error (A header name is missing in [partyId, preferredCurrencyUomId, groupName, firstName, middleName, lastName, companyPartyId, companyName, roleTypeId, contactMechPurposeTypeId, contactMechTypeId, emailAddress, telCountryCode, telAreaCode, telContactNumber, address1, address2, city, stateProvinceGeoId, postalCode, countryGeoId, ])??
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)