Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-2675

BeanValidation does not work with composite components

    XMLWordPrintableJSON

    Details

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

      Description

      The code committed in MYFACES-2633 causes Bean-Validation to stop working on composite components, because the BeanValidator can't access the actual ValueExpression anymore, because it is not on the component's attribute map.

      In MYFACES-2622 I committed code that handled CompositeComponentExpressionHolder correctly on the BeanValidator. After this commit BeanValidation worked well for composite components. Last week I stumbled upon this again and noticed it was not working anymore. As mentioned before, the code committed in MYFACES-2633 causes this problem.

        Attachments

        1. MYFACES-2675-test.patch
          7 kB
          Jakob Korherr

          Issue Links

            Activity

              People

              • Assignee:
                jakobkorherr Jakob Korherr
                Reporter:
                jakobkorherr Jakob Korherr
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: