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

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Fri Aug 10 14:32:07 EDT 2012


Alexey Kazakov created JBIDE-12417:
--------------------------------------

             Summary: 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: Alexey Kazakov
             Fix For: 3.4.0.M1


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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list