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

Bug 408148

Summary: Inconsistent type for "Directory" value in POST file request
Product: [ECD] Orion Reporter: Chris McGee <cbmcgee>
Component: ClientAssignee: Project Inbox <orion.client-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Chris McGee CLA 2013-05-15 11:53:24 EDT
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.
Comment 1 John Arthorne CLA 2015-05-05 14:50:33 EDT
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