| Summary: | IFile#create(..) and IFolder#create(..) fail if parent is a virtual folder | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Markus Keller <markus.kell.r> | ||||
| Component: | Resources | Assignee: | Szymon Brandys <Szymon.Brandys> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | daniel_megert, john.arthorne | ||||
| Version: | 3.6 | ||||||
| Target Milestone: | 3.6 M5 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Markus Keller
I will handle it. The javadoc should be updated. I don't understand why this is a breaking change? Clients of this API should catch CoreException and creating a resource inside of Virtual Folders is yet another reason of throwing one. > I don't understand why this is a breaking change? Clients of this API should
> catch CoreException and creating a resource inside of Virtual Folders is yet
> another reason of throwing one.
For UI clients, it is a breaking change. UIs usually try to spare users from low-level error conditions. Therefore, they have special code that detects known problems before they happen and tell the user upfront that the operation will not work (e.g. with an error message in the wizard title area).
This is a new reason that didn't exist before, and UIs should adapt and support this case explicitly (rather than failing and writing to the log).
Created attachment 156919 [details]
Fix v01
Markus, how do you like the porting guide update? The fix is in HEAD. > Markus, how do you like the porting guide update?
Thanks, that looks good. But you should add a comma after "In particular". Even if some grammar schools may not see this as an absolute requirement, it makes the beginning of the sentence unambiguously understandable without backtracking.
(In reply to comment #6) > But you should add a comma after "In particular". Done. Thanks Markus. |