• NoOrgFound - No org configuration found for name test-s5jmvlwc6kat@example.com
When I create new scratch org with username def for first time, it works well, IC recognizes it push source works correctly and other things also.
Then after deletion def scratch org and creating new one with the same username - def - when I try to push source it gives error from Title:
• NoOrgFound - No org configuration found for name test-s5jmvlwc6kat@example.com
Interesting thing is that all other things like, open connection, anonymous apex, soql query editor works well with new def org.
Comments (12)
-
repo owner -
reporter CLI works always well. Log attached
-
reporter - attached idea.log
-
repo owner Patryk, thanks for the log. Here's what I see:
2018-06-07 16:33:57,005 [1961532] INFO - j.builder.ForceComSfdxDeployer - Using the sfdx CLI to push changes for project 'HappyStaffing' to scratch org 'def' with force=false, background=false. 2018-06-07 16:33:57,005 [1961532] DEBUG - atedcloud.util.CommandLineUtil - Running command line: C:/Program Files/sfdx/bin/sfdx.exe force:source:push -u test-g88loffdtmjp@example.com --json
If you run
sfdx force:org:list
from the command-line, what username does it show for the aliasdef
? If it's nottest-g88loffdtmjp@example.com
, my guess is that IC has cached something more aggressively than it should have. If that's the case, does restarting the IDE resolve the issue? -
reporter ALIAS SCRATCH ORG NAME USERNAME ORG ID EXPIRATION DATE ─── ───── ──────────────── ───────────────────────────── ────────────────── ─────────────── (U) def Demo Company test-l6vxghqdvvq6@example.com 00D7E000000DOT2UAO 2018-06-14
-
reporter Yes, restart solved the issue.
-
repo owner Okay, so IC has a stale reference to the old username. Does restarting the IDE resolve the issue? Obviously not ideal, but trying to see if that gives you an effective workaround until I can address the bug.
-
reporter And also I just thought that would be nice to have possibility to set up push progress bar to run allways in background, without need to click 'Background' on every push or pull
-
repo owner FYI, if you initiate a push using Ctrl+S/Cmd+S, it starts in the background.
-
repo owner Easily reproduced. I'll include a fix in the next build.
-
repo owner Fixed. It'll be in this week's build.
-
repo owner - changed status to resolved
Delivered in 1.8.3.3 and 2.0.2.6. IC should detect when scratch orgs associated with the same alias change as a result of expiration/explicit deletion and subsequent recreation.
- Log in to comment
Patryk, this looks like an error coming back from the CLI. Does the same thing occur if you run the corresponding commands via the CLI? The reason that anonymous Apex, open connection, etc., would work is that those bypass the CLI and instead just use the OAuth access token.
You can also just run the failing command with debug logging enabled for Salesforce DX as documented here:
http://www.illuminatedcloud.com/support/debuglogging
and send me the resulting
idea.log
. That will show me clearly what the CLI is doing when this failure occurs.