Troubleshoot and support > Management Center


Troubleshoot: Warning logged for undefined property

After migrating from the WebSphere Commerce v6 Feature Pack 3.0.1, the OpenLaszlo Debugger posts a warning about an undefined displayName.


Problem

In the WebSphere Commerce Version 6 Feature Pack 3.0.1 environment, you create a custom tool in the Management Center which extends wcfBusinessObjectEditor. After installing WebSphere Commerce v7, you access the Management Center. The OpenLaszlo debugger posts messages similar to the following examples:

WARNING @ToolTab.lzx#35: reference to undefined property 'displayName'
WARNING @ToolTab.lzx#54: reference to undefined property 'displayName'
WARNING @ToolTab.lzx#111: reference to undefined property 'displayName'


Solution

Within the WebSphere Commerce development workspace, complete the following tasks:

  1. Search for the following phrase in the *.lzx files:

    extends="wcfBusinessObjectEditor"
    

  2. For each file that extends the editor, add in the following displayName:

    <class name="myClass" extends="wcfBusinessObjectEditor" 
                displayName="${myResourceBundle.abcDisplayName.string}"
    

    where:

    • myClass is the class name that is extended

    • myResourceBundle is the resource bundle name

    • abcDisplayName.string is the display name

  3. Save the file changes and repeat steps 1 and 2 until all applicable files are corrected.


Related tasks

Enable Management Center client-side logging and tracing

Related reference

Troubleshoot: Management Center


+

Search Tips   |   Advanced Search