Commit Graph
27737 Commits
Author SHA1 Message Date
Jacques Le Roux e3711d2369 * Replaces the old testRemoteSoap service now invalid with our own dog food: testSoapSimple from http://demo-trunk.ofbiz.apache.org:8080/webtools/control/SOAPService
* Adds a bunch of external SOAP services, none of them work so far, not sure why, a good exercise for the future...

I have tried to backport to R9.04 the testRemoteSoap change but it does not work there:

2011-02-19 17:26:02,500 (http-0.0.0.0-8443-1) [               Call.java:2469:ERROR] Exception:
org.xml.sax.SAXException: Deserializing parameter 'map-Map':  could not find deserializer for type {http://www.w3.org/2001/XMLSchema}anyType
        at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:277)
        at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
        at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
        at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
        at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
        at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
        at org.apache.axis.client.Call.invoke(Call.java:2467)
        at org.apache.axis.client.Call.invoke(Call.java:2366)
        at org.apache.axis.client.Call.invoke(Call.java:1812)
        at org.ofbiz.service.engine.SOAPClientEngine.serviceInvoker(SOAPClientEngine.java:137)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1072378 13f79535-47bb-0310-9956-ffa450edef68
2011-02-19 16:32:19 +00:00
Bruno Busco 6644b78d3a Fixed a dropdown menu flickering bug in bluelight and droppingcrumbs themes using the same solution as in tomahawk theme.
This bug consists in the dropdown menus to be temporary visible when the page takes a while to be loaded completely.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1072338 13f79535-47bb-0310-9956-ffa450edef68
2011-02-19 14:32:17 +00:00
Sascha Rodekamp 007a92695b Bug - Screen Link Ajax Windows (https://issues.apache.org/jira/browse/OFBIZ-4183) - Erwan found a bug regarding the layered links in the example screens, it's fixed, i created a seperated screen for the layered link. Thanks Erwan for reporting.
Orig. Msg.:
now there is a problem when you click on an example to edit it, the decorator is no more present on the form.

to reproduce
In example component, search all examples the click on an id.
    


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1072303 13f79535-47bb-0310-9956-ffa450edef68
2011-02-19 10:47:53 +00:00
David E. Jones 3b20b9c06f Reversing accidental commit in rev 1072292
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1072301 13f79535-47bb-0310-9956-ffa450edef68
2011-02-19 10:38:13 +00:00
David E. Jones 2d28cc3d66 VUA-429 full implementation to add a path through the screens for creating a sales order for a contact and add a customer for the contact in the process
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1072292 13f79535-47bb-0310-9956-ffa450edef68
2011-02-19 10:13:50 +00:00
Bruno Busco 425191c13b Added a hint in the hot-deploy/README.txt file to inform how to disable the hot-deploy Auto-Loading feature to force a specific component loading order
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1072280 13f79535-47bb-0310-9956-ffa450edef68
2011-02-19 09:27:55 +00:00
Jacques Le Roux a8841a71da This was preventing to show "(show WSDL)" in other languages than English
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1072017 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 15:06:44 +00:00
Erwan de Ferrieres 747137b741 Adding default empty values to step and timeValues, resolving OFBIZ-4188
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1071967 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 11:25:05 +00:00
Erwan de Ferrieres 51f8bdc022 Adding caution, important, note, tip, warning to docbook formatting possibilities. Those can be used inside a para element.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1071917 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 08:31:52 +00:00
Erwan de Ferrieres 469eaf6b13 missing French uiLabels for AR payment groups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1071916 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 08:29:00 +00:00
Erwan de Ferrieres 12ad24a8a8 tree children weren't sorted when displayed in the help
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1071914 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 08:26:10 +00:00
Erwan de Ferrieres f4006ba003 OFBIZ-4186 Missed .classpath update on Tomcat 6.0.30 to 6.0.32 migration
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1071898 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 06:23:08 +00:00
Hans Bakker f1c5dc2112 Image management: make image file location and url configurable
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1071878 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 04:12:43 +00:00
Sascha Rodekamp f51f4fdff2 Feature - Screen Link Ajax Windows (https://issues.apache.org/jira/browse/OFBIZ-4183)
I created a new Screen <link feature. Similar to the Form Lookups a link can be opened in a layered JS Box (see Screenshot in Jira Task). It looks nice and is helpful in some cases.

You can add any screen u want. It's expected that you create a certain screen for the layered link which only contains the information you need.

The layered box doesn't contain any logic it's just a container for the screen which should be opened. So the screen it self can decide what to show. i.e  if you load a form, the form itself implement the way how it react on a submit (either reload the site or perform the submit as Ajax request in the background).

There is also an example in the example section. Try to create a new Example on the mainpage.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1071698 13f79535-47bb-0310-9956-ffa450edef68
2011-02-17 17:01:07 +00:00
Christian Geisert b5fb2b8c03 German translation for ProductEntityLabels
See OFBIZ-4181
Submitted by Nikkel K 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1071578 13f79535-47bb-0310-9956-ffa450edef68
2011-02-17 11:18:54 +00:00
Hans Bakker 375fb2eb69 update to cybersource payment gateway: added a properties setting that orders are still accepted but put into the created stage when a credit card fails authorisation. The default is the current setting: order is not created
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1071517 13f79535-47bb-0310-9956-ffa450edef68
2011-02-17 06:57:51 +00:00
Andrew Zeneski 625ac206b1 More saveUpdatedCartToOrder work; when deleting items, a few additional contraints need to be resolved as well
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1071437 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 23:11:11 +00:00
Erwan de Ferrieres 997fe5cb76 OFBIZ-4182 - Bluelight-Theme: Visual improvement of main-navigation and screenlet-titlebar - a patch from Andreas König
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1071431 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 22:52:05 +00:00
Sascha Rodekamp 0203cb9f0b Feature - "LoginWorker should use expandedEntites von the checkLogin-query" (https://issues.apache.org/jira/browse/OFBIZ-3453) - The parameters in the query String are separated by an &. The Code is more clean (and XHTML strict) when the separator is encoded. Thanks Dimitri for the patch.
Orig. Msg.:
I guess that the makeLoginUrl-method in the LoginWorker should return a string with expandedEntites.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1071362 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 19:06:10 +00:00
Andrew Zeneski 24a3c67af1 more work on the deleteItems flag when calling saveUpdatedCartToOrder; these changes are meant for use in a stateless environment when each change is saved directly to the database rather than grouped together using the ShoppingCart object
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1071361 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 19:03:43 +00:00
Sascha Rodekamp 4be4e7288b Bug Fix - "In IE under, myportal module, registration, when only refreshes the verification code" (https://issues.apache.org/jira/browse/OFBIZ-3962) - We forgot to migrate the code form dojo to jQuery, after that the bug is solved - Thanks Wang Suozhu for reporting.
Orig. Msg.:
In IE under, myportal module, registration, when only refreshes the verification code

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1071338 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 18:06:40 +00:00
Sascha Rodekamp a33a59873b Bug Fix "DateTimePicker shows wrong current time" (https://issues.apache.org/jira/browse/OFBIZ-4169) - When changing the plugin configuration the dtp shows the correct time - Thanks Nikkel K for reporting.
Orig. Msg:
The DateTimePicker calculates nearly always in 5m steps and rounds up or down, depending on the nearest result. This means, that you have at 14:11:10 and at 14:12:10 a time of 14:10:10 in the DTP and at 14:13:10 and 14:14:10 already 14:15:10 (so on the one hand you have a "current" time that shows in the future and on the other hand the same time 5 times in the DTP (while the mins. dont increase, the seconds do).

comment to the nearly always: i had exactly one case, where i had xx:01:xx, and i cant recreate it...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1071328 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 17:55:52 +00:00
Bruno Busco 41dcc9b67a Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1071327 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 17:49:31 +00:00
Erwan de Ferrieres af957b6fcc Same format for numbers when using PaymentReport, just displaying 2 decimals
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1071286 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 15:26:44 +00:00
Vikas Mayur 0e4fac15f4 Bug fix - Return total amount return by the method getOrderReturnedTotalByTypeBd() wasn't correct. Irrespective of the return type adjustment choosen by the user, all the adjustments of various types were added to the total amount.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1071226 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 12:35:44 +00:00
Jacques Le Roux 01136338c6 A modified patch from Pierre TALLOTTE "Impossible to add a variant product in a purchase order" (https://issues.apache.org/jira/browse/OFBIZ-4166) - OFBIZ-4166
When we add a variant product in a purchase order, we get an error. This error occurs in ProductDetail.groovy because virtualPriceMap.basePrice is null in Purchase order case.

JLR: Pierre did the analysis and proposed a patch, I reviewed and finally use a patch of my own since Pierre's was not handling both cases (sales AND purchase)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1070982 13f79535-47bb-0310-9956-ffa450edef68
2011-02-15 17:37:45 +00:00
Erwan de Ferrieres 28cda607e3 Missing geoAssoc for Corse FR-20
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1070911 13f79535-47bb-0310-9956-ffa450edef68
2011-02-15 14:12:04 +00:00
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