Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-2070

SimpleMenu fail if primary item does not return required informations

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0M9
    • None
    • None
    • None

        [RUNTIME-2070] SimpleMenu fail if primary item does not return required informations

        This lead to the following generated code
        Ext.create("", ...);
        because a menu declared like this

        <control>
                                <menu-items>
                                    <item ref="org.ametys.runtime.userinterface.ConsoleLogControl" primaryItem="true"/>
                                    <item ref="org.ametys.runtime.userinterface.ConsoleLogControl.toDebug"/>
        ...
        

        will have not classname, no label...

        Raphaël Franchet added a comment - This lead to the following generated code Ext.create("", ...); because a menu declared like this <control> <menu-items> <item ref= "org.ametys.runtime.userinterface.ConsoleLogControl" primaryItem= " true " /> <item ref= "org.ametys.runtime.userinterface.ConsoleLogControl.toDebug" /> ... will have not classname, no label...

          Unassigned Unassigned
          raphael Raphaël Franchet
          Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

            Created:
            Updated:
            Resolved: