[
https://issues.apache.org/jira/browse/OFBIZ-2684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12726425#action_12726425
]
Anil K Patel commented on OFBIZ-2684:
-------------------------------------
1) I looked at the Menu widget rendering code and the issue faced here is not
simple bug fix in menu widget.
2) This patch fixes a bug.
3) Code pattern used in patch is in no way a bad code.
4) Freemarker template technology is first class citizen of Ofbiz framework.
Above reasons are enough for me to add new way of rendering menu as solution
for fixing the bug.
We may want to save existing menu widget code for future use. Once the menu
widget rendering is fixed we can remove ftl based menu and put menu widget
artifacts back.
> In Accounting invoice section the InvoiceSubBar Menu all options are not
> working properly, convert it to ftl, so that all functionality can be run.
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-2684
> URL: https://issues.apache.org/jira/browse/OFBIZ-2684
> Project: OFBiz
> Issue Type: Bug
> Components: accounting
> Affects Versions: Release Branch 9.04, SVN trunk
> Reporter: Rishi Solanki
> Assignee: Ashish Vijaywargiya
> Fix For: Release Branch 9.04, SVN trunk
>
> Attachments: InvoiceSubTabBar_Ofbiz-2684.patch,
> InvoiceSubTabBar_Ofbiz-2684.patch
>
>
> On invoice overview page if we select a invoice to see its view for example
> navigate thru following link ;
> https://localhost:8443/accounting/control/invoiceOverview?invoiceId=demo10002
> On this link all the functionality working fine when we go for changing the
> status to statusId, but in case of changing the previous status to
> "INVOICE_WRITEOFF" and "INVOICE_CANCELLED" a JS function confirmActionLink()
> call on click.
> The JS can not work due the MenuWidget renders not accordingly and not
> handling the such scenario. So to achieve the functionality work properly
> convert the Menu to ftl, without changing its any of the functionality.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.