IBM Support

PI81840: Bean Validation 1.1 @DecimalMin and @DecimalMax constraints inclusive property not working.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The @DecimalMin and @DecimalMax constraints for Bean
    Validation 1.1 are not properly honoring the inclusive
    property.  The default inclusive = true behavior is always
    occurring, even when inclusive is set to false.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM Liberty WebSphere          *
    *                  Application Server using the Bean           *
    *                  Validation 1.1 feature.                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: Bean Validation 1.1 @DecimalMin and     *
    *                      @DecimalMax constraints inclusive       *
    *                      property not working.                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The @DecimalMin and @DecimalMax constraints for Bean Validation
    1.1 are not properly honoring the inclusive property.  The
    default inclusive = true behavior is always occurring, even when
    inclusive is set to false.
    

Problem conclusion

  • The Bean Validation 1.1 code has been updated to correctly check
    the inclusive property before checking if a @DecimalMin or
    @DecimalMax constraint is valid.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 17.0.0.2.  Please refer to the Recommended Updates page for
    delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI81840

  • Reported component name

    WAS LIBERTY COR

  • Reported component ID

    5725L2900

  • Reported release

    CD0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-05-18

  • Closed date

    2017-05-22

  • Last modified date

    2017-05-22

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WAS LIBERTY COR

  • Fixed component ID

    5725L2900

Applicable component levels

  • RCD0 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSD28V","label":"WebSphere Application Server Liberty Core"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"CD0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
17 June 2020