[
https://issues.apache.org/jira/browse/OFBIZ-9889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacques Le Roux reassigned OFBIZ-9889:
--------------------------------------
Assignee: Jacques Le Roux
> Not setting VIEW_INDEX for IterateSectionWidget.renderWidgetString causes
> rendering error
> -----------------------------------------------------------------------------------------
>
> Key: OFBIZ-9889
> URL: https://issues.apache.org/jira/browse/OFBIZ-9889
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Trunk
> Reporter: Tobias Laufkötter
> Assignee: Jacques Le Roux
> Attachments: OFBIZ-9889.patch
>
>
> A bug was introduced in OFBIZ-9710, that created a catch block for a
> RuntimeException that would be thrown again. Unfortunately the code block
> relied on catching a NumberFormatException in case VIEW_INDEX was not set,
> which in the original code was not intuitively recognisable, because only
> Exception was caught.
> In the provided patch I removed the catch block for the RTE und changed
> Exception to NumberFormatException, since it is the only Exception that is
> expected.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)