New SFDX project issues

Issue #1463 resolved
Xander Victory created an issue

Issue 1: folder named the same as the project appears inside project folder (remnant of creating via sfdx command and moving files?)

It has the force-app (or whatever else it was renamed to) present inside.

Issue 2: Creating a project with a dash in the name brings up a failure message box, and project is not created correctly, but IC seems to proceed as if it had. I seem to recall sfdx doesn’t like dashes, but still an improperly handled failure.

IDEA 2019.2.1

Comments (16)

  1. Scott Wells repo owner

    2.0.9.2 includes a fix for the second reported issue where the project creation failure isn't properly detected and displayed for the user.

    Note that Salesforce has said that the inability to specify an SFDX project name containing hyphens is a bug in the CLI that will also be fixed soon.

  2. Scott Wells repo owner

    Yes. Salesforce has recognized it as an issue in the CLI project creation. They claim that it's already fixed:

    We've fixed this on version 7.41.0-2a5f766389 of the CLI and it was part of the updates on plugin salesforcedx-templates version 47.16.0. Thanks for reporting this.

    Can you verify that you're on the latest build of the CLI and, if it's still an issue, please let me know and I'll let them know that it's not fixed.

  3. George Mandala

    I checked my CLI version and it’s the latest. I’m running Mac OS 10.15.3 , IntelliJ IDEA 2019.3.3, IC2 2.1.0.6 btw.

    sfdx-cli: Updating CLI... already on latest version: 7.47.0-0e5d18732f

  4. Scott Wells repo owner

    Okay, and it sounds like this issue is still happening for you? If so, could you please enable debug logging for Salesforce DX, reproduce the issue, and provide an archive of the resulting project structure? That will help me give more details to Salesforce regarding the remaining instance of this issue.

  5. Scott Wells repo owner

    Thanks. Did you happen to get a debug log as well? If not, could you please reproduce one more time with debug logging enabled? That will allow me to share the exact Salesforce CLI invocation used with Salesforce in addition to the resulting directory structure.

  6. George Mandala

    I’m not sure what changed, but I just tried to recreate the issue and it doesn’t seem to be happening anymore.

  7. Scott Wells repo owner

    Yeah, I'm not sure, particularly since this is an issue with the Salesforce CLI and not IC directly. I think at this point let's just see if you notice a recurrence and gather the same info for me to provide to Salesforce.

  8. Log in to comment