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

package:version:create fails when reports have subfolders #2039

Closed
mshanemc opened this issue Apr 5, 2023 · 4 comments
Closed

package:version:create fails when reports have subfolders #2039

mshanemc opened this issue Apr 5, 2023 · 4 comments
Labels
area:packaging owned by another team The Salesforce CLI team does not own this work but will pass on the information to the correct team.

Comments

@mshanemc
Copy link
Contributor

mshanemc commented Apr 5, 2023

creating a new issue to represent the residual part of #367.

sfdx force:package:version:create fails with error Entity Report and member ManagementLevelReports/PeopleDashboardReports did not resolve to an id while serializing Released Entity State where there are report subfolders.

@mshanemc mshanemc added the owned by another team The Salesforce CLI team does not own this work but will pass on the information to the correct team. label Apr 5, 2023
@github-actions
Copy link

github-actions bot commented Apr 5, 2023

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.

@shetzel
Copy link
Contributor

shetzel commented Feb 1, 2024

I followed the steps of #367 and created a package version that includes the report folders and subfolders without errors. My report structure within the Dreamhouse-lwc sample app looked like this:
Screenshot 2024-02-01 at 2 05 06 PM

I command I ran was: sf package version create -x -p DreamhouseLWC -w 10 --skip-validation

@shetzel shetzel closed this as completed Feb 1, 2024
@sawuapara
Copy link

@shetzel If you --skip-validation the error does not occur but if you omit --skip-validation you will see the error.

sf Version: 2.78.3
packaging 2.9.17

@WillieRuemmele
Copy link
Member

hi @sawuapara -

using 2.79.4 / packaging 2.10.1 I was able to create a package + package version with nested folders.

using the hidden --preserve flag on package version create I was able to confirm the metadata was in the correct format.

if you're still seeing this error, open a case with support. This will be a packaging server-side bug at that point

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:packaging owned by another team The Salesforce CLI team does not own this work but will pass on the information to the correct team.
Projects
None yet
Development

No branches or pull requests

4 participants