Uploaded image for project: 'BVal'
  1. BVal
  2. BVAL-32

Annotations associated with composited contraints must reflect inherited groups

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.1-incubating
    • Fix Version/s: 0.1-incubating
    • Component/s: jsr303
    • Labels:
      None

      Description

      When enforcing group inheritance in constraint composition, the actual annotations must also have their groups() value modified. To do so, a new annotation proxy must be created that substitutes the obtained one.

      One gotcha in the solution, I made the class AnnotationProxy serializable as those proxies can be part of ConstraintDescriptorImpl,

      1 more test passes.

        Attachments

          Activity

            People

            • Assignee:
              romanstumm Roman Stumm
              Reporter:
              carlos.vara Carlos Vara
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: