Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 408947

Summary: Breadcrumb links miss path when in edit.html
Product: [ECD] Orion Reporter: Adrian Aichner <adrian.aichner>
Component: NodeAssignee: Project Inbox <orion.server-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Adrian Aichner CLA 2013-05-24 05:51:19 EDT
Breadcrumb links work fine while in table.html:

location.href
"http://my.local.host:8081/navigate/table.html#/file/chromium/src/chrome/browser/resources/extensions?depth=1"

<a class="breadcrumb" href="../navigate/table.html#/file/chromium/src/chrome/browser/resources?depth=1">resources</a>

Note how breadcrumb href contains a relative path component, though unnecessary in this case.

When editing a file, however, things don't work:

location.href
"http://my.local.host:8081/edit/edit.html#/file/chromium/src/chrome/browser/resources/extensions/extensions.js,navigate=/file/chromium/src/chrome/browser/resources/extensions?depth=1"

<a class="breadcrumb" href="#/file/chromium/src/chrome/browser/resources/extensions/extensions.js,navigate=/file/chromium/src/chrome/browser/resources?depth=1">resources</a>

Note how breadcrumb href does not contain a relative path component, even though necessary in this case, since we are in edit/edit.html, not navigate/table.html
Comment 1 Adrian Aichner CLA 2014-02-02 08:05:24 EST
This works for me now in HEAD of master branch.