Community
Participate
Working Groups
With respect to the calling getModelObject() before getModelObject(IPath), I'm refering to the use case where the model is being inspected and not necessarily modified, i.e. validateEdit() hasn't be called. For web.xml, getModelObject(IPath) will return null if ddProvider is null and will not force ddProvider to be set if it isn't already. Calling getModelObject() will force ddProvider to be set. I've seen this issue in our JUnit tests, so it might be a dispose() that's causing ddProvider to be null and calling getModelObject() helps ensure it is restored since getModelObject(IPath) won't do it.
Larry if you can provide junit tests for this? This will help a lot identifying the problem as well as having a test that will not allow regressions?
Bug create from: https://bugs.eclipse.org/bugs/show_bug.cgi?id=315423
re-targeting for 3.3 Fixing this functionality may cause problems and it is dangerous for 3.2.3
Re-targeting for SR1
re-targeting for 3.4