Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340355 - [client] The editor does not work for some URIs
Summary: [client] The editor does not work for some URIs
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 0.2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 334213
  Show dependency tree
 
Reported: 2011-03-17 13:46 EDT by Szymon Brandys CLA
Modified: 2011-09-01 11:42 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Mark Macdonald CLA 2011-03-18 12:25:58 EDT
In coding.html we use the hash to store the URL of the resource being edited, and also to provide "line" and "char" parameters in a query-style format, 
Eg. coding.html#/path/to/file.txt?line=25&char=6

This is ambiguous when the resource URL includes "?&". For example we can't distinguish between

> coding.html#file.txt?parts=body

and

> coding.html#file.txt?line=25

This is a design issue that we need to solve.
Comment 2 Mark Macdonald CLA 2011-03-18 12:33:14 EDT
To stop blocking Szymon, I've made coding.html more conservative when it parses the hash. It now only assumes that "char" and "line" are parameters for the editor, and leaves stuff like ?parts=body alone.

I opened Bug 340458 for discussion of our hash-usage approach.