This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git


The following commit(s) were added to refs/heads/trunk by this push:
     new ba397099f Improved: AssetMaint - Move from hard-coded menu location to 
parameterized (OFBIZ-12952) (#94)
ba397099f is described below

commit ba397099f523efdd07141559053635800de6f622
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Wed Mar 20 18:57:51 2024 +0100

    Improved: AssetMaint - Move from hard-coded menu location to parameterized 
(OFBIZ-12952) (#94)
    
    Fixes a "typo"
    
    But that's not enough I also get:
    |E| Error rendering included menu named [MainActionMenu] at location
    [component://assetmaint/widget/AssetmaintMenus.xml]:
    java.lang.IllegalArgumentException: Could not find menu with name
    [MainActionMenu] in location 
[component://assetmaint/widget/AssetmaintMenus.xml]
    
    Just have to get assetmaint/control/main
    
    Better test before creating PRs :/
---
 assetmaint/webapp/assetmaint/WEB-INF/web.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/assetmaint/webapp/assetmaint/WEB-INF/web.xml 
b/assetmaint/webapp/assetmaint/WEB-INF/web.xml
index f230b8a00..ceb0734e6 100644
--- a/assetmaint/webapp/assetmaint/WEB-INF/web.xml
+++ b/assetmaint/webapp/assetmaint/WEB-INF/web.xml
@@ -61,7 +61,7 @@
     <context-param>
         <description>The location of the menus file to be used in this webapp; 
referred to as a context variable in screen def XML files.</description>
         <param-name>mainMenuLocation</param-name>
-        
<param-value>component://assetmaint/widget/AssetMaintMenus.xml</param-value>
+        
<param-value>component://assetmaint/widget/AssetmaintMenus.xml</param-value>
     </context-param>
 
     <filter>

Reply via email to