[
https://issues.apache.org/jira/browse/OFBIZ-2252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David E. Jones closed OFBIZ-2252.
---------------------------------
Resolution: Fixed
I'm applying this patch and making some changes right away since this really
needs to be fixed ASAP.
1. First and most important, please don't change links that still work, there
is no need and it just makes the code more complicated without any benefit (for
example the orderview and order.pdf links do not need to be changed). It is
easy to figure this out, just click on the links and if it works then leave it
as-is.
2. Second, there is no need to use the getElementById() function. It is better
to just use the "name" attribute on the form instead of the "id" attribute and
refer to it directly. Instead of:
document.getElementById('OrderCreated').submit()
simply use:
document.OrderCreated.submit()
3. The names of the forms could be better, ie be similar to the target they
correspond to. For example for the form changing to the status ORDER_APPROVED
instead of using "OrderCreated" for the name, I've changed it to
OrderApproveOrder.
4. Kind of related to #1, there are a few more links on this page that need to
be changed to forms, but that is fine in another issue.
Thanks again for your help. Some modified changes are in SVN rev 758502.
> Exception occurs while changing the order status
> ------------------------------------------------
>
> Key: OFBIZ-2252
> URL: https://issues.apache.org/jira/browse/OFBIZ-2252
> Project: OFBiz
> Issue Type: Improvement
> Components: order
> Affects Versions: SVN trunk
> Reporter: Deepesh Kapoor
> Assignee: David E. Jones
> Fix For: SVN trunk
>
> Attachments: OFBIZ-2252.patch, OFBIZ-2252.patch
>
>
> When the Status of the Order is changed then as parameters are passed as url
> parameters on the secured port, Exception
> org.ofbiz.webapp.event.EventHandlerException: Found URL parameter [orderId]
> passed to secure (https) request-map with uri [changeOrderStatus] occurs.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.