Repository navigation
Closed
Labels
investigatingWe're actively investigating this issue
Description
Summary
Setting the language option results in the following error upon package version creation:
ERROR running force:package:version:create: No such column 'Language' on sobject of type Package2VersionCreateRequest.
Steps To Reproduce:
Repository to reproduce: dreamhouse-lwc
- Create new folder campaign-field and add a custom field "Test_Field__c"
- Create a new package using
sfdx force:package:beta:create -n campaign-field -r campaign-field -t Unlocked -v myhuborg - Add the
"language": "en_US",option to the project-scratch-def.json - Create new version of campaign-field package using
sfdx force:package:beta:version:create -p campaign-field -w 20 -x -v myhuborg -f config/project-scratch-def.json
Expected result
A new package version of campaign-field is successfully created
Actual result
Error is thrown: ERROR running force:package:version:create: No such column 'Language' on sobject of type Package2VersionCreateRequest.
System Information
{
"cliVersion": "sfdx-cli/7.183.1",
"architecture": "darwin-x64",
"nodeVersion": "node-v18.12.1",
"pluginVersions": [
"@dxatscale/sfpowerscripts 20.5.2 (user)",
"@eon-com/eon-sfdx 1.9.4 (user)",
"@oclif/plugin-autocomplete 1.3.8 (core)",
"@oclif/plugin-commands 2.2.2 (core)",
"@oclif/plugin-help 5.1.20 (core)",
"@oclif/plugin-not-found 2.3.13 (core)",
"@oclif/plugin-plugins 2.1.8 (core)",
"@oclif/plugin-search 0.0.6 (core)",
"@oclif/plugin-update 3.0.9 (core)",
"@oclif/plugin-version 1.1.4 (core)",
"@oclif/plugin-warn-if-update-available 2.0.18 (core)",
"@oclif/plugin-which 2.2.6 (core)",
"1commerce 0.0.10 (user)",
"alias 2.1.14 (core)",
"apex 1.3.0 (core)",
"auth 2.3.8 (core)",
"community 2.0.18 (core)",
"config 1.4.22 (core)",
"custom-metadata 2.0.5 (core)",
"data 2.1.19 (core)",
"generator 2.0.13 (core)",
"info 2.3.1 (core)",
"limits 2.2.0 (core)",
"org 2.2.20 (core)",
"packaging 1.12.2 (core)",
"schema 2.2.2 (core)",
"signups 1.2.12 (core)",
"source 2.3.12 (core)",
"telemetry 2.0.5 (core)",
"templates 55.1.0 (core)",
"trust 2.2.4 (core)",
"user 2.1.24 (core)",
"@salesforce/sfdx-plugin-lwc-test 1.0.1 (core)",
"salesforce-alm 54.8.5 (core)",
"sfdmu 4.23.8 (user)",
"sfpowerkit 6.0.1 (user)"
],
"osVersion": "Darwin 21.6.0",
"shell": "zsh",
"rootPath": "/Users/user/.local/share/sfdx/client/7.183.1-3a2f5ba"
}
Additional information
The same error occurs for both the beta command & the "ordinary" command.
If this parameter is no longer supported upon package version request means, then we need maintain different versions of the project-scratch-def.json file for package version creation & scratch org creation
Reacted by Sebastien Colladon
Metadata
Metadata
Assignees
Labels
investigatingWe're actively investigating this issue
Activity
github-actions commentedon Jan 18, 2023
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.
WillieRuemmele commentedon Jan 18, 2023
Hi @petter-eikeland thanks for reporting this! We're aware and have already fixed the bug. This will be availble in tomorrow's
latest-rcbuild, or you can install the packaging plugin individually withsfdx plugins:install @salesforce/plugin-packagingand then you can verify withjust make sure to uninstall before upgrading versions 👍
petter-eikeland commentedon Jan 18, 2023
@WillieRuemmele FYI, I'm also getting the following error when specifying a default record type for the Case object (needed for the SSH managed package)
Error:
The error goes away when removing the case default record type. However, I'm not able to recreate the issue with dreamhouse lwc