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)

Reply via email to