Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-9889

Not setting VIEW_INDEX for IterateSectionWidget.renderWidgetString causes rendering error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 17.12.01
    • Component/s: framework
    • Labels:
      None
    • Flags:
      Patch

      Description

      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.

        Attachments

        1. OFBIZ-9889.patch
          0.9 kB
          Tobias Laufkötter

          Issue Links

            Activity

              People

              • Assignee:
                jacques.le.roux Jacques Le Roux
                Reporter:
                tlaufkoetter Tobias Laufkötter
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: