You need to sign in to do that
Don't have an account?
Jorg_Janke
sfdx force:package:version:create -c fails with access issues
when creating a (managed) package version, the create fails with field access issues - DescribeFieldResult.isAccessible().
When running the tests in the packaging dev org, all tests run fine.
Even assigning a permission set in the onInstall() install handler succeeded, but did not make a difference.
1) I did not find any reference to field security issues when creating a release version - is this 'expected' behavior?
2) Is there a way to get the test logs after running: sfdx force:package:version:create -c
I also were not able to get code coverage - the --verbose flag creates an error with the current sfdx version (sfdx-cli/7.89.2-d1d2614d02 darwin-x64 node-v14.15.4)
When running the tests in the packaging dev org, all tests run fine.
Even assigning a permission set in the onInstall() install handler succeeded, but did not make a difference.
1) I did not find any reference to field security issues when creating a release version - is this 'expected' behavior?
2) Is there a way to get the test logs after running: sfdx force:package:version:create -c
I also were not able to get code coverage - the --verbose flag creates an error with the current sfdx version (sfdx-cli/7.89.2-d1d2614d02 darwin-x64 node-v14.15.4)
Greetings!
Unfortunately,we can not capture the logs as suggested here.
https://github.com/forcedotcom/cli/issues/614
Please mark it as best answer if it helps you to fix the issue.
Thank you!
Regards,
Shirisha Pathuri