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

        Raphaël Franchet made changes -
        Status Original: Resolved [ 5 ] New: Closed [ 6 ]
        Raphaël Franchet made changes -
        Resolution New: Fixed [ 1 ]
        Status Original: Open [ 1 ] New: Resolved [ 5 ]

        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...
        Raphaël Franchet created issue -

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

            Created:
            Updated:
            Resolved: