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: Upcoming Release
    • 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.

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

        Issue Links

          Activity

          Hide
          jacques.le.roux Jacques Le Roux added a comment -

          Thanks Tobias,

          Your patch is in trunk at revision: 1813067

          Show
          jacques.le.roux Jacques Le Roux added a comment - Thanks Tobias, Your patch is in trunk at revision: 1813067

            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:

                Development