IBM Support

JR64797: BPMUPDATESYSTEMAPP COMMAND IS NOT IMPORTING THE NEW THEMES AFTER UPGRADE

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

  • When you upgrade to 21.0.3, the BPMUpdateSystemApp command is
    skipping some artifacts to import. In particular, you may notice
     CSS related issues in your user interface. If you run the
    BPMRegenTheme command the theme is not generated successfully
    and you get an error similar to the following:
    
    [2022-03-02 18:30:35.557] Regen theme summary start
    
    WARNING: Theme not regen for TestBAW(TBAWV_3). This is not a
    real problem and is expected if project does not use theme
    before.
    Snapshot id is : 2064.eb59e594-83f4-49ee-abec-206c55b16892
    com.lombardisoftware.core.TeamWorksException:
    org.mozilla.javascript.JavaScriptException Error: NameError:
    variable @bpm-btn-dark-bg-darker is undefined in
    /tmp/bpmCoachThemeCompilation-wpsadmin/16b34436-2f19-4ce5-942d-6
    2a3b80717af/2e649208-11dd-4f58-a4c9-53c91521b179/workplace.less
    on line 1219, column 13:
    1218    letter-spacing: .32px;
    1219    color: @bpm-btn-dark-bg-darker;
    1220 }
    (less-rhino-1.7.5.js#9443) ( some stack trace here )
    Caused by:
    com.lombardisoftware.core.TeamWorksNotSerializableException:
    org.mozilla.javascript.JavaScriptException Error: NameError:
    variable @bpm-btn-dark-bg-darker is undefined in
    /tmp/bpmCoachThemeCompilation-wpsadmin/16b34436-2f19-4ce5-942d-6
    2a3b80717af/2e649208-11dd-4f58-a4c9-53c91521b179/workplace.less
    on line 1219, column 13:
    1218    letter-spacing: .32px;
    1219    color: @bpm-btn-dark-bg-darker;
    1220 }
    (less-rhino-1.7.5.js#9443)
    at
    com.lombardisoftware.core.ExceptionHandler.ensureSerializable(Ex
    ceptionHandler.java:384)
    at
    com.lombardisoftware.core.TeamWorksException.<init>(TeamWorksExc
    eption.java:65)
    ... 64 more
    
    This is due to the System Data toolkit not getting fully
    updated. If you turn on the following traces and reimport
    system-toolkit.twx via BPMUpdateSystemApp command:
    *=info:com.lombardisoftware.expimp.ExportImportManager=all:com.i
    bm.bpm.bootstrap.BPMUpdateSystemAppHelper=all
    
    You will see some artifacts getting skipped in the trace
    (wsadmin.trace):
    [3/31/22 13:18:30:968 EDT] 00000001 ExportImportM 3   Importing
    model for snapshot 8.6.0.0...
    [3/31/22 13:18:30:971 EDT] 00000001 ExportImportM 1
    com.lombardisoftware.expimp.ExportImportManager importModel
    Importing 8.6.0.0: skip 24.53b76f8a-9bb5-479b-ac3d-4571163c7a9f
    [3/31/22 13:18:30:971 EDT] 00000001 ExportImportM 1
    com.lombardisoftware.expimp.ExportImportManager importModel
    Importing 8.6.0.0: skip 24.581a472b-5016-479a-b5b5-0a9701c2c42c
    ...
    [3/31/22 13:18:30:974 EDT] 00000001 ExportImportM 1
    com.lombardisoftware.expimp.ExportImportManager importModel
    Importing 8.6.0.0: 0/228 items are processed
    
    The content-Integration toolkit is also affected.
    

Local fix

Problem summary

  • This issue occurs due to the extra snapshot being created on top
     of the original snapshot. This extra snapshot is not deleted
    during toolkit update that causes version conflicts with the
    latest import and prevents some artifacts from being imported.
    The extra snapshots with a TC suffix also cause the same
    problem.
    
    PRODUCT AFFECTED:
    IBM Business Automation Workflow
    IBM Cloud Pak for Business Automation
    

Problem conclusion

  • A fix is available or will be available that updates the
    BPMUpdateSystemApp command to properly purge all the old
    snapshots so it can import all the artifacts.
    
    Note: Please install the iFix for JR64874 on IBM BAW 21.0.3 due
    to a regression. The fix for JR64874 includes the iFix for
    JR64797 in it as well.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR64797

  • 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-04-04

  • Closed date

    2022-05-10

  • Last modified date

    2022-05-10

  • 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

    BUS AUTO WORKFL

  • Fixed component ID

    5737H4100

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS8JB4","label":"IBM Business Automation Workflow"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"21.0.2","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
24 August 2022