@rerodrigues commented on Jul 23, 2018, 3:53 PM UTC:
Prerequisites
Description
When clicking in a new or modified file in the git panel, if the filename contains a questions mark, Atom gets lost.
Steps to Reproduce
- Create or modify a file with a question mark in the name (ex.
users?name=John)
- Click on this file in the git panel.
Expected behavior: [What you expect to happen]
The changes made on the file since the last version to be displayed.
Actual behavior: [What actually happens]
- the file shows empty on a suspended tab
- the git the panel shows the "Initialize a new project directory with a Git repository" default message.
- the status bar git applet shows "0 Files", and all the git related commands disappears
Reproduces how often: [What percentage of the time does it reproduce?]
100% of the times
Versions
Atom : 1.28.2
Electron: 2.0.5
Chrome : 61.0.3163.100
Node : 8.9.3
apm 1.19.0
npm 3.10.10
node 6.9.5 x64
atom 1.28.2
python 2.7.10
git 2.15.1
ProductName: Mac OS X
ProductVersion: 10.13.4
BuildVersion: 17E199
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.
I have a mock server that everytime you hit an unmocked URL it creates a mocked version of the response replicating the URL and querystring structure of the request on the file system. This is the reason of the filenames with a question mark in the name.
Edit:
Console output:
Unable to locate git workspace root for atom-github:/file-patch/test.json?teste?workdir=%2FUsers%2Frenrodrigues%2Fdev%2Ftestdir&stagingStatus=unstaged. Expected if atom-github:/file-patch/test.json?teste?workdir=%2FUsers%2Frenrodrigues%2Fdev%2Ftestdir&stagingStatus=unstaged is not in a git repository. Error: ENOENT: no such file or directory, stat 'atom-github:/file-patch/test.json?teste?workdir=%2FUsers%2Frenrodrigues%2Fdev%2Ftestdir&stagingStatus=unstaged'
This issue was moved by rsese from atom/atom#17730.
@rerodrigues commented on Jul 23, 2018, 3:53 PM UTC:
Prerequisites
Description
When clicking in a new or modified file in the git panel, if the filename contains a questions mark, Atom gets lost.
Steps to Reproduce
users?name=John)Expected behavior: [What you expect to happen]
The changes made on the file since the last version to be displayed.
Actual behavior: [What actually happens]
Reproduces how often: [What percentage of the time does it reproduce?]
100% of the times
Versions
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.
I have a mock server that everytime you hit an unmocked URL it creates a mocked version of the response replicating the URL and querystring structure of the request on the file system. This is the reason of the filenames with a question mark in the name.
Edit:
Console output:
Unable to locate git workspace root for atom-github:/file-patch/test.json?teste?workdir=%2FUsers%2Frenrodrigues%2Fdev%2Ftestdir&stagingStatus=unstaged. Expected if atom-github:/file-patch/test.json?teste?workdir=%2FUsers%2Frenrodrigues%2Fdev%2Ftestdir&stagingStatus=unstaged is not in a git repository. Error: ENOENT: no such file or directory, stat 'atom-github:/file-patch/test.json?teste?workdir=%2FUsers%2Frenrodrigues%2Fdev%2Ftestdir&stagingStatus=unstaged'This issue was moved by rsese from atom/atom#17730.