MyFaces Core
  1. MyFaces Core
  2. MYFACES-3310

javax.faces.validator.BeanValidator.createValidatorFactory should store the factory instance on the application map of the externalContext instead of casting to a servletcontext.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 2.1.3
    • Fix Version/s: 2.0.10, 2.1.4
    • Component/s: General, Portlet_Support
    • Labels:
      None
    • Environment:
      ALL

      Description

      Storing the factory instance on the servlet context makes it impossible to use in a portlet environment. It would be easier just storing it on the application map regardless of context instance.

      Regards,
      Hampus

        Activity

        Hampus Wingren created issue -
        Leonardo Uribe made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Leonardo Uribe [ lu4242 ]
        Fix Version/s 2.0.10 [ 12317870 ]
        Fix Version/s 2.1.4 [ 12317868 ]
        Resolution Fixed [ 1 ]
        Leonardo Uribe made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Leonardo Uribe
            Reporter:
            Hampus Wingren
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development