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

Bug 350424

Summary: [client] wrong request for file save
Product: [ECD] Orion Reporter: Piotr Janik <janikpiotrek>
Component: ClientAssignee: Szymon Brandys <Szymon.Brandys>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Szymon.Brandys, tomasz.zarna
Version: unspecifiedFlags: Szymon.Brandys: review+
Target Milestone: 0.3 M1   
Hardware: PC   
OS: All   
Whiteboard: gsoc2011

Description Piotr Janik CLA 2011-06-27 07:23:13 EDT
Open any file in editor and save it's content.
Request:
PUT ...test_file.js?parts=meta

Why parts=meta is used when I actually save file content?
Request doesn't contain Orion-Version header and because of that, 'parts=meta' argument is ignored during execution path.
Comment 1 Piotr Janik CLA 2011-06-27 07:26:13 EDT
Fix: https://github.com/pjanik/orion.client/tree/bug350424

I wrote all this code and have the rights to contribute it to Eclipse under the
eclipse.org web site terms of use.
Comment 2 Piotr Janik CLA 2011-06-27 08:33:27 EDT
Update, some server-side changes are needed too.

https://github.com/pjanik/orion.client/tree/bug350424
https://github.com/pjanik/orion.server/tree/bug350424

I wrote all this code and have the rights to contribute it to Eclipse under the
eclipse.org web site terms of use.
Comment 3 Szymon Brandys CLA 2011-07-04 08:11:33 EDT
Fixed with e57e6b15ce03ea003370757f61eb3eca9813bc72 and 0f7e4749fe036c0cf553890c304be94f1a0269e6.