MyFaces CODI
  1. MyFaces CODI
  2. EXTCDI-266

WindowContextManagerObserver causes an Exception when redirecting if the requested view does not exists

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.3
    • Fix Version/s: 1.0.4
    • Component/s: None
    • Labels:
      None

      Description

      if the current request does not contain a windowId the WindowContextManagerObserver tries to redirect to currend view and appends the windowId. But if the current view does not exists it calls getActionUrl with null. This causes an IllegalArgumentException instead of 404.

      I will add a patch which prevent the redirect if the current viewId is null.

      1. EXTCDI-266.patch
        0.8 kB
        Marcus Büttner

        Activity

        Hide
        Gerhard Petracek added a comment -

        minor because there is a workaround (cdi alternative for WindowContextManagerObserver)

        Show
        Gerhard Petracek added a comment - minor because there is a workaround (cdi alternative for WindowContextManagerObserver)

          People

          • Assignee:
            Gerhard Petracek
            Reporter:
            Marcus Büttner
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development