Menu

Customize menu false with error "Could not be modified"

Linh
2021-09-09
2021-09-10
  • Linh

    Linh - 2021-09-09

    Hi Everyone,

    Today, I customize menu RequestManagement, the configuration as below:

    <menu id="RequestManagement" xsi:type="MenuGroup" _delta="redefine">
                <rank>30</rank>
                <enable_class>UserRequest</enable_class>
                <enable_action>UR_ACTION_MODIFY</enable_action>
                <enable_permission>UR_ALLOWED_YES</enable_permission>
                <enable_stimulus/>
            </menu>
    

    But, When I run setup for upgrade, It has an error (as the picture attachment)

    I sure this menu is exist because It's the build-in menu of iTop

    Please kindly help me!

    Thanks All!

     

    Last edit: Linh 2021-09-09
  • Vincent @ Combodo

    Most probably your extension does not have dependencies on the iTop module which brings that menu, so when the compilation load your extension, the iTop module is not yet loaded, so the menu does not yet exist...

     
    🎉
    1
    • Linh

      Linh - 2021-09-10

      Yes, You are right!
      Thank You so much!

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.