faces-viewconfig example does not work correctly on GlassFish
-------------------------------------------------------------
Key: SEAMFACES-178
URL:
https://issues.jboss.org/browse/SEAMFACES-178
Project: Seam Faces
Issue Type: Bug
Affects Versions: 3.0.2
Environment: GlassFish 3.1 + Weld 1.1.1.Final
Reporter: Jozef Hartinger
Fix For: 3.0.3
To reproduce:
# Upgrade GlassFish 3.1 to use Weld 1.1.1.Final by following these steps
http://seamframework.org/Seam3/CompatibilityHome#H-UpgradingWeldInGlassFi...
# Deploy the application to GlassFish
# Open
http://localhost:8080/faces-viewconfig/
#
http://localhost:8080/faces-viewconfig/item/1/
# use "demo"/"demo" as credentials and click "Login"
You should see the item page. Instead, a user is redirected to
http://localhost:8080/faces-viewconfig/denied.jsf
The issue is caused by the fact that the @Current Item injected into the ownerChecker()
method is null on GlassFish while it holds the selected item on JBoss AS.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira