Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M2
    • Fix Version/s: 2.0.0-M3
    • Component/s: validation
    • Labels:
      None

      Description

      We need to upgrade from CR2 level of the API (geronimo-validation_1.0_spec-1.0-EA2-SNAPSHOT) to the ust released CR3 level (geronimo-validation_1.0_spec-1.0-EA3-SNAPSHOT).

      Moving from the Validation 1.0.CR2 to 1.0.CR3 levels are going to cause us some churn:

      • The 4 descriptor class were moved into a javax.validation.metadata package.
      • A new javax.validation.Path was introduced for iterable nodes, which replaces some String usage in ConstraintViolation and TraversableResolver.

      Note: Either the agimatec-validation code will need to be updated or we'll have to switch to using the RI for testing.

        Activity

        Donald Woods created issue -
        Donald Woods made changes -
        Field Original Value New Value
        Fix Version/s 2.0.0 [ 12314019 ]
        Description We need to upgrade from CR2 level of the API (geronimo-validation_1.0_spec-1.0-EA2-SNAPSHOT) to the ust released CR3 level (geronimo-validation_1.0_spec-1.0-EA3-SNAPSHOT).

        Moving from the Validation 1.0.CR2 to 1.0.CR3 levels are going to cause us some churn:
        - The 4 descriptor class were moved into a javax.validation.metadata package.
        - A new javax.validation.Path was introduced for iterable nodes, which replaces some String usage in ConstraintViolation and TraversableResolver.

        Note: Either the agimatec-validation code will need to be updated or we'll have to switch to using the RI for testing.
        Component/s validation [ 12312869 ]
        Hide
        Donald Woods added a comment -

        Other API changes:

        • Constraints and @Valid - now supports constructor and parameter targets
        • ConstraintValidatorContext - several new Interfaces and method chnages
        • ConstraintViolation - getPropertyPAth() now returns a Path instead of a String
        • ConstraintViolationException - getConstraintViolations() now returns Set<ConstraintViolation<?>> instead of Set<ConstraintViolation>
        • MessageInterpolator - static removed from internal Context interface
        • ValidationProvider - now extends Configuration and createSpecializedConfiguration() method has changed
        • TraversableResolver - method params have changed
        • Validation -
        • ValidationProviderResolver - getValidationProviders() now returns List<ValidationProvider<?>> instead of List<ValidationProvider>
        • Validator - new unwrap() method
        • ValidatorFactory - new unwrap() method
        Show
        Donald Woods added a comment - Other API changes: Constraints and @Valid - now supports constructor and parameter targets ConstraintValidatorContext - several new Interfaces and method chnages ConstraintViolation - getPropertyPAth() now returns a Path instead of a String ConstraintViolationException - getConstraintViolations() now returns Set<ConstraintViolation<?>> instead of Set<ConstraintViolation> MessageInterpolator - static removed from internal Context interface ValidationProvider - now extends Configuration and createSpecializedConfiguration() method has changed TraversableResolver - method params have changed Validation - ValidationProviderResolver - getValidationProviders() now returns List<ValidationProvider<?>> instead of List<ValidationProvider> Validator - new unwrap() method ValidatorFactory - new unwrap() method
        Donald Woods made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Donald Woods made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Donald Woods made changes -
        Fix Version/s 2.0.0-M3 [ 12314148 ]
        Fix Version/s 2.0.0 [ 12314019 ]
        Affects Version/s 2.0.0-M2 [ 12313483 ]
        Donald Woods made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Donald Woods
            Reporter:
            Donald Woods
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development