-
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
invalid cross reference id when creating new package version #2133
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. |
We had a recent bug with certain node versions where that command would "succeed" but not really. |
@mshanemc just saw that ProfileActionOverrides cannot be used in package but was working fine since a long time.
|
Hello @barak-11, you mentioned that this just recently stopped working. Can you please try a few more versions and narrow down the exact CLI version in which this broke? That will make it easier to track down what changed. |
hello @iowillhoit
{ |
If no CLI versions work anymore, that adds support for the theory that the packaging process changed to align with the docs. |
Closing this issue as it seems that the process now matches the documentation as Shane mentioned. Will continue the other discussion in 2153 |
Summary
Unable to create new package version for unlocked packages. getting:
Steps To Reproduce:
@salesforce/cli/1.77.6 darwin-arm64 node-v19.9.0
or sfdx-cli to 7.200.7
sf package version create --package "myPackage" -x --wait 100
or run
sfdx package:version:create -p "myPackage" -x -w 100
Expected result
expected it work as it did the day before I upgraded the sf-cli.
Version create.... Create version status: Success
Actual result
System Information
using zsh on Mac Ventura
Additional information
Was able to resolve it by reverting to old sfdx version 7.196.9 and executing:
sfdx package:version:create -p "myPackage" -x -w 100
.Another way to resolve it is just to remove the profileActionOverrides but that doesn't really help.
The text was updated successfully, but these errors were encountered: