[jbosstools-issues] [JBoss JIRA] (JBIDE-12890) "Add missing required attribute(s)" quick fix does not work without editor

Daniel Azarov (JIRA) jira-events at lists.jboss.org
Wed Oct 17 15:38:01 EDT 2012


     [ https://issues.jboss.org/browse/JBIDE-12890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Azarov updated JBIDE-12890:
----------------------------------

    Description: 
Test case:

EXECUTE:
1. Create JSF Kickstart project
2. Create file test.jsp:
{code}
<%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %>

<html>
    <head>
    	<title>Input User Name Page</title>
    </head>
    <body>
    <x:if></x:if>
    </body>
</html>
{code}

3. Save file test.jsp and close editor
4. Open Problem View
5. Select problem Missing required attribute "select" then press Ctrl+1
ASSERT: 
Quick fix "Add 'select' attribute to '<x:if>' tag" appears

    
> "Add missing required attribute(s)" quick fix does not work without editor
> --------------------------------------------------------------------------
>
>                 Key: JBIDE-12890
>                 URL: https://issues.jboss.org/browse/JBIDE-12890
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml source editing
>    Affects Versions: 4.0.0.Beta1
>            Reporter: Daniel Azarov
>            Assignee: Daniel Azarov
>             Fix For: 4.0.0.CR1
>
>
> Test case:
> EXECUTE:
> 1. Create JSF Kickstart project
> 2. Create file test.jsp:
> {code}
> <%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %>
> <html>
>     <head>
>     	<title>Input User Name Page</title>
>     </head>
>     <body>
>     <x:if></x:if>
>     </body>
> </html>
> {code}
> 3. Save file test.jsp and close editor
> 4. Open Problem View
> 5. Select problem Missing required attribute "select" then press Ctrl+1
> ASSERT: 
> Quick fix "Add 'select' attribute to '<x:if>' tag" appears

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list