Thanks Deepak for creating the issue, Thanks Rishi for providing the patch. Thanks Arun for the verification.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661350 13f79535-47bb-0310-9956-ffa450edef68
Thanks to Deepak's report on dev ML:
> + manufacturer = from("WorkEffortPartyAssignment").where("workEffortId", productionRunId, "roleTypeId", "MANUFACTURER").queryOne();
Here we need to use filterByDate for “ WorkEffortPartyAssignment”.
Actually it was a bit more because WorkEffortPartyAssignment PK is
<prim-key field="workEffortId"/>
<prim-key field="partyId"/>
<prim-key field="roleTypeId"/>
<prim-key field="fromDate"/>
So I have also replaced .queryOne() by .queryFirst()
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661323 13f79535-47bb-0310-9956-ffa450edef68
Thanks Darrell Donati for creating the issue and thanks Divesh for providing the patch. Thanks Pierre for your active participation in the discussion.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661316 13f79535-47bb-0310-9956-ffa450edef68
Build errors occur for trunk due to missing build.xml fileset for party, workeffort, product, order, ebay, and pos apps when using Java 1.8
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1660444 13f79535-47bb-0310-9956-ffa450edef68
Currently the file is in the widget folder. This should be in the appropriate actions folder under webapp.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1659508 13f79535-47bb-0310-9956-ffa450edef68
If associations to production runs are set manually in a production run, it should be possible to delete erroneous associations.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658965 13f79535-47bb-0310-9956-ffa450edef68
This patch fixes the problem from a functional point of view and consequently the JUnit test in question.
In fact, functionally speaking, The previous patch is not good in measure or it does not take into account that an OrderItem might use several lines of stock InventoryItem.
orderId orderItemSeqId orderItemShipGrpSeqId InvetoryItemId
10000 000001 10000 000001
10000 000001 10001 000001
So by making a stock exit (ItemIssuance) we can afford to cancel the reservation lines for the line of stock in question but not all the lines of stock.
That's why I added the lines in the inventoryItemId research question and then cancel a reservation!
While at it I reverted r1653056 since testMultipleInventoryItemIssuance now passes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1656185 13f79535-47bb-0310-9956-ffa450edef68
After some efforts to take into consideration Anil's justified concerns (simply put: keep the current behaviour), the modifications are finally light, which is greater for reviews. Most important are:
* Product component
** I have moved the OfbizCatalogAltUrlTransform and OfbizCatalogUrlTransform classes to a ftl subdirectory with the new FTL macros implementation: CatalogAltUrlSeoTransform, CatalogUrlSeoFilter, CatalogAltUrlSeoTransform, CatalogUrlSeoTransform, SeoTransform, UrlRegexpTransform
** A bunch of new filters have been added CatalogUrlSeoFilter, controlServlet, SeoCatalogUrlServlet, SeoContentUrlFilter, SeoContextFilter, SeoControlServlet, UrlRegexpContextFilter
** 2 util classes: SeoConfigUtil, SeoUrlUtil
** By default ofbizCatalogAltUrl and ofbizCatalogUrl macros now use the new implementations by CatalogAltUrlSeoTransform and CatalogUrlSeoTransform. This can be changed back in freemarkerTransforms.properties
** A SeoConfig.xml file define some SEO parameters, the SeoConfig.xsd can be sued as documentation, globally please refer to OFBIZ-5312.
* Framework webapp component
** By default ofbizUrl macro now uses the new implementations by UrlRegexpTransform. This can be changed back in freemarkerTransforms.properties
* Ecommerce component
** A new ecomseo webapp clones the ecommerce webapp on the model of ecomclone. There is not much there: mostly a controller with a new JspViewHandler class (in ecommerce) and a web.xml file
With these changes we can have both worlds running side by side. So you can use eitherb http://localhost:8080/ecommerce/control/main as root or http://localhost:8080/ecomseo, but also if you want http://localhost:8080/ecommerce/. Then everything follows.
From my reviews and tests all is working as expected. I only found a trivial bug that I can also reproduce in current trunk see OFBIZ-5305 (sometimes not locally, weird).
Of course, all the tests passes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1655803 13f79535-47bb-0310-9956-ffa450edef68
This commit might break some Groovy scripts. There seemed to be a lot of C&P widget import statements, but there were no widget classes being used in the script, so I removed them. I might have overlooked something though.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652852 13f79535-47bb-0310-9956-ffa450edef68
Allow finding orders by the OrderHeader.orderName field at ordermgr/control/findorders. Searching by orderName over orderId is more relevant when customers specify the name of their order.
jleroux: I have increased the size of the column from 5 to 10% and hidden the name when empty
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652708 13f79535-47bb-0310-9956-ffa450edef68
The Find Order page at ordermgr/control/searchorders does not filter results.
This patch adds the .where(cond) method missing from the query statement.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652706 13f79535-47bb-0310-9956-ffa450edef68