This reverts svn:eol-style=native on Java files which were forced by r1044202n, 89 Java files are concerned. This commit hopefully makes things more consistent.
It's indeed hard to see the impact of this change before it's committed. I'll check once done, I already found 116 Java files w/o svn:eol-style=native but there are 1231 Java files at all, so not sure how most are set...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1695126 13f79535-47bb-0310-9956-ffa450edef68
When you paginate, after creating a sufficient number of subscriptions for pagination to appear, you get an error
To reproduce this problem:
1. Import DataToReproduceOFBiz-5634.xml in webtools Entity Import.
2. Visit https://localhost:8443/catalog/control/EditProductSubscriptionResources?productId=GZ-NEWS-1MO
3. Add a new subscription resource.
4. Click next button, error message displayed.
Added paginate-target="EditProductSubscriptionResources" to ListProductSubscriptionResources form and resolved this problem in trunk.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1692604 13f79535-47bb-0310-9956-ffa450edef68
When you paginate, after creating a sufficient number of Catalog Categories for pagination to appear, you get an error
To reproduce this problem:
1. Import DataToReproduceOFBiz-6547.xml in webtools Entity Import.
2. Visit https://localhost:8443/catalog/control/EditProdCatalogCategories?prodCatalogId=TestCatalog
3. Add a new Catalog Categories
4. Click next button, error message displayed.
Applied patch (add paginate-target="EditProdCatalogCategories" to "EditProdCatalogCategories" form) and resolved this problem
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1692600 13f79535-47bb-0310-9956-ffa450edef68
If view indexes as input parameters of service getProductCategoryAndLimitedMembers get manipulated (e.g. by manipulating URL params or bookmarking an URL with those params and come back later), it can lead to an IndexOutOfBoundsException because of a lowIndex greater list size. The highIndex is checked for that, the lowIndex is not.
Thanks Martin Becker for reporting the issue and providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686741 13f79535-47bb-0310-9956-ffa450edef68
This was introduced by r1680671 during the improvement for (OFBIZ-4480). The behaviour is changed to name the attachment PickSheet<orderId>.pdf for single order pick sheets and preserve the original naming when used for multiple order pick sheets.
Thanks Deepak for reporting the issue and everyone else who took part in the discussion.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686536 13f79535-47bb-0310-9956-ffa450edef68
This could be seen as a moot point for some of them, but the main ones in party and product component should not miss these fields.
Here they are.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686071 13f79535-47bb-0310-9956-ffa450edef68
Introduces a new maxlength attribute to the textarea element in forms, applies the maxlength (255 chars) value in several FTL files, when the DB is limiting the length.
Thanks Forrest Rae for reporting the issue and providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682132 13f79535-47bb-0310-9956-ffa450edef68
jleroux: I suspected it was only a matter of replacing "${bsh" by "${groovy" in *.xml. But I had not the guts to get into 11(!) sub tasks.
So, in Eclipse, I simply did a S/R in *.xml and compared parts of my changes with some Pierre's most "complex" patches respectively product, ebaystore, projectmgr and scrum.
They were totally similar (just revisions number changed) so here is the whole.
I will later improve these changes by removing HTML entities when possible, this is a bit more delicate because in some cases the XML schema are not complete (or/and for other still obscure to me reasons) and if you simply replace HTML entities by simple code (eg &Amp; by &) you get issues in logs when the XML parser cross them...
Note: only menus, screen and forms are changed here.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682118 13f79535-47bb-0310-9956-ffa450edef68
Related to OFBIZ-5781 Convert Javolution collections into Java collections
Thanks to Deepak Dixit and Adrian Crum for their help.
By defautl converted :
* FastMap by HashMap
* FastList by LinkedList
* FastSet by HashSet
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1672752 13f79535-47bb-0310-9956-ffa450edef68
===========================================================
Sebastian Wachinger commented on OFBIZ-5893:
Now we have the issue that it is no longer possible to set up, edit or delete *Payment Settings for PayPal* on _catalog/control/EditProductStorePaySetup?productStoreId=9000_
These actions render a lengthy error message referring to _applications/product/webapp/catalog/WEB-INF/actions/store/EditProductStorePaySetup.groovy_ ending with
bq. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [interface java.util.List] [interface java.util.Map])
As a quick fix we had to revert from revision 1647937 to be able to set up payment settings for PayPal.
===========================================================
Thanks Arun for providing the fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1665198 13f79535-47bb-0310-9956-ffa450edef68
The Following Errors Occurred:
Error running the simple-method: Primary key map "estimatedArrivalWorkEffortMap" not found Method = updateShipment, File = file:/home/anon/ofbiz/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml, Element = <find-by-primary-key>, Line 215null
estimatedArrivalWorkEffortMap is passed to <find-by-primary-key> but never set which causes the error.
jleroux: I was curious about this (was weird), it was missed at r889656, anyway gone...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1663912 13f79535-47bb-0310-9956-ffa450edef68
I guess it's due to
require-new-transaction="true"
when calling createProductFacility service, not sure why it was needed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661977 13f79535-47bb-0310-9956-ffa450edef68
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
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
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