You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2008/08/04 17:54:44 UTC
[jira] Commented: (MYFACES-1797) Config Parameter for refresh
Period is never retrieved
[ https://issues.apache.org/jira/browse/MYFACES-1797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619559#action_12619559 ]
Leonardo Uribe commented on MYFACES-1797:
-----------------------------------------
The user efastl solved this bug (revision 658739), but only on shared 3.0.x branch, but on 2.0.x branch do not. I'll commit this on 2.0.x branch as well
> Config Parameter for refresh Period is never retrieved
> ------------------------------------------------------
>
> Key: MYFACES-1797
> URL: https://issues.apache.org/jira/browse/MYFACES-1797
> Project: MyFaces Core
> Issue Type: Bug
> Components: General
> Affects Versions: 1.2.1
> Environment: facelets, tomahawk, facelets
> Reporter: bim sim sala
>
> The parameter org.apache.myfaces.CONFIG_REFRESH_PERIOD is never read, because the method getLongInitParameter will always throw a NumberFormatException. This happens because the parameter name is passed in to get parsed, not the value:
> ---->>>>> LINE 256 in MyfacesConfig.java
> return Long.parseLong(paramName);
> <<<<<<------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.