You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org> on 2015/03/17 14:48:38 UTC

[jira] [Resolved] (TOBAGO-1444) Avoid error logging for missing disabled images

     [ https://issues.apache.org/jira/browse/TOBAGO-1444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bernd Bohmann resolved TOBAGO-1444.
-----------------------------------
    Resolution: Fixed

changed level to warn and only logging a warning message if is not production mode. 

> Avoid error logging for missing disabled images
> -----------------------------------------------
>
>                 Key: TOBAGO-1444
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1444
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.6
>            Reporter: Dennis Kieselhorst
>            Assignee: Bernd Bohmann
>            Priority: Minor
>             Fix For: 2.0.7
>
>
> Currently Tobago produces log messages with ERROR level for missing disabled images:
> {noformat}
> ERROR o.a.m.t.i.c.ResourceManagerImpl - Path not found, and no fallback. Using empty string.
> resourceDirs = '[resources-1, org/apache/myfaces/tobago/renderkit]' contentType = 'html' theme = 'comxerv' browser = 'gecko' subDir = 'null' name = 'image/myImageDisabled' extension = '[.gif]' key = 'null' 
> {noformat}
> As the normal image is the fallback, this should be avoided (ignoreMissing in ResourceManagerUtils.getImageOrDisabledImage* needs to be adjusted).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)