Community
Participate
Working Groups
Build ID: I20080523-0100 Steps To Reproduce: Hello I am using Version: 3.4.0 WTP 3 RC 2 We have a custom repository provider and a custom FileModificationValidator. When we try to create a reference between a ear project version 1.5 wtp invokes providers' validateEdit with params (null, context), where null is the ModelIPath. In JEE5ModelProvider there are these lines: if (modelPath == null) modelPath = getDefaultResourcePath(); getDefaultResourcePath() returns META-INF/application.xml which does not exist. Thus our validator is invoked for a non existing file and fails. Only existing files should be tested for edit More information:
Created attachment 104297 [details] patch I propose the following patch
approved
Committed to R3_0_maintenance