| Summary: | Invalid use of fileClient read() API when opening editor page on a Directory | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Mark Macdonald <mamacdon> |
| Component: | Client | Assignee: | Silenio Quarti <Silenio_Quarti> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Silenio_Quarti, simon_kaegi |
| Version: | 4.0 | ||
| Target Milestone: | 4.0 RC2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Mark Macdonald
I think what needs to happen is: the resource passed to the page is the Location of the directory (or file), not the ChildrenLocation. inputManager should call read() on the Location and continue as before. One more thing to note: 3) read()ing the "contents" of a directory -- i.e. read(Directory.Location, false) -- is not defined. It may be OK for the inputManager to keep doing this, but we must keep in mind that some filesystems may reject when this is called on a directory. Hrm.. looking at the code I see a lot of URL creation without using the URI Template. This will get the encoding wrong when there are characters that need to be uri encoded. |