IBM Support

IJ47735: IN OFFERING, WHERE ACCESSING MBOSET IN ADDTOCARTSCRIPT TO CHECK SOME THINGS, IF THE ACCESSED MBOSET HAS AN OBJECT-INIT SCRIPT

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • PROBLEM:  In offering, where  accessing  MboSet in
    ADDTOCARTSCRIPT to check some things, If the accessed MboSet has
    an Object-Init Script, the error from my ADDTOCARTSCRIPT is not
    shown.
    
    
    PERFORMANCE ISSUE:  No
    
    STEPS TO REPRODUCE:
    
    1. Create a new Script (no launchpoint) CXADDTOCART2. Put this
    as content:----
    from psdi.server import MXServer
    mxServer = MXServer.getMXServer()
    srSet = mxServer.getMboSet("SR",mxServer.getSystemUserInfo())
    sr = srSet.getMbo(0)
    if sr:
       pass
    srSet.close()
    print "0"
    print "Any Error"
    ----
    3. Create a new offering CXADDTOCARTTEST, assign a
    classification, add it to a catalog you can access and select
    CXADDTOCART as Add To Cart Script. Activate the offering
    4. Go to Self-Service-Center, open the offering and send it. It
    shows (absolutely correct) "Any Error". This is the expected
    behaviour.
    5. Create a new Script CXSRINIT with object launchpoint on SR
    init. This should have this content:
    ----
    pass
    ----
    (yes, just pass, this script does nothing)
    6. Go to Self-Service-Center, open the offering and send it. No
    error message is shown and the offering can be used normally.
    This should not happen as the script should still throw an
    error.
    
    CURRENT ERRONEOUS RESULT: After replicating the issue, when we
    go to Self-Service-Center, open the offering and send it. No
    error message is shown and the offering can be used normally.
    
    
    EXPECTED RESULT:  No error message is shown while submitting
    the orrering. This should not happen as the script should still
    throw an error.
    ADDITIONAL INFO:  N/A, Issue wa recreated in LAB VM
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * MAXIMO                                                       *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * IN OFFERING, WHERE ACCESSING MBOSET IN ADDTOCARTSCRIPT TO    *
    * CHECK SOME THINGS, IF THE ACCESSED MBOSET HAS AN OBJECT-INIT *
    * SCRIPT                                                       *
    ****************************************************************
    

Problem conclusion

  • The fix for this APAR will be contained in a future release.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ47735

  • Reported component name

    MAXIMO ASST MGM

  • Reported component ID

    5724R46AM

  • Reported release

    761

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-07-29

  • Closed date

    2023-09-27

  • Last modified date

    2023-09-27

  • 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

    MAXIMO ASST MGM

  • Fixed component ID

    5724R46AM

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"Maximo Asset Management"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"761","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
27 September 2023