IBM Support

JR43636: CMVC 223895 - ALLOW PRODUCT WITH 0.00 PRICE TO BE ABLE TO CHECK OUT SUCCESSFULLY ON BRAZIL STARTER STORE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • On Brazil starter store, if an order's total amount is 0.0, the
    order could not be checked out. Instead, an error will be
    thrown:
    
     [7/25/12 15:57:55:946 EDT] 000004fe bod           E   Division
    is undefined
                                     java.lang.ArithmeticException:
    Division is undefined
     at java.math.BigDecimal.longScaledDivide(BigDecimal.java:4509)
     at java.math.BigDecimal.divide(BigDecimal.java:3722)
     at java.math.BigDecimal.divide(BigDecimal.java:3709)
     at java.math.BigDecimal.divide(BigDecimal.java:3595)
     at
    com.ibm.commerce.installment.facade.server.commands.FetchOrderIn
    stallmentPriceCmdImpl.findInstallmentOptions(FetchOrderInstallme
    ntPriceCmdImpl.java:508)
     at
    com.ibm.commerce.installment.facade.server.commands.FetchOrderIn
    stallmentPriceCmdImpl.buildNoun(FetchOrderInstallmentPriceCmdImp
    l.java:419)
     at
    com.ibm.commerce.installment.facade.server.commands.FetchOrderIn
    stallmentPriceCmdImpl.performExecute(FetchOrderInstallmentPriceC
    mdImpl.java:259)
    ...
    

Local fix

Problem summary

  • USERS AFFECTED:
    Websphere Commerce users on v7.0 who is using Brazil Starter
    Store
    
    PROBLEM ABSTRACT:
    Order could not be checked out if the total amount is 0.0.
    
    BUSINESS IMPACT:
    Free orders can not be checked out.
    
    RECOMMENDATION:
    

Problem conclusion

  • Fixed the wrong logic in FetchOrderInstallmentPriceCmdImpl.java.
    
    -------------------------------------------------------------
    The latest available maintenance information can be obtained
    from the Recommended Fixes for WebSphere Commerce technote:
    http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR43636

  • Reported component name

    WC BUS DEV ED W

  • Reported component ID

    5724I3900

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-08-01

  • Closed date

    2012-08-28

  • Last modified date

    2012-08-28

  • 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

    WC BUS DEV ED W

  • Fixed component ID

    5724I3900

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYT2H","label":"WebSphere Commerce Developer Enterprise"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":null,"label":null}}]

Document Information

Modified date:
28 August 2012