IBM Support

JR65032: A BLANK SPACE IS APPENDED TO THE DOCUMENT ID IN THE XML RESPONSE OF THE CREATE DOCUMENT AJAX CALL

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 new function.

Error description

  • When you use an Ajax call to create a document, for example:
    https://localhost:9443/portal/jsp/ecmDocument?operation=ajax_cre
    ateDocument
    
    An xml response is returned by the Ajax service containing the
    documentId. A blank space is appended after the documentId.
    Notice the blank space before the end tag for the documentId,
    for example:
    
    <serviceResponse returnLength="1">
      <output
    name="documentId">idd_306CAA81-0000-C513-B6D1-XXXXXXXXXXXX
    </output>
    </serviceResponse>
    
    When this xml response is parsed to retrieve the documentId, so
    that it can be used in a content management node to get document
    content, an exception is returned
    Caused by:
    com.lombardisoftware.component.common.workflow.WorkflowProcessIt
    emException: An exception occurred in activity "Get Document
    Content" of "Human Service" with name "Upload Document". Task
    instance id "Task.61". Details:
    "idd_306CAA81-0000-C513-B6D1-XXXXXXXXXXXX ' is not a valid CMIS
    document identifier.".
        at
    com.lombardisoftware.component.common.workflow.ExecutionJob.crea
    teWorkflowProcessItemException(ExecutionJob.java:670)
        at
    com.lombardisoftware.component.common.workflow.ExecutionJob.doJo
    b(ExecutionJob.java:525)
        at
    com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.
    doResumeWorkflowEngine(EJBWorkflowManagerBean.java:1650)
        at
    com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.
    doResumeWorkflowEngine(EJBWorkflowManagerBean.java:718)
        at
    com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.
    resumeTask(EJBWorkflowManagerBean.java:375)
        at
    com.lombardisoftware.server.ejb.workflow.EJSRemoteStatefulEJBWor
    kflowManager_9907b2e2.resumeTask(Unknown Source)
        at
    com.lombardisoftware.server.ejb.workflow._EJBWorkflowManagerInte
    rface_Stub.resumeTask(Unknown Source)
        at
    com.lombardisoftware.component.common.workflow.EJBWorkflowManage
    rDelegateDefault.resumeTask(EJBWorkflowManagerDelegateDefault.ja
    va:131)
        ... 67 more
    Caused by:
    com.lombardisoftware.data.api.InvalidCMISDocumentIdException:
    'idd_306CAA81-0000-C513-B6D1-XXXXXXXXXXXX ' is not a valid CMIS
    document identifier.
        at
    com.lombardisoftware.data.api.BPMDocumentsQueryOptions.forCmisDo
    cumentIDs(BPMDocumentsQueryOptions.java:54)
        at
    com.ibm.bpm.integration.runtime.ECMIntegrationServices.getDocume
    ntContent(ECMIntegrationServices.java:437)
        at
    com.ibm.bpm.integration.runtime.ECMIntegrationServices.getDocume
    ntContent(ECMIntegrationServices.java:397)
    
    PRODUCTS AFFECTED
    IBM Cloud Pak for Business Automation
    IBM Business Automation Workflow
    

Local fix

Problem summary

  • No additional information is available.
    

Problem conclusion

  • A fix is available or will be available that ensures that Get
    Document Content trims the space and successfully retrieves the
    content.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR65032

  • Reported component name

    CLOUD PAK FOR A

  • Reported component ID

    5737I2300

  • Reported release

    L00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-06-14

  • Closed date

    2022-09-26

  • Last modified date

    2023-05-30

  • 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

    CLOUD PAK FOR A

  • Fixed component ID

    5737I2300

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSBYVB","label":"IBM Cloud Pak for Business Automation"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"L00","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
30 May 2023