IBM Support

JR47187: ERROR RECEIVED WHEN VALUE GREATER THAN MAXIMUN ALLOWED IS ENTERED INTO AN INTEGER FIELD

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If more than the maximum value allowed for type integer
    (2147483647) is entered into an integer input field in a coach,
    which is bound to an integer variable,
    the following error is thrown (using 2147483648 for example):
    
    Error
    Type mismatch. Expected "Integer" type, but found:
    "java.lang.Long".Value: "2,147,483,648"
    

Local fix

  • Enter a valid integer value
    

Problem summary

  • When a value outside [-2147483648, 2147483647] is entered in an
    Integer control bound to an Integer type variable and POSTed to
    the server, the server throws exceptions.
    
    USER AFFECTED:
    Business Process Manager Advanced, Standard and Expresss users
    who use Integer control to edit Integer type variable.
    
    PROBLEM DETAILED DESCRIPTION:
    Integer control does not provide default min and max values for
    their corresponding config options.
    

Problem conclusion

  • For Decimal control, insert the if statements into Decimal's
    load() to provide default minimum and maximum values when the
    user doesn't provide them and the binding type is Integer:
     ...
     var decimalPlaces = this.context.options.decimalPlaces &&
    this.context.options.decimalPlaces.get("value") != undefined
           ? this.context.options.decimalPlaces.get("value") : 2;
     var minimumValue = this.context.options.minimumValue &&
    this.context.options.minimumValue.get("value") != undefined
           ? this.context.options.minimumValue.get("value") : null;
     //insert
     if (minimumValue == null &&  this.context.binding &&
    this.context.bindingType() == "Integer") {
      minimumValue = -2147483648;
     }
     //insert
     var maximumValue = this.context.options.maximumValue &&
    this.context.options.maximumValue.get("value") != undefined
           ? this.context.options.maximumValue.get("value") : null;
        //insert
     if (maximumValue == null &&  this.context.binding &&
    this.context.bindingType() == "Integer") {
      maximumValue = 2147483647;
     }
     //insert
     var stepSize = this.context.options.stepSize &&
    this.context.options.stepSize.get("value") != undefined
    
    FIX AVAILABILITY:
    Fix for 8.0.1.1 is avaialable as part of cumulative Coaches
    toolkit fix for APAR JR47225. More info at
    http://www.ibm.com/support/docview.wss?uid=swg1JR47225.
    
    When downloading interim fixes, ensure that the complimentary
    readme is obtained and reviewed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR47187

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-07-10

  • Closed date

    2013-08-16

  • Last modified date

    2013-08-16

  • 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

    BPM ADVANCED

  • Fixed component ID

    5725C9400

Applicable component levels

  • R801 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
16 August 2013