Commit Graph
428 Commits
Author SHA1 Message Date
Deepak Dixit d3cbe78ae5 (OFBIZ-6362) Added missing code in header.ftl file to include component specific js file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1697574 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 06:40:54 +00:00
Shi Jinghai 66b54f0390 OFBIZ-6570 Anonymous unsubscribe from contact list generates an error.
Add value="main" to "error" responses related to unsubscribe.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1696018 13f79535-47bb-0310-9956-ffa450edef68
2015-08-15 07:00:24 +00:00
Shi Jinghai d58eca2920 OFBIZ-6135 - Passport Component for OAuth2
1. Commented out the passport files include in ecomseo.
2. Add quick start steps in README.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1689400 13f79535-47bb-0310-9956-ffa450edef68
2015-07-06 13:51:44 +00:00
Shi Jinghai f1fb02e53d OFBIZ-6135 - Passport Component for OAuth2
The oauth2 login icons will appear in /ecomseo/checkLogin page if the seed data files are properly configured and imported into database.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1688503 13f79535-47bb-0310-9956-ffa450edef68
2015-06-30 18:38:16 +00:00
Arun Patidar e02eae3790 [OFBIZ-6111] Applied patch from the task to fix after login redirects on ecommerce application. Now user redirects on its last view page like main page, products page or category page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686574 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 11:52:36 +00:00
Nicolas Malin 7d94967a68 Convert javolution FastMap, FastSet and FastList by standard java.util.*
Related to OFBIZ-5781 Convert Javolution collections into Java collections
Thanks to Deepak Dixit and Adrian Crum for their help.

By defautl converted :
 * FastMap by HashMap
 * FastList by LinkedList
 * FastSet by HashSet

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1672752 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 20:22:54 +00:00
Deepak Dixit c4fab1c046 Applied patch from jira issue OFBIZ-5295 - Anonymous Quick Checkout: No Payment Method Information shown in Order Confirmation
Thanks  Sebastian Wachinger for reporting the issue and thanks Yashwant for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668265 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 13:43:07 +00:00
Deepak Dixit d89fe70285 Applied patch from jira issue OFBIZ-4020 - Sign up for a contact list always redirects to the main ecommerce page
Thanks  Eric for reporting the issue, thanks Eric and Arun Patidar for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668246 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 11:52:23 +00:00
Jacques Le Roux 1d1c1f434b Adds a README file in birt component, updates the ecomseo one
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1662930 13f79535-47bb-0310-9956-ffa450edef68
2015-02-28 13:11:08 +00:00
Jacques Le Roux 6578096e29 Fixes "Incorrect Error Displayed when "Expiring" a Contact Mechanism" reported by Forrest Rae at https://issues.apache.org/jira/browse/OFBIZ-6112
When expiring a contact mechanism, an incorrect error is displayed.  This is mostly an error due to code reuse.  There is no reason to redirect back to editcontactmech, instead just redirect to viewprofile. 

"The contact information specified does not belong to you, you may not view or edit it."

Repro:
1) Login to http://demo-stable-ofbiz.apache.org/ecommerce/control/main as DemoCustomer.
2) Navigate to http://demo-stable-ofbiz.apache.org/ecommerce/control/viewprofile
3) Click Expire next to one of the Postal Addresses.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1662361 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 06:30:57 +00:00
Ashish Vijaywargiya ff8303bbbb Applied patch from jira issue - OFBIZ-5419 - Ordering a License product sometimes (most often) gives a blank page.
Thanks Jacques for creating the issue and thanks Arun for providing the fix.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1661287 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 06:28:27 +00:00
Jacques Le Roux 56894499a8 Fixes a typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658623 13f79535-47bb-0310-9956-ffa450edef68
2015-02-10 06:17:56 +00:00
Jacques Le Roux 5cb93a20bb A README to give some information and references about and how to use the ecomseo webapp
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658577 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 21:20:08 +00:00
Jacques Le Roux cc803c5d08 This implements OFBIZ-5312 "Proposal: URL-Generation Changes (mostly for SEO reasons but not only)" by merging the "SEO branch" in trunk
After some efforts to take into consideration Anil's justified concerns (simply put: keep the current behaviour), the modifications are finally light, which is greater for reviews. Most important are:
* Product component
  ** I have moved the OfbizCatalogAltUrlTransform and OfbizCatalogUrlTransform classes to a ftl subdirectory with the new FTL macros implementation: CatalogAltUrlSeoTransform, CatalogUrlSeoFilter, CatalogAltUrlSeoTransform, CatalogUrlSeoTransform, SeoTransform, UrlRegexpTransform
  ** A bunch of new filters have been added CatalogUrlSeoFilter, controlServlet, SeoCatalogUrlServlet, SeoContentUrlFilter, SeoContextFilter, SeoControlServlet, UrlRegexpContextFilter
  ** 2 util classes: SeoConfigUtil, SeoUrlUtil
  ** By default ofbizCatalogAltUrl and ofbizCatalogUrl macros now use the new implementations by CatalogAltUrlSeoTransform and CatalogUrlSeoTransform. This can be changed back in freemarkerTransforms.properties
  ** A SeoConfig.xml file define some SEO parameters, the SeoConfig.xsd can be sued as documentation, globally please refer to OFBIZ-5312.
* Framework webapp component
  ** By default ofbizUrl macro now uses the new implementations by UrlRegexpTransform. This can be changed back in freemarkerTransforms.properties
* Ecommerce component
  ** A new ecomseo webapp clones the ecommerce webapp on the model of ecomclone. There is not much there: mostly a controller with a new JspViewHandler class (in ecommerce) and a web.xml file

With these changes we can have both worlds running side by side. So you can use eitherb http://localhost:8080/ecommerce/control/main as root or http://localhost:8080/ecomseo, but also if you want http://localhost:8080/ecommerce/. Then everything follows.

From my reviews and tests all is working as expected. I only found a trivial bug that I can also reproduce in current trunk see OFBIZ-5305 (sometimes not locally, weird).

Of course, all the tests passes. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1655803 13f79535-47bb-0310-9956-ffa450edef68
2015-01-29 19:06:49 +00:00
Jacques Le Roux 6b0e0fe346 Fixes "Gift card reload service not working OOTB" https://issues.apache.org/jira/browse/OFBIZ-5914
jleroux: this issue was only in ecommerce, order manager worked once you followed the FAQ about fin account and GC. It simply missed a test on product.requireAmount

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1653456 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 08:04:10 +00:00
Adrian Crum dcecdd25a4 Reorganized the screen widget src folder so classes are more organized.
This commit might break some Groovy scripts. There seemed to be a lot of C&P widget import statements, but there were no widget classes being used in the script, so I removed them. I might have overlooked something though.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652852 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 21:03:40 +00:00
Mridul Pathak 57da246c29 [OFBIZ-3433] eCommerce main store front error returned when attempt is made to "Sign Up For Contact List" - as reported by Ruth. Not a service level bug but a UI issue. Email is a required input parameter in "signUpForContactList" service. Sign up form does have a field for email but has no label which is confusing to user, neither it is displayed as a required field. Applied patch from the issue to fix UI. Thanks Ruth for reporting the issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652627 13f79535-47bb-0310-9956-ffa450edef68
2015-01-17 15:46:01 +00:00
Mridul Pathak 09dadb5346 [OFBIZ-4457] Checkout layout - in screens before payment screen, the fields are below the last div in right column. Fixed Markup as in other checkout pages. Thanks Jacques for reporting the issue, and Amardeep for providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652611 13f79535-47bb-0310-9956-ffa450edef68
2015-01-17 14:05:20 +00:00
Ashish Vijaywargiya d267053dc7 Applied two patch files from jira issue - OFBIZ-5893 - Use EntityQuery Builder methods in goovy files by replacing Entity Engine methods. Thanks Arun for your recent contribution where you have included changes from specialpurpose and product component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647937 13f79535-47bb-0310-9956-ffa450edef68
2014-12-26 06:54:50 +00:00
Ashish Vijaywargiya 4bbbf895a8 Applied patch from OFBIZ-4511 - Non-standard markup for categories screenlet.
Thanks Anne for creating the issue and providing the first patch. Thanks Arun for providing the updated patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646944 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 10:23:47 +00:00
Ashish Vijaywargiya d3e50d1e18 Applied patch from jira issue - OFBIZ-5892 - Replace all occurences of dispatcher.runSync in groovy files with runService() of DSL.
Thanks Arun for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646167 13f79535-47bb-0310-9956-ffa450edef68
2014-12-17 08:10:12 +00:00
Ashish Vijaywargiya 9e044d163a Applied patch from jira issue - OFBIZ-5902 - Fetch configurable settings data driven by replacing UtilProperties.getPropertyValue() method with EntityUtilProperties.getPropertyValue(). Thanks so much Arun for this important contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1644015 13f79535-47bb-0310-9956-ffa450edef68
2014-12-09 10:09:22 +00:00
Ashish Vijaywargiya 935c229d8b Applied patch from jira issue - OFBIZ-4468 - After login it shows error 'Product not found!'.
Thanks Kiran for reporting the issue, Thanks Akash for providing the patch for this issue. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1639873 13f79535-47bb-0310-9956-ffa450edef68
2014-11-15 12:44:39 +00:00
Ashish Vijaywargiya 2352e830af Applied patch from jira issue OFBIZ-4569 - Update address dialog shows multiple CommonUpdatingData when required field is missing.
============================================================================================
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
2014-11-15 11:47:42 +00:00
Ashish Vijaywargiya d94848c5c4 Applied patch from jira issue - OFBIZ-5721 - Generate pdf doesn't open in new target.
Thanks Pierre for reporting the issue and providing patch for the same. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626465 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 15:54:00 +00:00
Ashish Vijaywargiya 2a35e2b77a Applied patch from jira issue OFBIZ-1705 - Merging of processCustomerSettings and createUpdateUser method.
Thanks Brajesh Patel for creating the issue, Thanks Arun Patidar for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626417 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 10:59:51 +00:00
Anil Patel e321edcada [OFBIZ-5690] Fixed email issue. Thanks for help.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618397 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 18:43:13 +00:00
Ashish Vijaywargiya aff06fcbc6 Applied the patch OFBIZ-4902_specialpurpose.patch from OFBIZ-4902 - Replace in Freemarker templates the deprecated built-ins: default, exists, if_exists.
Thanks http://ofbiz.us team for providing the patch work. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618313 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 08:40:28 +00:00
Jacopo Cappellato 745ab985de Removed hardcoded formatting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1583917 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 07:40:42 +00:00
Jacques Le Roux e9dc58392a Temporary fix for "Error when add product to an order." https://issues.apache.org/jira/browse/OFBIZ-5579
See my comment there.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1577855 13f79535-47bb-0310-9956-ffa450edef68
2014-03-15 12:49:10 +00:00
Jacopo Cappellato 7d8d938a3b Performance optimization for UtilHttp.getFullRequestUrl method: instead of returning a StringBuffer object (synchronized) it now returns a String (immutable); internally it uses a StringBuilder (lighter because not synchronized) within a private context.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1570810 13f79535-47bb-0310-9956-ffa450edef68
2014-02-22 08:32:28 +00:00
Jacques Le Roux d2eaee54e8 Prevents a possible misconfiguration spotted on trunk demo:
Expression blog.contentName is undefined on line 31, column 116 in component://ecommerce/webapp/ecommerce/blog/blogs.ftl. The problematic instruction: ---------- ==> ${blog.contentName} [on line 31, column 114 in 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1569078 13f79535-47bb-0310-9956-ffa450edef68
2014-02-17 18:36:55 +00:00
Jacques Le Roux 747a4a3154 This is a major update of jQuery and related, it contains:
jquery-1.8.2 to jquery-1.10.2 which implies using jquery-migrate-1.2.1 for plugins compatiblities
    jquery-ui-timepicker-addon-1.0.5 to jquery-ui-timepicker-addon-1.4.3 (using min now, better i18n)
    jquery-ui-1.9.0 to jquery-ui-1.10.3
    removes jquery.ui.datepicker.js now integrated in jquery.ui
    jquery.hotkeys-0.7.9 to jquery.hotkeys-0.8
    jquery.maskedinput-1.2.2 to jquery.maskedinput-1.3.1
    jquery.validate 1.10.0 to 1.11.1 
        I never realised how much efforts have been put in this plugin!  
        I fixed an issue in JsLanguageFilesMapping generation
        I removed the messages_ptbr.js and messages_ptpt.js files and the related conundrum in JsLanguageFileMappingCreator.java
        untested, found not use cases OOTB
    jquery.jcarousel ?(2006) to 0.3.0 (2013)
        untested, found not use cases OOTB
    jquery.flot 0.7 to 0.8.2 (lot of changes, still works)
        removes useless flotpie.ftl 
        removes empty flotr folder
    jquery.mobile-1.1.0-rc.1 to jquery.mobile-1.4.0
        untested, found not use cases OOTB
    jquery.cookie to jquery.cookie-1.4.0    


Removes all useless/redundant js files (not only jQuery unused old versions)
    notably removes all under images/jquery/ui/development-bundle/ui
    removes now useless GooglemapMarkers.js and GooglemapSimple.js

Flat Grey application.js
    moves jQuery(document).ready(function() at bottom (spotted in Chrome console) 
    
css
    I did not find much issues, I spotted the title bar of the lookups, but got it fixed after some efforts.    

Issues:
    Imagemanagement:  I got issues while testing, actually I'm not quite qure how it works, even in stable demo. It should be validated again. I commit nevertheless my changes:
        moves js part from product to images component
        removes useless calls to js files (mostly in imagemanagement, but not only)
        renames jquery.min.js to sizzle.min.js. 
        Inside sizzle.min.js, updates the Dojo part to v1.10.17-pre and removes the jQuery part
        changes to use ofbizContentUrl macro for generating js calls
        jquery.rotate.js NOT! It's jQueryRotateCompressed.js http://markmail.org/message/dit3dlh3ph4jnenp
        Got ERROR 22001: A truncation error was encountered trying to shrink VARCHAR 'D:\projectsASF\ofbizClean\framework\images\webapp\images\pro&' to length 100.  I opened OFBIZ-5501 for that
    I tried to update jstree  to jstree 3 but gave up. I let the jquery.jstree-3.0.0-beta3 files in place in case someone would give it a chance...
    
Not related but while a it:
    removes <!--flot example requests--> from birt controller (moved recently to example component)
    
    

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1559769 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 16:27:09 +00:00
Jacques Le Roux 9d2e62ecf6 A modified patch from Gareth Carter for "JSON Response does not set http status on error" https://issues.apache.org/jira/browse/OFBIZ-5409
This is rather a defensive patch which secure json response on services calls. 
It might need some changes in custom code if (not recommended) an Ajax GET response is used... The util.js scrpt is introduced for that, though normally should not be needed... 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1557462 13f79535-47bb-0310-9956-ffa450edef68
2014-01-11 20:26:30 +00:00
Jacques Le Roux 3087f2cd3d Fixes a formatting issue, there from long
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1552500 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 06:06:47 +00:00
Jacques Le Roux 6a9ef48903 Fixes a wrong rendered info in case of promotion
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1543744 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 09:54:03 +00:00
Jacques Le Roux fdb5cf20d1 Fixes "Under some conditions the Paypal button encroachs the menu bar" https://issues.apache.org/jira/browse/OFBIZ-3136
Small improvement to provide a default in French when any country has been selected. The same idea can be used with other default locales.

Actually this issue can't be completely fixed without efforts to reduce the lengths of labels above buttons in some languages, also depends on screen widths and anyway OFBiz is far to provide a responsive design, if even this is wanted...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1535981 13f79535-47bb-0310-9956-ffa450edef68
2013-10-26 12:37:43 +00:00
Jacques Le Roux fda9860a95 Fixes "Pagination from category tree is flawed, and not only this pagination" https://issues.apache.org/jira/browse/OFBIZ-5372
It was already flawed in R10.04.
If you click on the Gizmos node, the pagination page shows 3 pages when there should be only 2 and if you get to the page 3 it crashes.
If you come from the breadcrumb the problem is the same.
On the other hand, from R11.04 there is a "Popular Categories" section at top of the main screen, and from there it works correctly. 
But in this version the "Featured Products" pagination shows the same symptom than the category pagination. 
The "Featured Products" pagination works almost correctly from R12.04, but shows 2 pages when the second is useless and empty, at least no crashes!

Note:
This has no side effects on the same in order component
Actually what we should do is to create an unique paginationControls macro but there are subtle differences and I'm afraid it would open a can of worms. I will though check...



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1535961 13f79535-47bb-0310-9956-ffa450edef68
2013-10-26 10:22:31 +00:00
Jacques Le Roux bde41be0f3 No functional changes, just formatting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1535703 13f79535-47bb-0310-9956-ffa450edef68
2013-10-25 11:39:58 +00:00
Jacques Le Roux 3a116293a3 A slightly modified patch from Gareth Carter for "Fixes for some xml/groovy files" https://issues.apache.org/jira/browse/OFBIZ-5349
Validated all xml files and compiled all groovy files and found a few errors. Look at patch for details

jleroux: For webapptests.xml, I prefered to revert it from r959261 (I saw an issue in my xml editor, did not check more)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1532366 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 14:51:57 +00:00
Jacques Le Roux e23c626113 This fixes
"Addition of item to shopping list is not working" https://issues.apache.org/jira/browse/OFBIZ-4903
"Problem when saving a product to a shopping list" https://issues.apache.org/jira/browse/OFBIZ-4589
I don't pretend it's glorious code. For instance I gave up on trying to have the groovy changes snippets consistent in both components and to reuse the way it's done in party. And the way I secured the indexes remember me when I was hacking in APL. For my defense, it was really a mess... and my time is limited...
Anyway, at least it fixes all the issues I crossed in shopping list editing in both party and ecommerce components:
* NPE on sessions ending
* wrong and failing (NPE in ftl) pagination
* error on pagination links after adding a product

Tested with both 2 and 20 size view on both sides


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1532342 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 14:03:54 +00:00
Jacques Le Roux 59774c4d80 I made a typo in the signature of UtilProperties.getPropertyValue() in my last commit, the last parameter is a String
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1531876 13f79535-47bb-0310-9956-ffa450edef68
2013-10-14 12:37:03 +00:00
Jacques Le Roux a0dcb59884 Avoids fixed view sizes and provides default value in case of missing property
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1531874 13f79535-47bb-0310-9956-ffa450edef68
2013-10-14 12:20:01 +00:00
Jacopo Cappellato 3040cad755 Expanded and enhanced the "lucene" specialpurpose component by implementing an initial version of a Product indexer; also implemented a screen to test and analyze Lucene queries on the index.
Many thanks to Scott Gray for the initial version of the indexer and the code to prepare the Product document.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1531499 13f79535-47bb-0310-9956-ffa450edef68
2013-10-12 04:52:17 +00:00
Jacques Le Roux c8ce55ecc9 A patch from Anahita Goljahani for Fixed mispelling of "occurred" https://issues.apache.org/jira/browse/OFBIZ-5342
jleroux: this includes a safe change in jquery.validate.js and jquery.validate.min.js

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1530341 13f79535-47bb-0310-9956-ffa450edef68
2013-10-08 16:35:40 +00:00
Jacques Le Roux 14ebd124e4 An attempt to localise the Google and Paypal checkout buttons.
Google always default to English it seems, at least then the sequel is in the locale (https://developers.google.com/checkout/developer/Google_Checkout_Basic_HTML_Google_Checkout_Buttons)
For Paypal when the buttons does no exits (work for fr_FR or nl_NL for instance but not fr or nl_BE, etc.), fallbacks to en_US

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1528906 13f79535-47bb-0310-9956-ffa450edef68
2013-10-03 15:11:52 +00:00
Jacques Le Roux 7bfc413625 A slightly modified patch from Ankit Jain from a previous work by Nandani Aggarwal for "No method to remove a promo code from the shopping cart" https://issues.apache.org/jira/browse/OFBIZ-4291
When working with promotions and promo codes in the shopping cart, it seems not possible to remove _one_ specific promo code from the cart neither through the ShoppingCart and its helpers and services, nor through the ProductPromoWorker.
ShoppingCart has the method 

{{addProductPromoCode(String productPromoCodeId, LocalDispatcher dispatcher)}}

but no method to remove the added PromoCode. Is there any other worker, service or event that can be called to do this? And if not, is there a specifc reason (maybe relating to promotions application rules) for not implementing this?

Current provided method of dealing with removal of promotions is a so called brute force approach where removing all and adding not to be removed promotions again.

jleroux: 
* in ecommerce no needs to be authentified to be abble to remove a promo code
* I also added a French label

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493512 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 14:01:56 +00:00
Jacques Le Roux 0aa7f8f716 A patch from Mark Schneider for "Common look for subscreens of ecommerce (minipromotext.ftl )" https://issues.apache.org/jira/browse/OFBIZ-5173
Extension of minipromotext.ftl to get more common look for this subscreen of ecommerce. Patch and screenshot will be attached.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1470136 13f79535-47bb-0310-9956-ffa450edef68
2013-04-20 09:27:12 +00:00
Jacques Le Roux af0e8d0fd3 Ooops :D this slipped it inadvertently (put for testing Jira 5030)
Thanks for spotting it Adrian! 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1460287 13f79535-47bb-0310-9956-ffa450edef68
2013-03-24 09:17:35 +00:00
Jacques Le Roux 28b891cb20 A patch from Jeremy Olmstead for "Unable to search accounting transaction entries by productId " https://issues.apache.org/jira/browse/OFBIZ-5160
From the FindAcctgTransEntries screen, enter a part number to search for...you will still get a complete list of all transactions because the form field name is produtId instead of productId.  After searching relevant document types it turns out there are a few places where produtId is used instead of productId, the patch is meant to fix them all.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1460116 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 08:27:30 +00:00