================================================================
Ashish Vijaywargiya / Arun Patidar: Getting error on http://demo-trunk-ofbiz.apache.org/ecommerce/round-gizmo-GZ-2644-p due to commit revision r1641044. There is an issue in CatalogUrlFilter class. Attaching the patch to fix the problem. Here is the error for your quick reference;
java.lang.IllegalArgumentException: You must pass an even sized array to the toMap method (size = 1)
org.ofbiz.base.util.UtilMisc.toMap(UtilMisc.java:158)
org.ofbiz.entity.util.EntityQuery.where(EntityQuery.java:160)
org.ofbiz.product.category.CatalogUrlFilter.doFilter(CatalogUrlFilter.java:97)
================================================================
Thanks Rishi for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1642104 13f79535-47bb-0310-9956-ffa450edef68
Now the "bi" component contains all the dimensions/facts/star schemas and all the logic to populate them and can be easily enabled/disabled.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1642027 13f79535-47bb-0310-9956-ffa450edef68
Also fixed some commented out code.
Thanks to Rohit Kaushal for the initial version of the patch and to Arun Patidar for the review and support.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1641804 13f79535-47bb-0310-9956-ffa450edef68
EntityListIterator Not Closed for Entity JobSandbox in ServiceUtil.purgeOldJobs method. Need to close the entity list iterator properly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1641548 13f79535-47bb-0310-9956-ffa450edef68
===========================================================
Thanks Scott for reviewing and reporting an issue.
Scott's comment in email:
The where() methods don't currently support creating an entity
condition in the style used above. You'll need to wrap those three
parameters in a EntityCondition.makeCondition() method, i.e.
paymentMethodTypes = EntityQuery.use(delegator).from("PaymentMethodType")
.where(EntityCondition.makeCondition("paymentMethodTypeId",
EntityOperator.NOT_EQUAL, "EXT_OFFLINE")).queryList();
Attached is a patch with suggested solution.
==================================================
Thanks Arun for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1641317 13f79535-47bb-0310-9956-ffa450edef68
Commit 1626419 changed htmlFormMacroLibrary.ftl renderDateTimeField to use Date.parse instead of Date.parseExact.
https://code.google.com/p/datejs/wiki/APIDocumentation states Date.parse will use current CultureInfo for formats but for parsing ISO yyyy-MM-dd from hidden field, need to use parseExact.
I spotted this when CultureInfo was en-GB and selecting 2014-11-01 on any date field (i18n field displays 11/01/2014 instead of 01/11/2014)
For November all days after the 12th display correctly
jleroux: I simply removed the line added in the block which remove the dot and 000 ms in date/time string. I did not see any reason why this was needed. I modified the comment on this block for faster understanding.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1641066 13f79535-47bb-0310-9956-ffa450edef68
The commons-discovery-0.5.jar has been removed from framework/base/lib/ at r1623042 but was needed for Birt. Its correct place is in specialpurpose/birt/lib/
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1641037 13f79535-47bb-0310-9956-ffa450edef68
The help gives you:
c:\projectsASF\ofbiz>java -jar ofbiz.jar -help
Usage: java -jar ofbiz.jar [command] [arguments]
-both -----> Run simultaneously the POS (Point of Sales) application and OFBiz standard
-help, -? ----> This screen
-install -----> Run install (create tables/load data)
-pos -----> Run the POS (Point of Sales) application
-setup -------> Run external application server setup
-start -------> Start the server
-status ------> Status of the server
-shutdown ----> Shutdown the server
-test --------> Run the JUnit test script
[no config] --> Use default config
[no command] -> Start the server w/ default config
But actually only the -help, -status and -shutdown command need a dash.
For now we decided to change the documentation generated by the help command to remove dashes when they are not needed.
To change
-install -----> Run install (create tables/load data)
by
-load-data -----> Create tables/load data
To comment out the
-setup -------> Run external application server setup
line
When done, we will try to have things consistent and re-add the missing dashes to the commands and in the help. Then the "Technical production setup guide" should be updated, pfew...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1640588 13f79535-47bb-0310-9956-ffa450edef68
Notably related to OFBIZ-5848 (Poodle) changes in Coyote:
Add support for TLSv1.1 and TLSv1.2 for APR connector. Based upon a patch by Marcel Šebek. This feature requires Tomcat Native library 1.1.32 or later. (schultz/jfclere)
Add Disable SSLv3 by default for JSSE based HTTPS connectors (BIO and NIO). The change also ensures that SSLv2 is disabled for these connectors although SSLv2 should already be disabled by default by the JRE. (markt)
Add Disable SSLv3 by default for the APR/native HTTPS connector. (markt)
I will test later if we can get rid of forcing TLSv2 in OFBiz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1640288 13f79535-47bb-0310-9956-ffa450edef68
Since the introduction of the build-dev target, a build-AREA_NAME (test, qa, production) should not chain the main build target. Because servers use the patch command and patches applied by the build-dev target are rejected and the process fails.
Of course this also means to change the scripts which are using build-AREA_NAME since now the main build is not chained, eg
from
./ant clean build-qa
to
./ant clean build-qa build
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1640196 13f79535-47bb-0310-9956-ffa450edef68
1. Extract FieldInfo class to a separate file.
2. Make FieldInfo thread-safe.
3. Modify FieldInfo subclasses so they include a thread-safe copy method.
This commit fixes a major flaw in the original design. When a widget form is extended, the original design would copy the child FieldInfo state to the parent FieldInfo - so the parent FieldInfo referenced the child form instead of the parent form. With this commit, parent FieldInfo instances are copied as new instances to the child form - so the parent FieldInfo instances remain unchanged.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1639927 13f79535-47bb-0310-9956-ffa450edef68
I will wait to commit the last changes for the Poodle vulnerability in release branches (for running tests with Java 1.7) before backporting, because I used the "new" diamond operator here (1st in OFBiz it seems)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1639887 13f79535-47bb-0310-9956-ffa450edef68
============================================================================================
Open update address dialog (profile->Manage Addresses->Edit)
Remove one of the required field.
Hit submit couple of times. You need notice, it shows 'CommonUpdatingData' at the top.
It should validate the form before adding the label.
============================================================================================
Thanks Kiran for reporting the issue, Thanks Deepak for providing the patch for this issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1639859 13f79535-47bb-0310-9956-ffa450edef68
==========================================================================================
When updating an existing foreign currency exchange rate in accounting the service creates a new exchange rate and sets the thruDate of the old rate.
But in stead of taking the fromDate of the new exchange rate as a starting point for the thruDate of the expired exchange rate it uses nowTimeStamp.
==========================================================================================
Thanks Pierre for reporting the issue. Thanks Pranay for providing the fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1639848 13f79535-47bb-0310-9956-ffa450edef68
For a content, you can set a custom method that perform an action before content's rendering.
Unfortunately, in the customMethod call, the request Parameters can't be used because they are not set into the map that is used to create custom method IN parameters.
This patch solves this problem
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1639606 13f79535-47bb-0310-9956-ffa450edef68