Community
Participate
Working Groups
Currently the JSPModelQueryExtension and TaglibModelQueryExtension added by Bug 291246 do not pay attention to their given include options. This is an issue when a requester is only looking for attribute declarations and these extensions only ever return element declarations. This causes class cast exceptions with the outline view. The result being when you right click on a node in the outline view the only option listed is "remove" but there should be many add options that are not being listed because of the class cast exception. patch to follow.
Created attachment 150300 [details] Fix Patch This patch updates the Model Query Extensions to only do their work if the include options includes INCLUDE_CHILD_NODES, otherwise an empty array is returned.
This bug only depends on 107138 in so much that currently the JSP content assist processor only sends INCLUDE_ATTRIBUTES as its include options when really it should be asking for INCLUDE_CHILD_NODES and this is updated in 107138. If this is committed before Bug 107138 then the outline view will work but content assist for JSP tag libs and custom tags will break. If this patch waits for Bug 107138 then the outline view stays broken but the content assist continues to work weather or not Bug 107138 is committed.
Created attachment 151345 [details] Fix Patch Update 1 The patch had become obsolete due to other patches going in in this area. This is an updated patch that should apply now.
Fixed.
Verified in 3.2I-20100105_003934