MyFaces Core
  1. MyFaces Core
  2. MYFACES-3416

Default ValidatorFactory is not stored on application map

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.12, 2.1.6
    • Component/s: JSR-314
    • Labels:
      None

      Description

      There is a typo bug that prevents the default ValidatorFactory to be stored on application map.

      Additionally, FacesMessageInterpolator uses an strategy that is not the best for performance reasons, because there is a FacesContext.getCurrentInstance() call inside interpolate() method. According to some tests done it is better to create an object and store FacesContext instance there to use it later.

        Activity

        Leonardo Uribe created issue -
        Leonardo Uribe made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.0.12 [ 12319175 ]
        Fix Version/s 2.1.6 [ 12319173 ]
        Resolution Fixed [ 1 ]
        Leonardo Uribe made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development