codestream icon indicating copy to clipboard operation
codestream copied to clipboard

Repo *** not found in your editor when having multiple repositories in pull requests - PHPStorm

Open mathiaskk opened this issue 3 years ago • 5 comments

  • IDE Version: PhpStorm 2022.2.1
  • OS Version: Windows 11

Hi there.

We have this issue with having multiple repositories in pull requests. Whenever i click on a repository that is not a part of my editor then i'm not able to see any pull requests from my selected editor. So now i can't see anything, therefore i'm forced to restart PHPStorm. It would be nice to not be forced to only show pull requests from open repositories.

mathiaskk avatar Sep 14 '22 06:09 mathiaskk

@mathiaskk in the heading of the Pull Requests section click on the gear menu and make sure you don’t have it set to only show PRs for repos you have open in your ide.

planteater avatar Sep 14 '22 10:09 planteater

@mathiaskk in the heading of the Pull Requests section click on the gear menu and make sure you don’t have it set to only show PRs for repos you have open in your ide.

I think you misunderstand :)

The thing is, when i can see all PRs for repos and i expand one that is not open in my IDE then it tells me that "Repo not found in your editor" which is fine. After that i'm getting "Repo not found in your editor" on the repo that are in my IDE. - Then i have to restart PHP Storm

If i haven't expanded such repo then i can expand all PRs that are connected to my current IDE. But not if i expand a repo that is not connected to current IDE

mathiaskk avatar Sep 14 '22 11:09 mathiaskk

Thanks for the clarification @mathiaskk! We'll get a fix out for this asap.

planteater avatar Sep 14 '22 13:09 planteater

I haven't been able to reproduce, but let me make sure I've got the steps correct:

  1. Have Repo A open in the IDE.
  2. Click to view a PR from Repo A. It expands correctly.
  3. Click to view a PR from a repo you don't have open in the IDE. Correctly get the repo-not-found message.
  4. Now try to view a PR from Repo A again, and you incorrectly get the repo-not-found message.

That right? In any case, if you can reproduce your scenario, could I trouble you for a log file? In PhpStorm go to Help > Collect Logs and Diagnostic Data. This will open the finder where you should see a newly created zip file. You can send the file to me directly at [email protected]. Thanks

planteater avatar Sep 14 '22 23:09 planteater

I have sent the logs :)

mathiaskk avatar Sep 16 '22 06:09 mathiaskk

@mathiaskk - This has been fixed in version 14.2.

planteater avatar Sep 30 '22 13:09 planteater