-
Notifications
You must be signed in to change notification settings - Fork 78
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
force:cmdt:record:insert causes deployments to fail if there is a Metadata Relationship data type #544
Comments
@louisskelton I will share your issue with the cmdt team. Thank you |
@clairebianchi this issue also occurs for force:cmdt:record:create. Can you have someone create a bug report and pass it to the right team? I guess it's the same issue. The solution is the same. |
I'm currently hitting this issue as well trying to create records from CSV file. Any updates? |
I've asked for an update from the cmdt team. I'll pass along any details they give me if no one responds here directly. |
This issue has been linked to a new work item: W-8969685 |
We have determined that the issue you reported exists in code owned by another team that uses only the official support channels. To ensure that your issue is addressed, open an official Salesforce customer support ticket with a link to this issue. We encourage anyone experiencing this issue to do the same to increase the priority. We will keep this issue open for the community to collaborate on. |
any update on this , or is there any workaround available except the Replacing xsi:type="xsd:undefined" with xsi:type="xsd:string" in the XML |
Any update? |
Hi Github community - I'm the Salesforce PM for the Custom Schema area which owns CMDTs. Unfortunately due to other competing priorities, we don’t currently have it on our roadmap to resolve this issue. Hopefully, the identified workaround gets most customers out of this situation. In order for us to get this prioritized we would need to see overwhelming feedback on the Trailblazer Community / IdeaExchange and/or large volume of high-severity support cases. |
Summary
Using
force:cmdt:record:insert
generates XML with Metadata Relationship data types tagged asxsi:type="xsd:undefined"
. When deploying the resulting Custom Metadata Records the following error is received:ERROR running force:source:deploy: Deploy failed
Replacing
xsi:type="xsd:undefined"
withxsi:type="xsd:string"
fixes the issue.Steps To Reproduce:
force:cmdt:record:insert
to create XML Custom Metadata Records for each TypeExpected result
Deploy should be successful
Actual result
Deploy fails with
ERROR running force:source:deploy: Deploy failed
Additional information
Replacing
xsi:type="xsd:undefined"
withxsi:type="xsd:string"
in the XML generated withforce:cmdt:record:insert
fixes the issue.Version: sfdx-cli/7.68.6-d37008df83 darwin-x64 node-v12.18.3
The text was updated successfully, but these errors were encountered: