| Summary: | [file] File content overridden when saved from multiple editors | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Szymon Brandys <Szymon.Brandys> |
| Component: | Server | Assignee: | Szymon Brandys <Szymon.Brandys> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | P3 | CC: | janikpiotrek, libingw, tomasz.zarna |
| Version: | unspecified | Flags: | Szymon.Brandys:
review+
|
| Target Milestone: | 0.3 M1 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | gsoc2011 | ||
| Bug Depends on: | |||
| Bug Blocks: | 351182 | ||
|
Description
Szymon Brandys
Proposal: https://github.com/pjanik/orion.server/tree/bug350410 https://github.com/pjanik/orion.client/tree/bug350410 I wrote all this code and have the rights to contribute it to Eclipse under the eclipse.org web site terms of use. Comments: 1) ETag is returned only for requests with the 'parts' attribute e.g. http://localhost:8080/file/h/TODO.txt?parts=meta. For http://localhost:8080/file/h/TODO.txt there is no ETag. Moreover it is not returned at all for the generic handler. 2) We need to change the signature of #write in fileClient.js too 3) I would consider renaming 'etag' arg in #write to metadata or args or something like this. Then we could pass more arguments to #write if necessary without changing the signature. Fixed. Fixed with 921c3dbcb1db513af5a227791d62f31892c4c4ac and f736a3053fe9694d8b2e45c6c8f3620a0460dec4. The fix of this bug caused regression on compare editor addressed by bug 352165 , which was fixed. |