| Summary: | Inconsistent type for "Directory" value in POST file request | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Chris McGee <cbmcgee> |
| Component: | Client | Assignee: | Project Inbox <orion.client-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see: https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html |
In much of the Orion server File API the "Directory" property is used to convey whether some file (or project) is a directory or not. Whenever the server provides this property the Orion client expects the value to be a literal boolean (true or false) and not a stringified boolean ("true" or "false"). However, in the case of the POST request against the /file service I noticed that the Orion client is sending the stringified boolean. It seems inconsistent for this property to have two different expected values depending on whether the information flows from the client or the server.