Commit Graph
354 Commits
Author SHA1 Message Date
Adam Heath 0394196282 Missed some window->load document->dom:loaded changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@997440 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 18:20:42 +00:00
Adam Heath 400cc79931 Some places in ofbiz were doing dom manipulation without waiting for the
dom to be finished loading.  Wrap such code with a dom:loaded observer.

Also, change all window->load calls to dom:loaded observers.  The former
happens after all images have finished loading, while the later happens
just after the dom has finished parsing.  This is better, as sometimes
the images may take a long time to finish downloading, and until they do,
none of the manipulation will take place.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@997420 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 17:56:37 +00:00
Ashish Vijaywargiya 5d8b2d8c6f When I enter values in "New Password" and "Verify Password" fields without entering value in "Current Password" field then system is accepting new password without any error.
Correct flow should be : System should ask user to enter "Current Password". 
Thanks Amit for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@996563 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 14:54:37 +00:00
Scott Gray 1a13c650e9 Fix for OFBIZ-3434, rss feeds need any parameters to be included in the url and not posted in a form
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@996079 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 05:53:12 +00:00
Scott Gray 232845bda6 Fix target typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@996078 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 05:53:06 +00:00
Scott Gray 0bcec4f14b OFBIZ_FILE dataResourceType doesn't resolve component style locations, using LOCAL_FILE instead
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@996055 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 03:33:53 +00:00
Ashish Vijaywargiya 606a6e6837 Applied patch from jira issue - OFBIZ-3924 - Bug on creating Communication event for order return emails(return accept, return complete and return cancel).
Bug on creating Communication event for order return emails(return accept, return complete and return cancel). Attached return pdf along with return emails.

Thanks Anurag for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@993387 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 15:03:20 +00:00
Jacques Le Roux 935b8cb590 A quick workaround for a bug reported by Matt Warnock on user ML
When I go to the latest trunk demo, ecommerce store page, in the "browse forums" section on the left side bottom, there is an error that starts with "Expression forum.contentName is undefined on line 26".

It does not fix the reason though, which is somewhere upstream


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@987813 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21 18:53:29 +00:00
Jacques Le Roux 5bf4e22865 Fix a bug reported in this thread http://markmail.org/message/2f6ryfm6fvvrvx74
"Cost calculation is still broken and no shipping costs are returned."

Note that nothing still is calculated for Fedex. I'm not quite sure if it's related, but Fedex has changed/is changing how things work. The API is deprecated, replaced by web services and will be totally unusable in May 2012

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@985856 13f79535-47bb-0310-9956-ffa450edef68
2010-08-16 10:14:45 +00:00
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
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 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
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
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
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 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 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
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 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 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
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
Ashish Vijaywargiya 8635812742 Reverting my commit r938446 based on the comments received on mailing list. For now I am keeping old email address in place (i.e ofbiztest@yahoo.com) keeping in mind that email will not go in spam folder. If others think test@example.com will also behave same then please go ahead commit the changes.
Very soon I will revert my changes on release10.04 branch.
Thanks to everybody who has provided their comments!  

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@940814 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 11:57:35 +00:00
Bruno Busco 5704ff82af A patch from Blas Rodriguez Somoza
OFBIZ-3734 - XHTML validation errors round 2+ (specialpurpose/ecommerce)
https://issues.apache.org/jira/browse/OFBIZ-3734
Fixed attributes without values 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@939749 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 17:34:19 +00:00
Ashish Vijaywargiya 783f38ef79 Changing email address ofbiztest@yahoo.com -> ofbiztesting@gmail.com - this was creating too much problem since long in development effort.
Following points were there in my mind before doing this change.

-- AFAIK ofbiztest@yahoo.com email doesn't exists.
-- Bounce email issue if you have enabled Javamail container. This drastically slow down your system performance. 
-- Now anyone can use ofbiztesting@gmail.com account settings for Sendmail, Javamail container etc.
-- Send mail service triggered again and again with failure message on console if any of the email not found bccAddress inside ProductStoreEmailSettings entity. Again slow speed of your development machine.
-- Please let me know where to share the password of this account? Dev list?


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@938446 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 13:17:45 +00:00
Vikas Mayur 4bd6aa399b Fixed a typo varient -> variant in the comment. Also did minor formatting to the code.
if( -> if (
methodDeclaration () -> methodDeclaration() etc.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@937953 13f79535-47bb-0310-9956-ffa450edef68
2010-04-26 07:49:58 +00:00
Bilgin Ismet Ibryam 9cc0df7a6c Applied patch from jira issue OFBIZ-3515 - Use UiLabel for "required"
Thanks Deepak Dixit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@937278 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 13:06:54 +00:00
Jacques Le Roux ec9fb25e30 Fix a bug reported on user ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@936817 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 12:48:44 +00:00
Ashish Vijaywargiya 48957724cd Applied patch from jira issue: OFBIZ-3633 - Minimum order quantity.
It will work as follows;
We will set the special type price as 'MINIMUM_ORDER_PRICE' for a Product in ProductPrice entity. On the basis of it we will get the minimum order quantity of the product on the basis of this price and sale price.
Will get the minimum order quantity for product by division. For example we have selling price of product P1 is $10.00 and its MINIMUM_ORDER_PRICE is $100.00 then minimum order quantity for the product will be --> 100/10 ==> 10.

To achieve the above ;
write a getMinimumOrderQuantity() method in ShoppingCart.java which takes the itemBasePrice and productId as in parameter, and call it where we add, update the cart items and change the quantity to minmumOrderQuantity if it is less then minimum.

Thanks Deepak & Rishi for the contribution and others for providing valuable comments / suggestions.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@936228 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 09:36:40 +00:00
Scott Gray 98a41578cd Fix OFBIZ-3523, the demo order confirmation email wasn't including full urls
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@935146 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 08:17:19 +00:00
Jacques Le Roux f1b9924030 A patch from Chris Snow "ecommerce screen shows error after loading only seed data" (https://issues.apache.org/jira/browse/OFBIZ-2798) - OFBIZ-2798
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@935089 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 22:05:50 +00:00
Bruno Busco 4116bbb5dc A patch from Blas Rodriguez Somoza
OFBIZ-3679 - XHTML validation errors round 2 (specialpurpose/ecommerce)
https://issues.apache.org/jira/browse/OFBIZ-3679

XHTML validation errors

    * Unclosed tags
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@934190 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 20:46:08 +00:00
Bruno Busco d48b4bf036 A patch from Blas Rodriguez Somoza
OFBIZ-3614 - XHTML validation errors (specialpurpose_ecommerce)
https://issues.apache.org/jira/browse/OFBIZ-3614

XHTML validation errors

    * Unclosed INPUT
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.

Other errors:

viewprofile.ftl
Wrong markup at 248, 250. Entity without final ;
&nbsp</#if>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@932719 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 13:50:12 +00:00
Hans Bakker 943617ee99 Update dutch translation, a contribution by Willem Janssen: OFBIZ-3652
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@931430 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 04:27:42 +00:00
Ashish Vijaywargiya 584df31323 Applied patch from jira issue - OFBIZ-3635 - Contact list unsubscription email notification.
Thanks Chandan for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@930842 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 11:25:08 +00:00
Jacques Le Roux 5d0da42900 A patch from Bob Morley "Resolve java warnings exposed in Eclipse (eCommerce part of OFBIZ-3100)" https://issues.apache.org/jira/browse/OFBIZ-3596 - OFBIZ-3596
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@930829 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 08:24:47 +00:00
Jacopo Cappellato a9f16533d3 Implemented first version of FIFO and LIFO costing methods in accounting:
1) added new fields to InventoryItem/InventoryItemDetail to keep track of the units posted to INVENTORY accounts according to the costing methods in use
2)  added new field to AcctgTransEntry to keep track of the inventoryItemId that was used to get the cost according to LIFO/FIFO etc... strategy
3) modified existing demo data to support the new costing strategies; enabled by default the LIFO strategy for Company accounting (it was average cost before)
4) code that implements LIFO/FIFO for inventory receipts and sales shipments


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@926090 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 14:02:46 +00:00
Scott Gray a9c4e0436a OrderHeader isn't cached so there's no point in trying to do lookups via the cache
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@924575 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 00:56:54 +00:00
Scott Gray 26464be78c xhtml fix: checked -> checked="checked"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@924574 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 00:56:36 +00:00