=======================================================================
The Shipment Box Type selection is at line item level on Pack Order screen where the package selection for each order item is made. It should instead be at package level next to the package weight input box.
Also, ShipmentBoxType values are supported only for USPS, which is hard coded in PackOrder.groovy.
There is a bug reported in OFBIZ-4606 for Release 11.04 but exists in Trunk as well. It should be fixed if we make the above change.
=======================================================================
Thanks Mridul for creating the issue and providing the patch for the same.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1632772 13f79535-47bb-0310-9956-ffa450edef68
===================================================================
Pagination is handled in getProductCategoryAndLimitedMembers
Then the out of stock filtering is done in CategoryDetail.groovy.
Hence the pagination is screwed up. Certain pages might show less records or no records based upon data condition.
===================================================================
Thanks Arun for the contribution and Thanks Kiran for creating the issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1632750 13f79535-47bb-0310-9956-ffa450edef68
=========================================================================
In partymgr contrller.xml, we have view request named "ViewCommunicationEvent", and this request call an service event, due to this when we try to perform sorting on Child Communication Events, Customer Request List or any other screen over Communication screen then it will thorw following exception:
org.ofbiz.webapp.event.EventHandlerException: Found URL parameter [communicationEventId] passed to secure (https) request-map with uri [ViewCommunicationEvent] with an event that calls service [setCommEventRoleToRead]; this is not allowed for security reasons! The data should be encrypted by making it part of the request body (a form field) instead of the request URL. Moreover it would be kind if you could create a Jira sub-task of https://issues.apache.org/jira/browse/OFBIZ-2330 (check before if a sub-task for this error does not exist). If you are not sure how to create a Jira issue please have a look before at http://cwiki.apache.org/confluence/x/JIB2 Thank you in advance for your help.
Also due to this service event call on view request entry we can't open the communication events in new tab. Ideally this service should be call in screen context instead view request.
=====================================
Thanks Deepak for reporting the issue and providing the patch for the same.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1632745 13f79535-47bb-0310-9956-ffa450edef68
After mounting ecommerce as root web app, I got ScreenRenderException, caused by StringIndexOutOfBoundsException: String index out of range: -1
at org.ofbiz.product.category.CatalogUrlServlet.makeCatalogUrl(CatalogUrlServlet.java:186)
Categories and products cannot be rendered.
jleroux: I added 2 other cases to Josip's patch.
Note: you could mount the ecommerce as root web app between R9.04 and R11.04 (included)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1631203 13f79535-47bb-0310-9956-ffa450edef68
I have noticed an undesired behavior when two products are associated by the "ALSO_BOUGHT" association type.
Specifically, when a product, e.g., Tiny Gizmo (productId = "GZ-1000"), is associated to another product, e.g., Micro Chrome Widget (productIdTo = "WG-1111"), by setting productAssocTypeId equal to "ALSO_BOUGHT" in ProductAssoc, the Tiny Gizmo web page in the ecommerce site correctly shows the Micro Chrome Widget as "Customers who bought this item also bought:". Accordingly with the current software behavior, even if Micro Chrome Widget (productId = "WG-1111") was not explicitly associated to Tiny Gizmo (productIdTo = "GZ-1000"), also the Micro Chrome Widget web page shows Tiny Gizmo as "Customers who bought this item also bought:", which may be useful in cases where the 'ALSO_BOUGHT' association is meant to be necessarily bidirectional, i.e., if prodA is associated to prodB, then prodB is associated to prodA and vice-versa. However, when the user wants to express the symmetric nature of the relationship by explicitly associating both Tiny Gizmo to Micro Chrome Widget and Micro Chrome Widget to Tiny Gizmo in ProductAssoc, the system erroneously shows the associated products twice, both in the Tiny Gizmo and Micro Chrome web pages.
The undesired behavior can be reproduced as follows:
# Run OFBiz with demo data
# import the following associations from the OFBiz XML Data Import form
{code}
<ProductAssoc productId="GZ-1000" productIdTo="WG-1111" productAssocTypeId="ALSO_BOUGHT" fromDate="2014-09-02 12:00:00.000"/>
<ProductAssoc productId="WG-1111" productIdTo="GZ-1000" productAssocTypeId="ALSO_BOUGHT" fromDate="2014-09-02 12:00:00.000"/>
{code}
# click on Tiny Gizmo or Micro Chrome Widget from the main page of the ecommerce site.
The attached patch modifies the above behavior as follows:
- if only "prodA" (productId = "prodA") is associated to "prodB" (productIdTo = "prodB") in ProductAssoc, and not vice-versa, only "prodA" web page shows "prodB" as "Customers who bought this item also bought:". This means that the 'ALSO_BOUGHT' association type becomes not necessarily bidirectional by default, which is in accordance with most common algorithms for the automatic generation of "WHO BOUGHT X ALSO BOUGHT Y" recommendations that may produce bidirectional associations for some couple of products and not for others, based on conditional probabilities and actual users behavior;
- in those specific cases in which the association is actually bidirectional for a certain couple of products (prodA, prodB), i.e., both 'prodA to prodB' and 'prodB to prodA' associations are present in ProductAssoc, associated products are shown only ones in prodA and prodB web pages.
The patch simply sets the value of the parameter "bidirectional" to its default value, i.e., "false", when alsoBoughtProducts are collected by calling getAssociatedProducts() from applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/ProductDetail.groovy.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1628096 13f79535-47bb-0310-9956-ffa450edef68
<field-to-result field="value" result-name="${key}"/>
is no more supported: converted minilang code that was still using this syntax and was broken by the refactoring.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1627763 13f79535-47bb-0310-9956-ffa450edef68
Sharing latest comment from Arun: Issue of shipping adjustments in the 'Quick Refund Entire Order' process is not regenerating but return total was calculating wrong (greater than order total) during this process. Please find attached patch for the same.
Thanks Arun and Deepak for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626455 13f79535-47bb-0310-9956-ffa450edef68
Jira ticket is open for long so I assume its ok to modify UX as per the recommendations on it.
I don't see need for backporting this commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626447 13f79535-47bb-0310-9956-ffa450edef68
reassignInventoryReservations services seems to be more complete so it makes sense to use it.
Thanks Christian Carlow for reporting the issue and Divesh Dutta for providing the fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626439 13f79535-47bb-0310-9956-ffa450edef68
Now reading createNew flag from request parameters, if not found then initialize it locally.
Thanks Deepak Dixit for the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626406 13f79535-47bb-0310-9956-ffa450edef68
During load testing of OFBiz-13.07 and trunk, we observed that 'Picking' screen of Facility manager get block when there are large number of records to process. So need to fix this screen by limiting number of records to be process.
Thanks Amardeep for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626388 13f79535-47bb-0310-9956-ffa450edef68