Stripes

@Validate(encrypted=true) broken with indexed values

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: Release 1.5
  • Component/s: None
  • Labels:
    None

Description

The indexes aren't being stripped from property names in some cases when looking up ValidationMetadata.

Activity

Hide
Ben Gunter added a comment - 26/Mar/08 9:07 AM

ValidationMetadataProvider.getValidationMetadata(Class, String) has been changed to getValidationMetadata(Class, ParameterName). This way the implementation can be sure it is obtaining a stripped parameter name, or it can have access to all the indexes if it needs it for some reason.

Show
Ben Gunter added a comment - 26/Mar/08 9:07 AM ValidationMetadataProvider.getValidationMetadata(Class, String) has been changed to getValidationMetadata(Class, ParameterName). This way the implementation can be sure it is obtaining a stripped parameter name, or it can have access to all the indexes if it needs it for some reason.

People

Vote (0)
Watch (0)

Dates

  • Created:
    26/Mar/08 8:39 AM
    Updated:
    04/Jan/11 3:10 PM
    Resolved:
    26/Mar/08 9:07 AM