IBM Support

Debugging JazzSM DASH client side issues with Chrome Developer Tools - Part 2

Technical Blog Post


Abstract

Debugging JazzSM DASH client side issues with Chrome Developer Tools - Part 2

Body

Another common case of ‘spinning wheel’ is observed when creating a new page and we try to save it to a folder, but the folder tree never loads:

  image    image

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The console on Chrome Developer tools shows:

image

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

pointing to line '954' of 'Tree.js'

 

/ibm/console/secure/isclite/scripts/tipdojo/dijit/Tree.js:954 {_attachPoints: Array(3), _attachEvents: Array(0), srcNodeRef: div#pageLocationTree, _connects: Array(0), _supportingWidgets: Array(0), …}

error loading root: " Error: dojo.data.ItemFileWriteStore:  The json data provided by the creation arguments is malformed.  Items within the list have identifier: [id].  Value collided: [com.ibm.isclite.admin.Freeform.navigationElement.pagelayoutA.modified.N2doSg6eHp4xJSFwknoRhaA1544514678119]

 

the  message 'Value collided' is self-explanatory, meaning there are pages with the same 'id', and since it's a 'navigationElement', we should look into file:

 

$JAZZSM_HOME/profile/config/cells/JazzSMNode01Cell/applications/isc.ear/deployments/isc/isclite.war/WEB-INF/navigation.xml

 

and locate the duplicated entries:

 

    <navigation:nav-element formPersistence="false" hidden="false" isWscNode="false" layout-element-ref="com.ibm.isclite.admin.Freeform.layoutElement.A__1544514678119" layoutUpdatedAtRuntime="true" moduleID="com.ibm.isclite.global.custom.module" moduleIDOrig="com.ibm.isclite.global.custom.module" nodeType="page" securityUpdatedAtRuntime="false" stateMaintained="true" taskType="multiTask" uniqueName="com.ibm.isclite.global.custom.module-SPSVS-com.ibm.isclite.admin.Freeform.navigationElement.pagelayoutA.modified.N2doSg6eHp4xJSFwknoRhaA1544514678119" url="navigation.do?pageID=com.ibm.isclite.admin.Freeform.navigationElement.pagelayoutA&amp;moduleRef=com.ibm.isclite.ISCAdminPortlets&amp;ISC.TASKTYPE=1" wscRole="iscadmins" wscRoleType="Editor">
      <navigation:title>
        <base:nls-string lang="">victor_test</base:nls-string>
      </navigation:title>

 

    <navigation:nav-element formPersistence="false" hidden="false" isWscNode="false" layout-element-ref="com.ibm.isclite.admin.Freeform.layoutElement.A__1544514678119" layoutUpdatedAtRuntime="true" moduleID="com.ibm.isclite.global.custom.module" moduleIDOrig="com.ibm.isclite.global.custom.module" nodeType="page" securityUpdatedAtRuntime="false" stateMaintained="true" taskType="multiTask" uniqueName="com.ibm.isclite.global.custom.module-SPSVS-com.ibm.isclite.admin.Freeform.navigationElement.pagelayoutA.modified.N2doSg6eHp4xJSFwknoRhaA1544514678119" url="navigation.do?pageID=com.ibm.isclite.admin.Freeform.navigationElement.pagelayoutA.modified.8xTElyJ0G8JsRD0WAnxnax21517849407340&amp;moduleRef=com.ibm.isclite.global.custom.module&amp;ISC.TASKTYPE=1" wscRole="iscadmins" wscRoleType="Editor">
      <navigation:title>
        <base:nls-string lang="en">victor_test</base:nls-string>
      </navigation:title>

 

Once done this, please engage IBM Support to have the file sanitised.

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"","label":""},"Component":"","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}}]

UID

ibm11082493