Jacques Le Roux
7ffa102b2d
A patch from Paul Foxworthy "Tax not added for order shipping or promotion" ( https://issues.apache.org/jira/browse/OFBIZ-4160 ) - OFBIZ-4160
...
When shipping is calculated for the entire order or a promotion adjustment is made, the relevant tax rows from the TaxAuthorityRateProduct table are not being found.
This bug was discovered independently by Sergei Biletnikov, see http://ofbiz.135035.n4.nabble.com/VAT-is-not-applied-for-the-shipping-td3234699.html .
I committed Paul's (slightly modified: formatting) patch with an explanation on screen. I will later add an enforcing js script
This is not a definitive answer but a workaround, see http://markmail.org/message/ewvaljuqg3voiy2s for more
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1070830 13f79535-47bb-0310-9956-ffa450edef68
2011-02-15 10:40:17 +00:00
Jacques Le Roux
329c8e2431
A patch from Martin Kreidenweis "New Custom Method order ID generation implementation in OFBIZ-3765 broke backwards compatibility" ( https://issues.apache.org/jira/browse/OFBIZ-4178 ) - OFBIZ-4178
...
Due to missed col-name attributes for the deprecated field names (old* fields) and a typo in the minilang code in the original patch (OFBIZ-3765), the backwards compatibility with the old enum IDs broke.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1070621 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 19:38:40 +00:00
Andrew Zeneski
78f5c470de
sometimes just updating order items is not enough, we need the ability to delete the old items before adding in the items currently in the cart; in cases where cancelling an item is not acceptable, this minor fix makes this functionality available if desired (not enabled by default); to enable pass the deleteItems boolean parameter as TRUE
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1070606 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 19:00:09 +00:00
Erwan de Ferrieres
80d2dc710d
Adding a new feature for date-time fields: step, which will format the minutes drop-down with or a 1, 5, 10, 15 or 30 step-size
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1070570 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 16:57:31 +00:00
Erwan de Ferrieres
530e8847da
Migration to Tomcat 6.0.32 due to a security issue in previous revisions
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1070455 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 12:04:29 +00:00
Erwan de Ferrieres
ee15828aee
Back to evolution for the French Tomahawk description
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1070425 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 10:09:31 +00:00
Erwan de Ferrieres
7575802207
Better French descriptions for visual themes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1070295 13f79535-47bb-0310-9956-ffa450edef68
2011-02-13 20:49:03 +00:00
Erwan de Ferrieres
d6be0a8959
Adding a help message on how to choose a theme and how to use it
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1070287 13f79535-47bb-0310-9956-ffa450edef68
2011-02-13 20:12:37 +00:00
Jacques Le Roux
13f879435f
Revert r1070230, was a patch from Stephen Rufle "Blank year in UtilValidate.isYear should return false" ( https://issues.apache.org/jira/browse/OFBIZ-4171 ) - OFBIZ-4171
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1070282 13f79535-47bb-0310-9956-ffa450edef68
2011-02-13 19:43:13 +00:00
Jacques Le Roux
4c36881f4e
Revert partially r1069996.
...
It's good to have clean-downloads but not in clean-all
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1070281 13f79535-47bb-0310-9956-ffa450edef68
2011-02-13 19:36:29 +00:00
Jacques Le Roux
a259699bd7
A patch from Stephen Rufle "Blank year in UtilValidate.isYear should return false" ( https://issues.apache.org/jira/browse/OFBIZ-4171 ) - OFBIZ-4171
...
UtilValidate.isYear returns true for a blank year which the calling function UtilValidate.isDate(String, String, String) tries to parse. This causes an exception to be thrown
ValidateMethod.java:96 :ERROR] [ValidateMethod.exec] Error in validation method isDateAfterToday of class org.ofbiz.base.util.UtilValidate: null
I found this error when trying to add a new credit card in the eCommerce checkout flow.
1. Add a product to the cart
2. login as any user I used "admin"
3. Checkout Step "Shipping Address" (Step 1: Where shall we ship it?)
* Click Next
4. Checkout Step "Shipping Options" (Step 2: How shall we ship it?)
* Choose "UPS Air"
* Click Next
5. Checkout Step "Payment Options" (Step 3: How shall you pay?)
6. Create "Credit Card"
* Fill Name
* Card Type "Visa"
* Card Number "4111111111111111"
* Expiration Date Month drop-down 01
* Expiration Date Year drop-down leave blank
* Choose billing address
* Click "Save" button
Should see "Error in validation method isDateAfterToday of class org.ofbiz.base.util.UtilValidate: null"
My fix is to change isYear, isMonth, and isDay to return false when a blank value is entered.
After I make my change the message is "The expiration date is before today"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1070230 13f79535-47bb-0310-9956-ffa450edef68
2011-02-13 12:55:45 +00:00
Jacques Le Roux
841f1a2eb7
Forgot this file in r1070193
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1070229 13f79535-47bb-0310-9956-ffa450edef68
2011-02-13 12:54:39 +00:00
Jacques Le Roux
ac8a6ef427
A patch from Martin Kreidenweis "savePaymentGatewayResponse throws exceptions due to foreign key constraints" ( https://issues.apache.org/jira/browse/OFBIZ-4176 ) - OFBIZ-4176
...
If you use a CC payment service provider that actually wants to save not only PaymentGatewayResponses, but also PaymentGatewayResponseMessages, saving these to the database actually might fail because they are created in the wrong order. The response and the messages are scheduled as separate async rollback services in processCreditResult. So it's not guaranteed the Response is there before OFBiz tries to add the ResponseMessages.
Fix for the issue: we created a new savePaymentGatewayResponseAndMessages service, that takes both the Response and the ResponseMessages and writes them to the database in the right order.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1070193 13f79535-47bb-0310-9956-ffa450edef68
2011-02-13 08:54:27 +00:00
Adam Heath
d51aeab3b1
Add a target to remove downloaded files.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069996 13f79535-47bb-0310-9956-ffa450edef68
2011-02-12 00:05:54 +00:00
Adam Heath
c320eeee6c
Ignore downloaded cobertura and postgresql.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069994 13f79535-47bb-0310-9956-ffa450edef68
2011-02-12 00:05:40 +00:00
Jacques Le Roux
0e19e18bb7
A patch from Chirag Manocha "createFinAccountForStore service should create FinAccount with currencyUomId of Store rather than default currency in general.properties." ( https://issues.apache.org/jira/browse/OFBIZ-4163 ) - OFBIZ-4163
...
The service createFinAccountForStore is creating FinAccount record with default currency given in general.properties.
It should create FinAccount with the defaultCurrencyUomId of store.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069965 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 22:07:22 +00:00
Jacques Le Roux
cf6fa165e6
Fix "Be able to create a product from quick dropdown (Product Jump)" reported by BJ on dev ML at https://issues.apache.org/jira/browse/OFBIZ-4177 - OFBIZ-4177
...
BJ: The behavior was if you put in a productID that did not exist, and did a
jump to product, instead of a message No existing Products found, the
/catalog/control/EditProduct enter the ID.
then all you had to do was do an update to create the new product.
Is there a reason this functionality was removed?
JLR: It was leading to a bug for any other screen (but EditProductQuickAdmin and I just found that) than product creation, since there
was no related productId (try prices screen in stable demo for instance). It could be arranged for the product creation screen.
This patch gives this functionality back while keeping out the bug.
I have also removed redundant test on productId (since if there are no product I don't see the point to check for productId)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069957 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 21:25:41 +00:00
David E. Jones
ffaf1e7ef1
Fixed issue with orders that have some items cancelled and others that are not after the cancelled items; when loading the order into the cart for changes the ship group stuff was getting off by one because it wasn't checking for the item status, and was doing redundant calls to set quantities that also sometimes failed; also changed a couple of places to treat the VAT_* types like the SALES_TAX adjustment type
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069671 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 03:56:50 +00:00
Jacques Le Roux
527d9ce941
Fix "Pagination Problem in Accounting Module" reported by Naveen Kumar N at https://issues.apache.org/jira/browse/OFBIZ-4158 - OFBIZ-4158
...
The getInvoicePaymentInfoListByDueDateOffset service called for the pagination is only reading data (it likes a performFind). So no security issues is to be feared. Hence using <security https="false" in the controller is an acceptable solution. I have tried others keeping security but none worked
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069597 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 22:40:04 +00:00
Jacques Le Roux
170d362368
A modified patch from BJ Freeman "Add anchor to SingleSignOn.xml" ( https://issues.apache.org/jira/browse/OFBIZ-4174 ) - OFBIZ-4174
...
A cleaner solution for the anchor /cmssite/cms/APACHE_OFBIZ_HTML#CASLDAP: only in chapter
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069565 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 20:56:21 +00:00
Erwan de Ferrieres
d23662467b
OFBIZ-4170 : a bug was present in the timepicker plugin and values under 01:05:10 couldn't be selected
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069542 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 19:45:22 +00:00
Marco Risaliti
9c2c35cd4d
Change the return code from getPreviousNextProducts method of CategoryServices to failure so it cannot causes the transaction to be marked for rollback as suggested by Martin Kreidenweis on the dev mailing list.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069528 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 18:51:19 +00:00
Jacques Le Roux
c7c6b5377e
Better place for anchor
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069372 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 12:57:22 +00:00
Jacques Le Roux
0b92565dc0
Fix some blocking issues reported at "add anchor to SingleSignOn.xml" ( https://issues.apache.org/jira/browse/OFBIZ-4174 ) - OFBIZ-4174
...
there are still some (not blocking, minor?) issues to fix
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069368 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 12:44:33 +00:00
Jacques Le Roux
6ca4414f03
A patch from BJ Freeman "Add anchor to SingleSignOn.xml" ( https://issues.apache.org/jira/browse/OFBIZ-4174 ) - OFBIZ-4174
...
Adds anchor /cmssite/cms/APACHE_OFBIZ_HTML#CASLDAP so it can use permanent link. (CTR mode: Still to be tested)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069229 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 05:03:15 +00:00
Marco Risaliti
7699c441a6
Internationalization of return messages of java services of content component (OFBIZ-4091)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069136 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 22:00:40 +00:00
Marco Risaliti
c23b56c082
Internationalization of return messages of java services of accounting component (OFBIZ-4091)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069134 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:59:21 +00:00
Marco Risaliti
78dcf847bd
Add a @SuppressWarning("serial") in ViewHandlerException (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069122 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:31:19 +00:00
Marco Risaliti
e5b0485aba
Add a @SuppressWarning("serial") of classes of package org.ofbiz.webapp.taglib (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069121 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:30:31 +00:00
Marco Risaliti
ecc24d9115
Add a @SuppressWarning("serial") of classes of package org.ofbiz.webapp.region (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069118 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:21:50 +00:00
Marco Risaliti
fc188f9f06
Add a @SuppressWarning("serial") in EventHandlerException/FileUploadProgressListener (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069117 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:19:57 +00:00
Marco Risaliti
3b77f392b7
Add a @SuppressWarning("serial") in RequestHandlerException (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069115 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:18:24 +00:00
Marco Risaliti
2ce589d6dd
Add a @SuppressWarning("serial") in StartupException (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069113 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:17:33 +00:00
Marco Risaliti
52345a05f7
Remove an unused variable in Classpath (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069112 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:17:00 +00:00
Marco Risaliti
7f178509c0
Remove a unused import in SQLSelect (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069111 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:13:20 +00:00
Marco Risaliti
1bae5e4464
Remove a unused import in SQLIndex (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069109 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:12:36 +00:00
Marco Risaliti
8c5cd799ea
Add a @SuppressWarning("serial") in ParameterizedConditionException (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069108 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:11:33 +00:00
Marco Risaliti
0f95781ee0
Remove a unused import in AggregateFunction (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069106 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:10:03 +00:00
Marco Risaliti
0e0be97095
Add a @SuppressWarning("serial") of classes of package org.ofbiz.service.semaphore (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069104 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:09:04 +00:00
Marco Risaliti
a7cdf2c27f
Add a @SuppressWarning("serial") of classes of package org.ofbiz.service.rmi.socket.ssl (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069103 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:08:12 +00:00
Marco Risaliti
e067e74e06
Add a @SuppressWarning("serial") in RemoteDispatcherImpl (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069100 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:07:15 +00:00
Marco Risaliti
5f3cb658b0
Add a @SuppressWarning("serial") of classes of package org.ofbiz.service.mail (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069099 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:06:35 +00:00
Marco Risaliti
b11ecdecf9
Add a @SuppressWarning("serial") of classes of package org.ofbiz.service.job (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069098 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:05:30 +00:00
Marco Risaliti
d6b2911a52
Remove a unused variable/Add a @SuppressWarning("serial") in ServiceEcaRule (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069096 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:03:29 +00:00
Marco Risaliti
3b2d98ed7d
Add a @SuppressWarning("serial") in ServiceEcaCondition (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069095 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:03:02 +00:00
Marco Risaliti
8dac18ba1d
Add a @SuppressWarning("serial") in ServiceEcaAction (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069094 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:02:47 +00:00
Marco Risaliti
2c22e32fb3
Add a @SuppressWarning("serial") in ServiceConfigUtil (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069092 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 21:00:07 +00:00
Marco Risaliti
7b33addcc5
Add a @SuppressWarning("serial") in RecurrenceInfoException/RecurrenceRuleException (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069091 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 20:58:24 +00:00
Marco Risaliti
cd79fea95f
Add a @SuppressWarning("serial") of classes of package org.ofbiz.service (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069090 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 20:57:04 +00:00
Marco Risaliti
1f3a3dc9db
Add a @SuppressWarning("serial") in SecurityConfigurationException (OFBIZ-4102)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1069087 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 20:53:31 +00:00