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

Bug 339658

Summary: [sfs] ISemanticFile.validateEdit() should refresh automatically
Product: [Eclipse Project] e4 Reporter: Eduard Bartsch <eduard.bartsch>
Component: ResourcesAssignee: Eduard Bartsch <eduard.bartsch>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: mathias.kinzler, Szymon.Brandys
Version: 1.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: stalebug

Description Eduard Bartsch CLA 2011-03-11 04:49:22 EST
Currently, the resource tree is possibly left in out-of-sync state after ISemanticFile.validateEdit(). The subsequent calls to IResource.getContents() and IResource.setContents() may fail with corresponding exception. The callers are forced to always call IResource.refreshLocal() afterwards.

The method ISemanticFile.validateEdit(Object shell) should refresh resource tree automatically.
Comment 1 Eclipse Genie CLA 2019-03-26 12:48:00 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 2 Lars Vogel CLA 2019-06-05 07:34:35 EDT
This is a mass change to close all e4 bugs marked with "stalebug" whiteboard.

If this bug is still valid, please reopen and remove the "stalebug" keyword.