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

Not setting VIEW_INDEX for IterateSectionWidget.renderWidgetString causes rendering error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • 17.12.01
    • framework
    • None
    • 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

              jleroux Jacques Le Roux
              tlaufkoetter Tobias Laufkötter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: