[jbosstools-issues] [JBoss JIRA] (JBIDE-12417) KB validators should report problems in order as they appears in the file.

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Thu Aug 30 19:17:32 EDT 2012


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

Viacheslav Kabanovich resolved JBIDE-12417.
-------------------------------------------

    Resolution: Done

    
> KB validators should report problems in order as they appears in the file.
> --------------------------------------------------------------------------
>
>                 Key: JBIDE-12417
>                 URL: https://issues.jboss.org/browse/JBIDE-12417
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: CDI, common/jst/core, JSF
>    Affects Versions: 3.3.1
>            Reporter: Alexey Kazakov
>            Assignee: Viacheslav Kabanovich
>             Fix For: 4.0.0.Alpha1
>
>
> 1. Create a cdi project.
> 2. Create the following bean class:
> {code}
> package test;
> import javax.enterprise.inject.Produces;
> import javax.inject.Named;
> public class Bean_Broken {
> 	public void foo() {
> 		String s = "#{string.ss}";
> 		String s2 = "#{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}" +
>                              #{string.ss}";
> 	}
> 	@Named
> 	@Produces
> 	public String string() {
> 		return "";
> 	}
> }
> {code}
> 3. Save the file.
> 4. By default JBT will report only 20 problems. But it should be the first 20 problems. Now it's a random. It may be any 20 of all the problem.
> The same problem for JSF and CDI validators.

--
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