[
https://issues.jboss.org/browse/WFLY-1816?page=com.atlassian.jira.plugin....
]
Frank Langelage commented on WFLY-1816:
---------------------------------------
I solved the problem for me, but still not totally clear to me, why this problem appeared
with the mentioned commit.
I had abstract base classes having the @SessionScoped annotation like these
@SessionScoped
public abstract class SessionBase implements Serializable
{
...
}
and
@ConversationScoped
public abstract class ConversationBase implements Serializable
{
...
}
and then concrete classes with @Named extending the abstract base class but without
@...Scoped like
@Named
public class Settings extends SessionBase
{
...
}
or
@Named
public class CostingResults extends ConversationBase
{
...
}
As said this works with 7.20 and 8.0 until this commit.
And then the <to-view-id> nodes of all elements or from top to the needed outcome
seem to be determined, not only for the one fitting to the current outcome.
So actions with an outcome having a fixed to-view-id value in faces-config.xml also
resulted in this error.
In my case beans were no longer instantiated.
Empty strings seem to be returned by the expressions like
<to-view-id>#{settings.start()}</to-view-id> which result in error inside JSF
libs.
I solved the problem by moving the Scoped annotation from the base class to the concrete
classes. Not nice, but...
StringIndexOutOfBoundsException in JSF web-app after commit for
WFLY-476
------------------------------------------------------------------------
Key: WFLY-1816
URL:
https://issues.jboss.org/browse/WFLY-1816
Project: WildFly
Issue Type: Bug
Components: CDI / Weld
Affects Versions: 8.0.0.Alpha4
Reporter: Frank Langelage
Assignee: Stuart Douglas
The commit c1959b31c0f5320d3ee7992e8a545ba497433162 breaks my web-app.
With
git pull && git reset --hard 861a9ceaa80274edaf32f705887f0bb38068b68d
my web-app works fine.
But with
git pull && git reset --hard c1959b31c0f5320d3ee7992e8a545ba497433162
my web-app starts, index.xhtml renders. But when clicking one of the links the navigation
fails.
--
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