You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Tobias Laufkötter (JIRA)" <ji...@apache.org> on 2017/10/23 13:55:00 UTC
[jira] [Created] (OFBIZ-9889) Not setting VIEW_INDEX for
IterateSectionWidget.renderWidgetString causes rendering error
Tobias Laufkötter created OFBIZ-9889:
----------------------------------------
Summary: 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
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)