You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Karl Kildén (JIRA)" <ji...@apache.org> on 2013/11/02 22:13:17 UTC
[jira] [Created] (DELTASPIKE-439) ViewConfigAwareNavigationHandler
assumes all ViewConfigs resides in packages but silently lets them neglect
it
Karl Kildén created DELTASPIKE-439:
--------------------------------------
Summary: ViewConfigAwareNavigationHandler assumes all ViewConfigs resides in packages but silently lets them neglect it
Key: DELTASPIKE-439
URL: https://issues.apache.org/jira/browse/DELTASPIKE-439
Project: DeltaSpike
Issue Type: Bug
Components: JSF-Module
Affects Versions: 0.5
Environment: TomEE 1.6-SNAPSHOT Deltaspike 0.5
Reporter: Karl Kildén
Priority: Minor
if (outcome != null && outcome.contains("."))
That condition in ViewConfigAwareNavigationHandler effectivly broke my ViewConfig because I neglected to put it into a package.
Obviously it's not that far fetched to assume that all ViewConfigs are in fact in packages but when users like myself are just evaluating the feature HelloWorld style it could easily happen and it resulted in some confusion.
I wouldn't mind keeping the condition as is but I would recommend treating no package name as a definition error.
--
This message was sent by Atlassian JIRA
(v6.1#6144)