Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading CustomMetadata records with null values for Number fields #9

Open
wpiedrahita opened this issue Feb 17, 2017 · 2 comments

Comments

@wpiedrahita
Copy link

Error Message detail

Web service callout failed: WebService returned a SOAP Fault: '' is not valid for the type xsd:double faultcode=soapenv:Client faultactor=
El error está en la expresión '{!upsertCustomMetadata}' del componente apex:commandButton en page custommetadatarecorduploader: Class.MetadataService.MetadataPort.upsertMetadata: line 9261, column 1
Class.MetadataUtil.upsertMetadataAndValidate: line 131, column 1
Class.MetadataUtil.transformToCustomMetadataAndCreateUpdate: line 97, column 1
Class.CustomMetadataUploadController.importCSVFileAndCreateUpdateCmdRecords: line 127, column 1
Class.CustomMetadataUploadController.upsertCustomMetadata: line 52, column 1

@wpiedrahita wpiedrahita changed the title Error loading CustomMetadata records that are related to others Error loading CustomMetadata records with null values for Number fields Feb 17, 2017
@michellebaeten
Copy link

It's not just Number fields. Any field without a value will be ignored which means all other values will shift left and get populated in the wrong field.

@alex-wilson-gwf
Copy link

I've proposed a simple fix here, which works for me. Interested to hear if it breaks anything else?

1a6c01a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants