-
Notifications
You must be signed in to change notification settings - Fork 79
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:source:deploy failing in 7.116 - "Report was named in package.xml, but was not found in zipped directory" #1165
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
This issue has been linked to a new work item: W-9882522 |
Problem also described here -> https://salesforce.stackexchange.com/questions/357509/unable-to-convert-reports-from-sfdx-sources-to-metadatas-forcesourceconvert |
We forced our CI back to 7.114 and that has resolved the issue for now |
You can fix by updating to the release candidate ahead of time from the stable release (which looks to be released on Sept 24th). https://github.com/forcedotcom/cli/blob/main/releasenotes/README.md#sept-24-2021 run |
Summary
Starting with 7.116 (this morning), my CI pipeline is failing with "Deploy failed" (which is a terribly unhelpful message, BTW)
Without getting too long-winded here, I want to express my disappointment in the massive number of regressions that have crept into the CLI from week-to-week. Thursday is our new doomsday where we hold our breath to find out if our build pipeline is still working when the new CLI hits.
Back to the issue at hand:
When I log into the org and look at the Deployment Status screen, I see the following errors (abridged for making this easier to read)
I have confirmed that the deployment is indeed missing these metadata files.
In 7.114, the deployment was 778 metadata items. In 7.116, it's 726 metadata items.
This issue has similarity to #1112 but the error being reported on that issue is not the one I'm seeing.
Possibly noteworthy: I have multiple package directories specified in my sfdx-project.json:
I ran the deploy with the
SFDX_MDAPI_TEMP_DIR
set and inspected the MDAPI deploy directory. It appears as though any Reports, Dashboards or EmailTemplates that are in Folders (i.e. Folders within Salesforce, not just reorganized source folders) are being omitted.This is the contents of the mdapi ZIP file (abridged again, just to show the email, dashboards and reports directories)
This is the content of the
force-app
folder (thesfdx-common/force-app-common
andsfdx-common/force-app-patrondonate
do not contain any email templates, reports or dashboards.This is my package.xml:
System Information
Even though the version info below is from Windows, this same problem happens on Linux using the latest tarball install.
The text was updated successfully, but these errors were encountered: