Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357965 - [Eclipse Platform Extensions] Scheduling rules for saving new resources must be scoped to enclosing project
Summary: [Eclipse Platform Extensions] Scheduling rules for saving new resources must ...
Status: CLOSED FIXED
Alias: None
Product: Sphinx
Classification: Automotive
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: 0.7.0   Edit
Assignee: Stephan Eberle CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-16 12:56 EDT by Stephan Eberle CLA
Modified: 2021-07-14 02:17 EDT (History)
3 users (show)

See Also:


Attachments

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