This line should not have been changed, "requirePasswordChange" can come from UserLogin not only "request"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1488938 13f79535-47bb-0310-9956-ffa450edef68
1. URL parameters were being mangled by clunky string manipulation code.
2. The sort column logic was piggy-backed on the pagination event. I created a new choice for the form widget <on-event-update-area> element - "sort-column" - so column sort events can update their own areas.
3. The parameter name for the sort column was hard-coded, so column sorting in multiple lists on the same screen would not work. I added a new <form> attribute - "sort-field-parameter-name" - so each list can be sorted separately.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1488315 13f79535-47bb-0310-9956-ffa450edef68
On checkout page if any error comes it redirects user back to showcart page with an error message.
Expected : Error should be shown on the same page.
To reproduce the issue,
Goto OrderEntry -> Add any product to cart -> click on Quick finalize order now select shipping address & shipping method but don't select any payment option and now click on "Continue to Final Order Review" link. You will be redirected to showcart page and with a error message. "Please select a method of payment."
And expected behaviour is to show the error message on the same checkout page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1488127 13f79535-47bb-0310-9956-ffa450edef68
There was an extra check in CheckOutEvents.setCheckOutPages that prevented an error message from being produced when no payment method was selected on the "How shall you pay" step of the checkout process.
jleroux: and you got redirected to the order entry page, with the patch you stay on the payment method page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1488000 13f79535-47bb-0310-9956-ffa450edef68
Problem specification and step -
1) Go to Order Manager app > Find Orders
2) Enter valid product id for which order exists
3) Relevant orders with entered product value would be shown in search results
4) Enter invalid product id - JUNK value
5) Error behvaior:All orders on the system would be highlighted
6) Actual behavior: No order should be shown as search results, as no order exists with this JUNK product id on system
Observation -
When looked into code level found that system apply check for two condition -
1) If passes productId starts or ends with % or * then add that in condition list as it is and it returns all order that contains the word for product Ids.
2) If the above condition is failed the check if the product corresponding to product id is present or not.
3) If exists then check for variants (if its virtual)all this.
4) If product not exists then the action is missing i.e. no condition is added and it returns all order available.
Recommendation -
There are two ways to solve the issue -
1) If product corresponding to passes productId is not present then return message to user that order is not present.
2) If the thought process for current behavior is show all record if product not available then user should get a message as well that "Order is not available for your search product but we have all these order in system" to convey the correct message to user.
jleroux: The 1st solution is used. I simply added in label that no productId entered would return all the orders, also in French
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1487854 13f79535-47bb-0310-9956-ffa450edef68
This screen did not take into account the widget.form.defaultViewSize properties, here is the needed change
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1487130 13f79535-47bb-0310-9956-ffa450edef68
There was some code to check for this, but it was testing a "fields to select" List that was never empty, so SELECT * was never used.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1486552 13f79535-47bb-0310-9956-ffa450edef68
Fulfill the goal with some more:
* makes the Metrics main parameters (estimationSize, estimationTime and smoothing) dynamically changeable (added in serverstats.properties)
* there is no threshold handling for event metrics
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1485601 13f79535-47bb-0310-9956-ffa450edef68
After the order gets cancelled, there is a loop in OrderView.groovy@122 that removes promotional order line items retrieved from the OrderReadHelper class when cancelled. This is what makes the ConcurrentModificationException to be thrown.
For further details, check out the following thread at the dev mailing list: http://ofbiz.markmail.org/message/vmm65cmbf5hkmqm6?page=2
jleroux: I simply put a comment and removed the useless temporary orderItemListFiltered variable
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1485432 13f79535-47bb-0310-9956-ffa450edef68