IBM Support

IJ29351: IMAGE ADDED TO ROTATING ITEM PREVENTS UPDATES TO ASSOCIATED ASSETS USING REST

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

  • Unable to update rotating ASSET records where an image has been
    added to the rotating ITEM Master record.
    
    Steps to
    reproduce:
    1. Navigate in Maximo to the Item Master
    application.
    Bring up item Fire-100 (note this is a rotating
    item)
    
    2. In the left pane, click "Add/Modify Image" and add an
    image of your choice, then save the record.
    
    3. Navigate to the
    Asset Application. Create a new asset, such as TESTASSETDEV.
    Set the rotating item number to Fire-100. Set the Description
    to "TESTASSETDEV". Save the record. Notice the image on the
    Item Master record is copied to the new asset.
    
    4. Perform a
    GET request call to retrieve the URI for the new Asset record. e
    .g.
    http://yourmaximohost.yourdomain.com/maxrest/oslc/os/MXASSET
    ?oslc.select=assetnum&oslc.where=assetnum="TESTASSETDEV"&_lid=ma
    xadmin&_lpwd=maxadmin&lean=1
    
    The URI for this looks
    like:
    _VEVTVEJGL0JFREZPUkQ-
    
    5. Using the record identifier URI
    returned for the asset, perform a POST call to update the
    existing asset's description:
    
    http://yourmaximohost.yourdomain.
    com/maxrest/oslc/os/MXASSET/_VEVTVEJGL0JFREZPUkQ-?_lid=maxadmin&
    _lpwd=maxadmin&lean=1
    
    {
    "assetnum":
    "TESTASSETDEV",
    "itemnum":"FIRE-100",
    "description":"Test
    update"
    }
    
    Erroneous results:
    An error is received during the
    post:
    {
    "Error": {
    "extendedError": {
    "moreInfo": {
    "href": "you
    rmaximohost.yourdomain.com/maxrest/oslc/error/messages/BMXAA9545
    E"
    }
    },
    "reasonCode": "BMXAA9545E",
    "message": "BMXAA9545E - An
    image is already attached to this resource. To replace the
    image, contact your system administrator.",
    "statusCode":
    "400"
    }
    }
    
    Expected Results:
    The asset record should be updated
    and the image copy should no occur during the
    post.
    
    Version:
    7.6.1.2
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Maximo users                                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When updating a rotating asset that has an associated image  *
    * from the item, "BMXAA9545E - An image is already attached to *
    * this resource. To replace the image, contact your system     *
    * administrator." encountered.                                 *
    ****************************************************************
    Unable to update rotating ASSET records where an image has been
     added to the rotating ITEM Master record.
     Steps to
     reproduce:
     1. Navigate in Maximo to the Item Master
     application.
     Bring up item Fire-100 (note this is a rotating
     item)
     2. In the left pane, click "Add/Modify Image" and add an
     image of your choice, then save the record.
     3. Navigate to the
     Asset Application. Create a new asset, such as TESTASSETDEV.
     Set the rotating item number to Fire-100. Set the Description
     to "*TESTASSETDEV*". Save the record. Notice the image on the
     Item Master record is copied to the new asset.
     4. Perform a GET request call to retrieve the URI for the new
    Asset record:
     [http://yourmaximohost.yourdomain.com/maxrest/oslc/os/MXASSET]
    
    ?oslc.select=assetnum&oslc.where=assetnum="TESTASSETDEV"&_lid=ma
     xadmin&_lpwd=maxadmin&lean=1
     5. Using the record identifier *URI* returned for the asset
    ...
    "href":
    "http://localhost/maximo/oslc/os/mxasset/*_S0RHMS9CRURGT1JE*"
    (the URI is the token similar to*_S0RHMS9CRURGT1JE* in the data
    return from the GET)
    ... Perform a POST call to update the existing asset's
    description:
     [http://yourmaximohost.yourdomain
    

Problem conclusion

  • The fix for this APAR is contained in the following maintenance
    package: Release 7.6.1.3 of Base Services
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ29351

  • 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

    2020-11-17

  • Closed date

    2021-07-15

  • Last modified date

    2021-07-15

  • 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

[{"Line of Business":{"code":"LOB59","label":"Sustainability Software"},"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"}]

Document Information

Modified date:
16 July 2021