[JBoss JIRA] (JBIDE-10778) ClassHyperlink.doHyperlink(IRegion region) fails to execute when region has escaped symbols like \r\n\t
by Denis Maliarevich (JIRA)
Denis Maliarevich created JBIDE-10778:
-----------------------------------------
Summary: ClassHyperlink.doHyperlink(IRegion region) fails to execute when region has escaped symbols like \r\n\t
Key: JBIDE-10778
URL: https://issues.jboss.org/browse/JBIDE-10778
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common/jst/core
Affects Versions: 3.3.0.M5
Reporter: Denis Maliarevich
Assignee: Victor Rubezhny
Fix For: 3.3.0.Beta1
Junit fails
{code}
junit.framework.ComparisonFailure: Active page should be expected:<[IfHandler.java]> but was:<[facelets.taglib.xml]>
at junit.framework.Assert.assertEquals(Assert.java:81)
at org.jboss.tools.vpe.base.test.OpenOnUtil.checkOpenOnInEditor(OpenOnUtil.java:108)
at org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE4509Test.testJBIDE4638OpenOnForHandlerClass(JBIDE4509Test.java:90)
...
{code}
ClassName is "\r\n\t\t\t\tdemo.IfHandler\r\n\t\t\t"
Changing to
{code}
element = searchForClass(className.trim());
{code}
solves the failure.
--
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
14 years, 2 months
[JBoss JIRA] (JBIDE-10472) CLONE - XHTML Validator hangs eclipse
by Alexey Kazakov (Created) (JIRA)
CLONE - XHTML Validator hangs eclipse
-------------------------------------
Key: JBIDE-10472
URL: https://issues.jboss.org/browse/JBIDE-10472
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml source editing
Affects Versions: 3.3.0.M4
Reporter: Alexey Kazakov
Assignee: Victor Rubezhny
Priority: Blocker
Fix For: 3.3.0.M5, 3.3.0.Beta1
Attachments: pluginsxml.patch
Create the following html and build the project:
{code}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>some title</title>
</head>
<body>
<h2>some heading.</h2>
SOME TEST!!!!<br>
MORE TEXT
<script type="text/javascript" language="javascript" >
// A comment
function GetCookie (name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}
function getCookieVal (offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return document.cookie.substring(offset, endstr);
}
//comment
var xyz = GetCookie('xyz'); // Comments
var datum = new Date();
var d1 = datum.getTime().toString();
// comment "" bla
var d2 = "100";
// comment
var d3 = "dba";
// comment
var abc = 999;
// comment
function urlEncode (string) {
string = string.replace(/ /g, '+');
return escape(string);
}
// comment
// comment
if(cookie != "" && cookie != null ){
document.write("<img src=\"http://example.com./xxx?bla=" + xyz + "&bar="+abc+"&d1=" +urlEncode(d1)+ "&d2=" +urlEncode(d2) +"&d3=" +urlEncode(d3)+"\" alt=\"\" width=\"1\" height=\"1\" border=\"0\" >");
}
else {
var cookie = "kaz"
}
</script>
</body>
</html>
{code}
--
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
14 years, 2 months
[JBoss JIRA] (JBIDE-10660) JSF EL validation is not scoped correctly
by Cody Lerum (JIRA)
Cody Lerum created JBIDE-10660:
----------------------------------
Summary: JSF EL validation is not scoped correctly
Key: JBIDE-10660
URL: https://issues.jboss.org/browse/JBIDE-10660
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 3.3.0.M5
Reporter: Cody Lerum
Given the following code if you hold down control and click on the second #{_a....} it will take you to a type of providerAccountType where it should be providerAccountScope. It seems that if you keep using _a as the var it will always follow the first declaration even though it should be scoped to only be visible in the h:selectOneMenu. This can be confirmed by trying to use the #{_a} completely outside of the <h:selectOneMenu> and seeing that code assist resolves the _a to the first type of providerAccountType
{code}
<h:selectOneMenu value="#{providerBillingAccount.providerAccountType}" required="true" requiredMessage="Required">
<f:selectItem itemLabel="Choose"/>
<f:selectItems value="#{enumValues.providerAccountType}" var="_a" itemLabel="#{_a.displayName}" />
</h:selectOneMenu>
<h:selectOneMenu value="#{providerBillingAccount.providerAccountScope}" required="true" requiredMessage="Required">
<f:selectItem itemLabel="Choose"/>
<f:selectItems value="#{enumValues.providerAccountScope}" var="_a" itemLabel="#{_a.displayName}" />
</h:selectOneMenu>
{code}
--
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
14 years, 2 months
[JBoss JIRA] (JBIDE-10448) Validation Error: NPE on web.xml
by Ron Ratovsky (Created) (JIRA)
Validation Error: NPE on web.xml
--------------------------------
Key: JBIDE-10448
URL: https://issues.jboss.org/browse/JBIDE-10448
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common/jst/core
Environment: Win7 64bit
Eclipse 3.7.1 64bit
JBoss JAX-RS Tools 1.2.2.v20111204-0420-H640-Beta1 org.jboss.tools.ws.jaxrs.feature.feature.group JBoss by Red Hat
JBoss Maven Integration 1.3.0.v20111203-1300-H486-M5 org.jboss.tools.maven.feature.feature.group JBoss by Red Hat
JBoss Maven JAX-RS Configurator 1.3.0.v20111203-1300-H486-M5 org.jboss.tools.maven.jaxrs.feature.feature.group JBoss by Red Hat
JBoss WebServices Tools 1.2.2.v20111204-0420-H640-Beta1 org.jboss.tools.ws.feature.feature.group JBoss by Red Hat
Reporter: Ron Ratovsky
Assignee: Alexey Kazakov
I get an odd error on the web.xml file of a project, where the marker points to a comment.
Attribute servlet-class references to non-existent class com.sun.jersey.spi.spring.container.servlet.SpringServlet web.xml /sheker/src/main/webapp/WEB-INF - line 19 - Web XML Problem
When trying to open the file, I get the following exception in the log: http://mysticpaste.com/private/8xH1nxLeqf
Sample web.xml with the problem: http://mysticpaste.com/private/SqlQvmTYuR (please note that the error points to the same line 19 in the sample web.xml)
--
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
14 years, 2 months