[
https://issues.apache.org/jira/browse/OFBIZ-4451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116915#comment-13116915
]
Jacques Le Roux commented on OFBIZ-4451:
----------------------------------------
I guess the reason why not exception is thrown: <<printing
IllegalArgumentException instead of throwing it because Map interface
specification does not allow throwing that exception.>>.
Your patch sounds good to me.
Opinions?
> warning in log when using @renderSubContentCache freemarker macro
> -----------------------------------------------------------------
>
> Key: OFBIZ-4451
> URL: https://issues.apache.org/jira/browse/OFBIZ-4451
> Project: OFBiz
> Issue Type: Bug
> Components: content
> Affects Versions: SVN trunk
> Reporter: Martin Kreidenweis
> Priority: Minor
> Attachments: OFBIZ-4451.patch
>
>
> When using the @renderSubContentCache freemarker macro, warnings like this
> appear in the log:
> {code}
> [ GenericEntity.java:314:WARN ] The field name (or key)
> [caContentAssocTypeId] is not valid for entity [ContentDataResourceView],
> printing IllegalArgumentException instead of throwing it because Map
> interface specification does not allow throwing that exception.
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira