| Summary: | Do not use ,navigate command in Git commands | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Szymon Brandys <Szymon.Brandys> |
| Component: | Git | Assignee: | Project Inbox <orion.git-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | Szymon Brandys <Szymon.Brandys> |
| Severity: | normal | ||
| Priority: | P3 | CC: | maciej.bendkowski |
| Version: | 4.0 | Flags: | maciej.bendkowski:
review+
|
| Target Milestone: | 4.0 RC2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Szymon Brandys
gitCommands.js lines 2142 - 2148
var templateString = require.toUrl("edit/edit.html") + "#{,resource,params*}"; //$NON-NLS-1$ //$NON-NLS-0$
window.location = new URITemplate(templateString).expand({
resource: "", //$NON-NLS-0$
params: {
navigate: repoJson.Children[0].ContentLocation + "?depth=1"
}
});
The fix is gitCommands.js lines 2142 - 2148
replace
var templateString = require.toUrl("edit/edit.html") + "#{,resource,params*}"; //$NON-NLS-1$ //$NON-NLS-0$
window.location = new URITemplate(templateString).expand({
resource: "", //$NON-NLS-0$
params: {
navigate: repoJson.Children[0].ContentLocation + "?depth=1
}
});
with
var editLocation = require.toUrl("edit/edit.html") + "#" + repoJson.Children[0].ContentLocation + "?depth=1"; //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$
window.location = editLocation;
Fixed. |