Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350424 - [client] wrong request for file save
Summary: [client] wrong request for file save
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 0.3 M1   Edit
Assignee: Szymon Brandys CLA
QA Contact:
URL:
Whiteboard: gsoc2011
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-27 07:23 EDT by Piotr Janik CLA
Modified: 2012-01-19 11:45 EST (History)
2 users (show)

See Also:
Szymon.Brandys: review+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.