ICEfaces
  1. ICEfaces
  2. ICE-9357

ICE Renderers have thread unsafe instance field

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EE-3.3.0.GA, 4.0.BETA, 4.0
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Compat components

      Description

      Similarly to ICE-9348, but involving the compat components.

      As reported in the forum, this renderer uses instance fields that they read from and write to during rendering:

      - SelectInputTextRenderer

      Additionally, auditing found a problem with:

      - OutputStyleRenderer

      Renderers are application scoped, and can be used simultaneously by different requests / lifecycles. They should never use instance fields that are written to and then read from during a discrete render, since the same Renderer instance is used across threads for different views and users.

        Activity

          People

          • Assignee:
            Mark Collette
            Reporter:
            Mark Collette
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: