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

Bug 348360

Summary: ModelProvider.validateChange not called on resource creation
Product: [Eclipse Project] Platform Reporter: Franck Mising name <franck102>
Component: ResourcesAssignee: Platform-Resources-Inbox <platform-resources-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: franck102
Version: 4.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug

Description Franck Mising name CLA 2011-06-06 04:10:35 EDT
Build Identifier: M20110210-1200

The ModelProvider validateChange is not called when File->New->File/Folder commands are excuted.
That method seems to only be called through IHistoryOperation, and resource creaetion are not going through the history anymore, apparently since 3.5.
This is a regression from Galileo.

Reproducible: Always

Steps to Reproduce:
1. Create a ModelProvider that is enabled for any resource
2. Create a project, right-click -> New -> Folder
3. The provider's validateChange method is not consulted.
Comment 1 Lars Vogel CLA 2019-11-14 02:11:22 EST
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.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.