Commit Graph
3703 Commits
Author SHA1 Message Date
Jacques Le Roux 17726bfc32 A patch from René Scheibe <<"createUpdateBillingAddressAndPaymentMethod" service called from one page checkout throws Exception due to incorrect field name>> (https://issues.apache.org/jira/browse/OFBIZ-3887) - OFBIZ-3887
Problem:
The method "createUpdateBillingAddressAndPaymentMethod" in CheckoutServices.xml refers to a "billToCardSecurityCode" parameter, which is not existing.
Instead OnePageCheckoutProcess.ftl defines this field with id="CVV2" and name="cardSecurityCode".

Solution:
1. Change the "id" and "name" in OnePageCheckoutProcess.ftl to meet the attribute name of "createUpdateBillingAddressAndPaymentMethod".
2. Extend the attribute mapping line in CheckoutServices.xml so that in case the CVV2 is not entered by the user, the field is defined anyway. (otherwise groovy.lang.MissingPropertyException is still thrown as the field is always accessed)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@983930 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 11:20:55 +00:00
Jacques Le Roux 63416b4e32 A patch from René Scheibe ""setShippingOption" service called from one page checkout throws Exception" (https://issues.apache.org/jira/browse/OFBIZ-3886) - OFBIZ-3886
The shippingTotal has to be a BigDecimal for the methods called...

    * org.ofbiz.base.util.UtilFormatOut.formatCurrency(...)
    * org.ofbiz.order.shoppingcart.ShoppingCart.setItemShipGroupEstimate(...)

...so in case it's null, initialize it with BigDecimal.ZERO instead of 0.00

Fixes also some JavaDoc in UtilFormatOut.java

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@983920 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 10:43:01 +00:00
Adam Heath 5b3b7e0c99 Finally created a script to find and fix tons of missing final newlines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@982870 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:46:48 +00:00
Scott Gray 485787acac Replace usage of deprecated method.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@982144 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 07:28:25 +00:00
Jacques Le Roux 0203af4f69 Fix a bug reported by Ruth " eCommerce checkout -> Edit Contact Information -> Save -> Go Back does not return user to checkout" (https://issues.apache.org/jira/browse/OFBIZ-3432) - OFBIZ-3432
Mostly to test the change I just did in mergefromtrunk.bat. Else I'd like to fix also the way the options are shown when using the std checkout (far below, very bad for newcomers). But I have not enough faith, at least today...

I tested enough, and this should not not introduce any side-effects.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@981288 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01 19:36:40 +00:00
Scott Gray 6221f0c1da Remove duplicate service definition, removed the one that was defined first so the existing behaviour is maintained.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@981173 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01 08:51:28 +00:00
Scott Gray 0bf62183fb No functional changes, just removing a whole bunch of unused imports and reorganizing them along the way.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@981019 13f79535-47bb-0310-9956-ffa450edef68
2010-07-31 08:28:34 +00:00
Adam Heath 0f8f2093e3 Fix a bunch of no final newline issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@965918 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:15:21 +00:00
Erwan de Ferrieres 6ff8e39e07 A patch from Bob Morley - OFBIZ-3857 - Fix bad field reference projectIdId should be projectId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@964558 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 20:06:49 +00:00
Scott Gray 33910241f2 URLs defined as javascript variables shouldn't be xhtml encoded because when they are assigned to an element's url attribute (action, href, etc.) the browser doesn't decode them before using them.
Applied patch from Deepak Dixit OFBIZ-3860 and additionally fixed some others that I found.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@963915 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 00:38:19 +00:00
Jacques Le Roux 45229b0aa5 Improvement on r960336. Fix a problem reported by Scott on dev ML.
I tested locally, and I think I have done it right this time


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@960491 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 09:10:19 +00:00
Scott Gray b894e3ec1f Removed references to a service provider's company name from the project
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@960405 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 21:50:21 +00:00
Jacques Le Roux f089ea9488 Improvement on r960336 (should fix a problem reported by Scott on dev ML.)
I tested locally, but I'm not quite sure it's sufficient


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@960401 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 21:23:47 +00:00
Hans Bakker 32e5706119 Handle ebaystore product Item Specifics
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@957428 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 06:13:20 +00:00
Hans Bakker 46c481e59a Revising Open Ebay item specific Listings
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@957427 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 06:10:29 +00:00
Hans Bakker c66eef95a5 update of ebaystore demo data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@957150 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 10:31:02 +00:00
Scott Gray 3bf464acb3 Update catalog urls to use the new OfbizCatalogUrl directive
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@956485 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 08:05:07 +00:00
Jacques Le Roux e263a69b74 A patch from BJ Freeman "complete web.xml for error reporting" (https://issues.apache.org/jira/browse/OFBIZ-3820) - OFBIZ-3820
BJ: when there is an error, the control servlet looks for an error path in <param-name>allowedPaths</param-name>
it does not find one throwing an exception which buries the orginal error.
instead of changing the code it is just easier to add the /error: path.
then the real error gets reported correctly.

JLR: This will maybe help to better understand some errors on demo servers, and can't hurt

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@954135 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 20:47:08 +00:00
Erwan de Ferrieres 5a4cf7a773 Changing portlet category from PROFILE to PARTY_PROFILE to make it more understandable
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@953014 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 14:05:46 +00:00
Jacques Le Roux e5e4a3797b Reverted on Scott's advice (useless and give some trouble on back button: POST => msg like "do you want to send again", not GET)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@952164 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 09:30:45 +00:00
Jacopo Cappellato d4eb50d3f6 Enhanced ebay order import to support auctions of different types (not only Chinese auctions).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@952129 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 07:53:51 +00:00
Jacques Le Roux f559ac97df Secure some targets. Note that they have been introduced since OFBIZ-2243 has been closed.
Please committers use only target with parameter attribute (not in URL) for link and hyperlink fields when there is an action (ie DB modification)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@952119 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 07:02:02 +00:00
Anil Patel 845fa4c1bc Fix missing prefix for shipTo and billTo phone numbers.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@951251 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 03:19:45 +00:00
Jacques Le Roux 22dbd5b034 A patch from Willem Janssen "Dutch labels patch" (https://issues.apache.org/jira/browse/OFBIZ-3800) - OFBIZ-3800
Adds Dutch translations in various UiLabel files, thanks to Vikas Raikwar for reviewing and checking

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@951124 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 19:24:26 +00:00
Jacopo Cappellato ee4dbc2273 Fixed bug where eBay itemId was set as order's externaId instead of transactionId; transactionId was also stored in the order but never used.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@951099 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 18:24:45 +00:00
Marco Risaliti 7738dabb8c Some missing security permissions for HHFacility, Setup and BI components
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@950483 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 10:45:44 +00:00
Jacques Le Roux 0d6f2776e4 <author>None</author> is totally useless and we don't need an author OOTB
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@949101 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 05:41:23 +00:00
Jacques Le Roux be88f832a2 Not sure why, but my regexp S/R in the commit r948846 boke some formatting. I also removed some useless other stuff in this commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@948852 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:45:59 +00:00
Jacques Le Roux ef2a1c044c We don't need
<copyright>Copyright 2001-.* The Apache Software Foundation</copyright>
<copyright><year>.*</year><holder>Apache Foundation</holder></copyright>
<copyright><year>.*</year><holder>Apache Foundation.</holder></copyright>
<owner>Copyright 2001-.* The Apache Software Foundation</owner>

Less to update every year!

Thanks to BJ 1st effort at "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783) - OFBIZ-3783

Note: there are been a lot of efforts in 2009: there are plenty of data dated from this year!

I hope I did not broke anything (should not, but of course I did not try all changes...) Anyway, this can be easily reverted...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@948846 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:23:22 +00:00
Jacques Le Roux 6f44d4aaeb Some languages don't use # for number http://en.wikipedia.org/wiki/Number_sign
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@947483 13f79535-47bb-0310-9956-ffa450edef68
2010-05-23 20:15:49 +00:00
Jacques Le Roux 8b82bebb26 Fixes some French labels related to # which is n° in French
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@947479 13f79535-47bb-0310-9956-ffa450edef68
2010-05-23 20:07:55 +00:00
Jacques Le Roux d5d5f100a1 Closes "Allow to open a layer lookup from a layer lookup recursively" (https://issues.apache.org/jira/browse/OFBIZ-3693) - OFBIZ-3693
This commit removes all remaining <presentation="window">

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@946073 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 07:36:02 +00:00
Erwan de Ferrieres f12b56a959 XHTML validation errors round 2++ (specialpurpose/ebay) - OFBIZ-3756 (https://issues.apache.org/jira/browse/OFBIZ-3756)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@945857 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 20:07:34 +00:00
Erwan de Ferrieres f719950393 XHTML validation errors round 2++ (specialpurpose/ecommerce) - OFBIZ-3757 (https://issues.apache.org/jira/browse/OFBIZ-3757)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@945852 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 19:57:57 +00:00
Erwan de Ferrieres 5a6774109f XHTML validation errors round 2 (specialpurpose_webpos)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@945848 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 19:52:04 +00:00
Erwan de Ferrieres 4c49171ade XHTML validation errors (specialpurpose/myportal) - OFBIZ-3758 (https://issues.apache.org/jira/browse/OFBIZ-3758)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@945580 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 10:23:19 +00:00
Erwan de Ferrieres 3d50d28eec XHTML validation errors round 2+ (specialpurpose/projectmgr) - OFBIZ-3672 (https://issues.apache.org/jira/browse/OFBIZ-3762)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@945573 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 10:03:01 +00:00
Jacques Le Roux 49b018484f A patch from Ankit Jain "Incorrect Data Format" https://issues.apache.org/jira/browse/OFBIZ-3544 - OFBIZ-3544
After login to Ecommerce, go to Profile and update Personal Information. Enter a valid date for Birth Date and Passport Expire Date (format: yyyy-mm-dd). Click "Save". Once back to the main screen, click on "Update" again to update the Personal Information. You will see that the two dates are displayed in wrong date formats, e.g. "Aug 25, 1972". So, the date is formatted wrongly somewhere.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@945118 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 12:47:48 +00:00
Jacques Le Roux 5529b36b86 A patch from Bob Morley "Resolve java warnings exposed in Eclipse (ebay part of OFBIZ-3100)" https://issues.apache.org/jira/browse/OFBIZ-3594 - OFBIZ-3594
Bob's comment: three ebay related files along with CheckoutHelper in application/orders whose createOrder now returns a more complete Map<String, Object> instead of a non-generic Map. 
Actually CheckoutHelper  was already containing Bob's change but there are still a lot of warning, I began to work on them and also in CheckOutEvents, but I finally gave up...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@944720 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 21:11:02 +00:00
Jacques Le Roux 0789b813ed We still have a problem with the find button in recursive cases (ie LookupWorkEffort and LookupContent).
It's not related to previous patches committed but an issue which is remaining and we have to face now.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@944647 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 14:13:03 +00:00
Jacques Le Roux abac680115 Now that we have fixed the layered lookup inside layered lookup issue and the recursive call case we can get rid of all the useless remaining presentation="window".
I keep the example and beware LookupTimeDuration is a special case

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@944623 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 12:13:00 +00:00
Jacques Le Roux 7f698d1248 A patch from Nicolas Malin "Pass eCommerce label to Common Label" https://issues.apache.org/jira/browse/OFBIZ-3694 - OFBIZ-3694
Some labels changes, no functional changes



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@942818 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 16:41:18 +00:00
Scott Gray 6547f20ff2 Applied patch from BJ Freeman OFBIZ-3741, layoutSettings.VT_SHORTCUT_ICON was unable to take effect because layoutSettings.shortcutIcon always has content
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@942485 13f79535-47bb-0310-9956-ffa450edef68
2010-05-09 01:18:02 +00:00
Erwan de Ferrieres 26e73bcfe0 this file should have been removed with previous commit (r942406)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@942414 13f79535-47bb-0310-9956-ffa450edef68
2010-05-08 16:41:19 +00:00
Erwan de Ferrieres 70336344e9 Following a discussion on dev list, moving portal administration to webtools instead of myPortal (http://ofbiz.135035.n4.nabble.com/erwan-contributions-td2122600.html#a2122600)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@942406 13f79535-47bb-0310-9956-ffa450edef68
2010-05-08 15:52:31 +00:00
Scott Gray 22639b37d9 Set svn properties on all freemarker files that were missing them
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@942386 13f79535-47bb-0310-9956-ffa450edef68
2010-05-08 13:51:19 +00:00
Scott Gray 5ad22ab008 Set svn properties
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@942377 13f79535-47bb-0310-9956-ffa450edef68
2010-05-08 13:00:42 +00:00
Vikas Mayur 6c640f69aa Minor improvements:
Used prototype utility method to return all the anchor elements inside a form with id="cartForm"
Removed an unnecessary variable declaration


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@942059 13f79535-47bb-0310-9956-ffa450edef68
2010-05-07 12:38:07 +00:00
Jacques Le Roux ee7705e5b0 A patch from Bob Morley "Remove reference to EbayStoreScheduledJobs.xml (was removed)" https://issues.apache.org/jira/browse/OFBIZ-3763 - OFBIZ-3763
The data seed file was removed in r916150 but the reference in ofbiz-component.xml was never removed. Simply removed this reference to avoid the error when performing an "ant run-install".

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@941999 13f79535-47bb-0310-9956-ffa450edef68
2010-05-07 04:45:38 +00:00
Vikas Mayur e1710daef2 Fixed a bug in vendor return. The service getReturnableItems returns a map containing the returable quantity corresponding to an item along with
certain other things. Earlier this service was returning an empty map for a purchase order and a vendor return. On order detail page action 
block there is a check on this map and if the map comes out to be empty the system does not show the options to create return for the 
purchase order. Similary if you create a vendor return directly from the Return Header screen and try to add items on the Return Item screen
using an order Id, this display a message "No returnable items found for order" 

Also the method sendItemsShipped in the service sendGoogleShipRequest was throwing a NPE because the code try to pull a product through
ItemIssuance > OrderItem > Product

In the vendor return of type refund the items are issued to the return shipment and a purchase return invoice is generated and hence the process
is not linked to any Order. Adding a condition on the ECA so that this service is not invoked.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@940851 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 13:35:19 +00:00