]
Viacheslav Kabanovich commented on JBIDE-17184:
-----------------------------------------------
The error is in OpenKeyHelper, because of inconsistency between line 96
{code}
String name = (i < 0) ? bundle : bundle.substring(i + 1);
{code}
and line 100
{code}
String pp = c.getPathPart();
{code}
Windows is case incensitive and for it method getPathPart() returns the string reduced to
the lower case. Variable 'name' is obtained from 'bundle' without reducing
case.
The correct code will be
{code}
String name = (i < 0) ? bundle : bundle.substring(i + 1);
name = FilePathHelper.toPathPath(name);
{code}
[~dazarov], could you please try it on Windows?
org.jboss.tools.jsf.ui.test failure on Windows
----------------------------------------------
Key: JBIDE-17184
URL:
https://issues.jboss.org/browse/JBIDE-17184
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsf
Affects Versions: 4.2.0.Beta1
Reporter: Daniel Azarov
Assignee: Viacheslav Kabanovich
Fix For: 4.2.0.Beta2
Attachments: Linux17184.png, org.jboss.tools.jsf.ui.test.JsfUiAllTests.txt,
Windows17184.png, Windows17184.png
Tests run: 104, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 738.449 sec
<<< FAILURE!
Results :
Failed tests:
testMessagesInLocalizedBundles(org.jboss.tools.jsf.jsp.ca.test.CAJsfMessagesProposalsTest):
The proposal to apply not found.
Tests run: 104, Failures: 1, Errors: 0, Skipped: 0