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

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


The following commit(s) were added to refs/heads/trunk by this push:
     new bafce89667 Fixed: Remove the unused viewprofile request of the 
accounting webapp, which fails with an error page (OFBIZ-13653)
bafce89667 is described below

commit bafce89667d3d2e5e99ceefcc7b29f17f67a88e8
Author: Mridul Pathak <[email protected]>
AuthorDate: Wed Oct 7 17:25:24 2026 +0530

    Fixed: Remove the unused viewprofile request of the accounting webapp, 
which fails with an error page (OFBIZ-13653)
    
    The accounting controller maps viewprofile to the profile screen of the 
party component, but the accounting webapp defines no profileMenuLocation and 
does not include the party controller, so the page failed with "Error rendering 
included menu named [PersonUpdate]". Nothing in the accounting application 
links to it, as the party links all go to the partymgr viewprofile, so the 
unused request and view are removed.
---
 applications/accounting/webapp/accounting/WEB-INF/controller.xml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/applications/accounting/webapp/accounting/WEB-INF/controller.xml 
b/applications/accounting/webapp/accounting/WEB-INF/controller.xml
index 5c8769d3ce..67d8b9dfb0 100644
--- a/applications/accounting/webapp/accounting/WEB-INF/controller.xml
+++ b/applications/accounting/webapp/accounting/WEB-INF/controller.xml
@@ -2245,8 +2245,6 @@ under the License.
     <request-map uri="LookupGlReconciliation"><security auth="true" 
https="true"/><response name="success" type="view" 
value="LookupGlReconciliation"/></request-map>
     <request-map uri="LookupCustomTimePeriod"><security auth="true" 
https="true"/><response name="success" type="view" 
value="LookupCustomTimePeriod"/></request-map>
 
-    <request-map uri="viewprofile"><security https="true" 
auth="true"/><response name="success" type="view" 
value="viewprofile"/></request-map>
-
     <!-- ================ PDF generation requests ================== -->
     <request-map uri="invoice.pdf">
         <security https="true" auth="true"/>
@@ -2806,7 +2804,6 @@ under the License.
     <view-map name="EditPaymentGatewayConfigType" type="screen" 
page="component://accounting/widget/PaymentGatewayConfigScreens.xml#EditPaymentGatewayConfigType"/>
 
     <!-- Lookup mappings -->
-    <view-map name="viewprofile" type="screen" 
page="component://party/widget/partymgr/PartyScreens.xml#viewprofile"/>
     <view-map name="LookupPerson" type="screen" 
page="component://party/widget/partymgr/LookupScreens.xml#LookupPerson"/>
     <view-map name="LookupPartyGroup" type="screen" 
page="component://party/widget/partymgr/LookupScreens.xml#LookupPartyGroup"/>
     <view-map name="LookupPartyName" type="screen" 
page="component://party/widget/partymgr/LookupScreens.xml#LookupPartyName"/>

Reply via email to