You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Alright, I merged your PR and the fix should be included in the RC next Thursday, sorry we missed your comment after merging the other PR.
We will keep this issue open until it's is promoted to latest on 11/17, thanks for contributing! :)
Summary
After the changes via PR salesforcecli/plugin-org#391,
force:org:create
will no longer invoke the postorgcreate hook, as the lifecycleEventNames prop has been removed and no lifecycle listener gets registered here: https://github.com/salesforcecli/command/blob/9a20f1f57bb55c2929520510ef6bffd5786482d5/src/sfdxCommand.ts#L586Steps To Reproduce:
Run
force:org:create
with a plugin that provides apostorgcreate
hook.Expected result
The
postorgcreate
hook runs when running theforce:org:create
commandActual result
The
postorgcreate
hook DOES NOT run when running theforce:org:create
commandSystem Information
zsh
sfdx
sfdx version --verbose --json
sf
sf version --verbose --json
{
"cliVersion": "sfdx-cli/7.169.1",
"architecture": "darwin-x64",
"nodeVersion": "node-v16.14.0",
"pluginVersions": [
"@oclif/plugin-autocomplete 1.3.0 (core)",
"@oclif/plugin-commands 2.2.0 (core)",
"@oclif/plugin-help 5.1.12 (core)",
"@oclif/plugin-not-found 2.3.1 (core)",
"@oclif/plugin-plugins 2.1.0 (core)",
"@oclif/plugin-update 3.0.0 (core)",
"@oclif/plugin-version 1.1.2 (core)",
"@oclif/plugin-warn-if-update-available 2.0.4 (core)",
"@oclif/plugin-which 2.1.0 (core)",
"alias 2.1.0 (core)",
"apex 1.2.0 (core)",
"auth 2.2.5 (core)",
"community 2.0.1 (core)",
"config 1.4.19 (core)",
"custom-metadata 2.0.0 (core)",
"data 2.1.2 (core)",
"generator 2.0.2 (core)",
"info 2.1.0 (core)",
"limits 2.0.1 (core)",
"org 2.2.3 (core)",
"packaging 1.9.1 (core)",
"schema 2.1.3 (core)",
"signups 1.2.0 (core)",
"source 2.0.13 (core)",
"telemetry 2.0.0 (core)",
"templates 55.1.0 (core)",
"trust 2.0.4 (core)",
"user 2.1.2 (core)",
"@salesforce/sfdx-plugin-lwc-test 1.0.1 (core)",
"salesforce-alm 54.8.1 (core)",
"sfdx-bfs-plugin 2.2.0-10 (link) /usr/local/lib/node_modules/sfdx-bfs-plugin"
],
"osVersion": "Darwin 21.6.0",
"shell": "zsh",
"rootPath": "/usr/local/lib/node_modules/sfdx-cli"
}
Additional information
Feel free to attach a screenshot.
The text was updated successfully, but these errors were encountered: