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

Bug 357965

Summary: [Eclipse Platform Extensions] Scheduling rules for saving new resources must be scoped to enclosing project
Product: [Automotive] Sphinx Reporter: Stephan Eberle <stephaneberle9>
Component: CoreAssignee: Stephan Eberle <stephaneberle9>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: ali.akar82, idydieng, quoclan
Version: 0.7.0   
Target Milestone: 0.7.0   
Hardware: All   
OS: All   
Whiteboard:

Description Stephan Eberle CLA 2011-09-16 12:56:53 EDT
= Problem description =
Currently, the ISchedulingRule returned by ExtendedPlatform#createSaveNewSchedulingRule(IResource resource) is the parent of the new resource in question. This works fine if the resource's parent already exists. However, when this method is used in operations where a new resource and its parent folder(s) are created at once then the resulting scheduling rule is not appropriate and leads to rule conflicts.

= Resolution proposal =
Revise the behavior of ExtendedPlatform#createSaveNewSchedulingRule(IResource resource) so as to return a modify rule for the enclosing project than a create rule for the given resource.
Comment 1 Stephan Eberle CLA 2011-09-16 12:57:40 EDT
Fixed as proposed in description.
Comment 2 Balazs Grill CLA 2021-07-14 02:17:09 EDT
Mass-closing Resolved tickets