-
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
sf community create should not require a url-path-prefix since that is not required by Salesforce #2005
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. |
This issue has been linked to a new work item: W-12726772 |
Hey. I tried removing the I think you're right, according to the docs, but not according to what the API will actually accept. If this is important to you, open a salesforce case so that API gets fixed. |
Well, can the REST API accept an empty string? This command work for me: The change to the new "sf community create" command broke that behavior of allowing --url-path-prefix "". Trying to pass -url-path-prefix "" should work with the new "sf community create" and it doesn't. That's the bug, I believe. |
Hey @peterTrifecta, I will give this a try and report back |
Thanks for the followup @peterTrifecta, this was a regression! I got a quick fix in. |
fixed in sfdx v7.194.1. |
https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_community_commands_unified.htm#cli_reference_community_create_unified
When I run an
sf community create
command without an --url-path-prefix or with --url-path-prefix "" I get errors.without --url-path-prefix gives me Missing required flag url-path-prefix
--url-path-prefix "" gives me Error (1): Enter a URL for your site.
The problem is that it is perfectly legitimate to not have a url-prefix on a community in a scratch org.
I am able to successfully run
sfdx force:community:create
and pass --url-path-prefix "".The text was updated successfully, but these errors were encountered: