Commit Graph
3703 Commits
Author SHA1 Message Date
Jacques Le Roux 7584f7e1bd No functional changes, just formatting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1535703 13f79535-47bb-0310-9956-ffa450edef68
2013-10-25 11:39:58 +00:00
Hans Bakker 28cc4c6153 revert of unwanted commit, sorry!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1535287 13f79535-47bb-0310-9956-ffa450edef68
2013-10-24 06:42:34 +00:00
Hans Bakker 5df9ee5d82 reorganizing of files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1535286 13f79535-47bb-0310-9956-ffa450edef68
2013-10-24 06:39:36 +00:00
Jacopo Cappellato b75d9b2f96 Misc fixes and renamed indexTree service/event/methods to indexContentTree in order to be more descriptive on their role in the system.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1532369 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 14:55:03 +00:00
Jacques Le Roux ff0a43f157 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/specialpurpose@1532366 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 14:51:57 +00:00
Jacques Le Roux 437b20b9be 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/specialpurpose@1532342 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 14:03:54 +00:00
Jacopo Cappellato bcac23ab93 Refactored and simplified the old code to index Content record: it now leverages the new LuceneDocument interface and index handling facilities.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1532273 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 10:13:11 +00:00
Jacopo Cappellato 91ec703446 Refactoring of Lucene product indexing: separated logic that is product specific from indexing logic that is independent from products; in this way it will be easy to index other content or customize the existing one, by implementing new LuceneDocument classes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1532241 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 08:28:08 +00:00
Jacopo Cappellato be655d4c90 Implemented a series of ecas to submit for indexing products when product related information is added/updated/deleted.
Thanks to Scott Gray for the initial implementation of these ecas.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1531918 13f79535-47bb-0310-9956-ffa450edef68
2013-10-14 14:42:53 +00:00
Jacques Le Roux 8ab0668a0f 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/specialpurpose@1531876 13f79535-47bb-0310-9956-ffa450edef68
2013-10-14 12:37:03 +00:00
Jacques Le Roux 3a633a9242 Avoids fixed view sizes and provides default value in case of missing property
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1531874 13f79535-47bb-0310-9956-ffa450edef68
2013-10-14 12:20:01 +00:00
Jacopo Cappellato 17b2ebb330 Updated the "lucene" specialpurpose component to the latest version of Lucene (4.5).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1531504 13f79535-47bb-0310-9956-ffa450edef68
2013-10-12 05:17:29 +00:00
Jacopo Cappellato 68540ad443 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/specialpurpose@1531499 13f79535-47bb-0310-9956-ffa450edef68
2013-10-12 04:52:17 +00:00
Jacques Le Roux 408beae479 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/specialpurpose@1530341 13f79535-47bb-0310-9956-ffa450edef68
2013-10-08 16:35:40 +00:00
Jacques Le Roux 71ed173455 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/specialpurpose@1528906 13f79535-47bb-0310-9956-ffa450edef68
2013-10-03 15:11:52 +00:00
Jacques Le Roux c9404e6d84 Replaces http://demo.ofbiz.org by https://demo-trunk.ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1527165 13f79535-47bb-0310-9956-ffa450edef68
2013-09-28 08:06:24 +00:00
Jacques Le Roux c8e766489c Puts a better comment in templates/web.xml
Remove useless and confusing websiteId in web.xml files

I did not remove some others, but I believe they don't make sense as they are.
Take for instance those data
<WebSite webSiteId="EBAY_STORE1" siteName="eBay Store1" standardContentPrefix="http://demo.ofbiz.org" productStoreId="90101"/>
<WebSite webSiteId="EBAY_STORE2" siteName="eBay Store2" standardContentPrefix="http://demo.ofbiz.org" productStoreId="90102"/>
<WebSite webSiteId="GOOGLEBASE" standardContentPrefix="http://demo.ofbiz.org" productStoreId="9000" />

Sorry but http://demo.ofbiz.org/ leads nowhere!

And do we need to keep those referring to productStoreId="9000" in web.xml files? They have not their own webapps
<WebSite webSiteId="CmsSite" siteName="CMS Web Site"/>
<WebSite webSiteId="OfbizSite" siteName="OFBiz Web Site"/>
<WebSite webSiteId="GOOGLECHECKOUT" productStoreId="9000" />
<WebSite webSiteId="GOOGLECHECKOUT" productStoreId="9000" />

I think we should keep in web.xml files, only ecommerce/clone and webPos (uses POS store)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1526686 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 21:07:10 +00:00
Jacques Le Roux fa44ffd18d Fixes "Overview of routings does not paginate" https://issues.apache.org/jira/browse/OFBIZ-5322 and more
Actually it does paginate but the value is not dependent on widget property widget.form.defaultViewSize which default value is 20. It uses a default value of 50 which is defined by

<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="3"/>

You can easily test it using https://localhost:8443/manufacturing/control/FindRouting?VIEW_SIZE=3

This is legacy from pre Apache era. I found 143 cases where a default-value is defined in screens for VIEW_SIZE.

I did not look into details for the 143 cases but I believe most are also legacy.
There are few default values: 10, 20, 30, 50, 500 and even an extreme case of 10000 for InventoryItemTotalsExport!
There is only one comment for LookupBulkAddProducts which is also legacy: <!-- 10 rows seems more appropriate given screen size, etc. -->

I suggest to OOTB replace all those by the widget.form.defaultViewSize value.
Things will then be consistent and easily changeable on a global scale using the widget property.
Or if really needed forcing the default-value as it's done now.

So this would be applied on the 143 cases (I checked, viewSizeDefaultValue does not exist in any screen)

<property-to-field resource="widget" property="widget.form.defaultViewSize" field="viewSizeDefaultValue"/>
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1526387 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 05:55:32 +00:00
Jacopo Cappellato b8e5179039 Moved the docbook distribution from applications/content to specialpurpose/cmssite, the only component that requires it. The Docbook schemas are still in the content component because they are required to render the online help screens of the applications.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1524112 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 16:11:00 +00:00
Jacques Le Roux 27a2f6f918 This slipped in inadvertently
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1523468 13f79535-47bb-0310-9956-ffa450edef68
2013-09-15 18:01:54 +00:00
Jacques Le Roux 8362391c91 I18n of FacilityInventoryHistoryReport, I moved the labels from Product to birt application, they could have stayed there, but I preferred to have them in one place. We need to i18n the Birt reports also
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1522782 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 05:37:37 +00:00
Jacques Le Roux d35d97e5f0 This reverts the change in birt ofbiz-component done at r1400463
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1522679 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 17:40:14 +00:00
Jacques Le Roux 9cb191e495 Reverts r1518777
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1522675 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 17:36:45 +00:00
Jacques Le Roux fe8d992996 For "Order Report Issue" https://issues.apache.org/jira/browse/OFBIZ-5297
The quickInitDataWarehouse BI button used these dates (set in BI main screen)

<set field="fromDate" value="2008-01-01 00:00:00.0" type="Timestamp"/>
<set field="thruDate" value="2010-01-01 00:00:00.0" type="Timestamp"/>

This generated 1000+ records. I set 10 years ahead (from sept. 2013) in a new bi.properties file used by the BI main screen. So it generates only 3000+ records (and others related in BI DB) which is still reasonable. A message, placed at the top of the Order Reports page, informs users that for 4 Birt reports s/he needs 1st to run the data warehouse init using the BI button. Also this message clarifies the range, to be certain that in 10 years people will still easily know what to change...

I have also replaced a lot of labels and added English and French translations (by-product: some labels cleaning in CommonUiLabels.xml)

I did not do the same for the accounting paymentReport and ViewFacilityInventoryHistoryReport facility Birt reports which only need translation. 
I noticed that there are no ways to get to ViewFacilityInventoryHistoryReport from UI though!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1521589 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 19:08:29 +00:00
Jacopo Cappellato 6c76eed0da Simplified the layout of the main/framework/applications/specialpurpose build files; now the files:
framework/build.xml
applications/build.xml
specialpurpose/build.xml

are only used to define the filelist properties (as before) with the list of components to be built.
The main build file simply refers to these lists to build/doc/clean OFBiz; as before, if applications' or specialpurpose's build.xml files are absent, the folders are ignored.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1520744 13f79535-47bb-0310-9956-ffa450edef68
2013-09-07 09:27:59 +00:00
Jacopo Cappellato a11efc33c9 First pass of the cleanup of Ant's targets defined in main build file and in build files for framework/applications/specialpurpose folders:
* removed redundant targets (e.g. clean-xtras)
* removed unused targets and settings
* moved runtime related targets from framework to main build file
* moved the search index runtime folder from runtime/data/indexes to runtime/indexes to prevent the removal of indexes when clean-data is executed



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1520510 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 08:32:47 +00:00
Jacopo Cappellato bf0ee6eb6b Fix for issue reported by Hans in the dev ml: after the migration of Lucene dependent code to specialpurpose, the application menu item for "Content" was replaced by "Lucene" due to a wrong title in the webapp declared in specialpurpose/lucene.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1520509 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 08:24:47 +00:00
Jacques Le Roux 1ccee56b3c A patch from Parimal Gain for "Order Report Issue" https://issues.apache.org/jira/browse/OFBIZ-5297
Reports under Order component has following issues -
1. Following reports are not showing any records due some issue
   a. Last three month sales report.
   b. Sales report.
   c. Sales Order discount code report.
   d. Product demand report.
2. Inconsistency in opening the pdf report - some reports are opening in new tab window but some are in the same window.

Following are the checkpoint -
1) Order should be Approved
2) All Dimension table(CurrencyDimension, DateDimension, ProductDimension)should have record.
3) After approval of order, order record should be created in 'SalesOrderItemFact' table. These is the OLAP table used to display data in reports.

Description -
1) If dimension table doesn't have records then following services should execute from service engine -
a) loadAllProductsInProductDimension
b) loadCurrencyDimension
c) loadDateDimension
2) Calling service to create record in 'SalesOrderItemFact' is updated into patch. On commit operation of service 'changeOrderItemStatus' if order item is approved then 'loadSalesOrderFact' service called through SECAS.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1519544 13f79535-47bb-0310-9956-ffa450edef68
2013-09-03 03:29:45 +00:00
Jacques Le Roux 5bc1c70d79 The path /content/images/ was used in some places (only for contentForum.css it seems) but no mount point was associated, here is a fix
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1519245 13f79535-47bb-0310-9956-ffa450edef68
2013-09-01 08:18:47 +00:00
Jacopo Cappellato c142c2584f Removed unused argument from a private method's signature.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1518985 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 14:52:34 +00:00
Jacopo Cappellato 48020db8ff Upgrade to latest Lucene release (4.4).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1518981 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 14:40:26 +00:00
Jacopo Cappellato 1214793c98 Minor code cleanup for the Java classes in the "lucene" component: replaced unnecessary usage of Javolution, simplified some code, suppressed unnecessary empty lines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1518980 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 14:37:20 +00:00
Jacopo Cappellato fb2df9ff51 Extracted from the OFBiz content component the dependencies on Lucene and created a new specialpurpose/lucene component in order to simplify the integration of components based on Lucene/Solr and to simplify the management of conflicts caused by different versions of Solr/Lucene jars.
In this way it will be easier to compare the ootb Lucene integration with custom ones (based on Lucene/Solr/etc...) and to switch between them.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1518925 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 09:45:33 +00:00
Jacques Le Roux 2d730a65ff This fixes "Net before overhead report generates an error" https://issues.apache.org/jira/browse/OFBIZ-5267
This is related with r1361130, where the birt component was moved from framework to specialpurpose.

The fix is to create the possibility of a loose coupling from applications controllers to specialpurpose controllers. For that an if-present attribute is added to the include element. When used, if the included controller does not exist, instead of an error and a stack trace, a warning is thrown (only in English, for developers) suggesting to checkout the component from trunk. Indeed, in the current case, this situation should only arise in release after 12.04 where the birt component, like all others but the ecommerce component, had been removed. This can be used in other cases, but for now only the component level is covered.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1518777 13f79535-47bb-0310-9956-ffa450edef68
2013-08-29 19:37:44 +00:00
Jacques Le Roux fa4ab0c2a7 No functional changes, just a better comment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1517119 13f79535-47bb-0310-9956-ffa450edef68
2013-08-24 10:16:50 +00:00
Jacques Le Roux 1aac3779a4 Fixes https://issues.apache.org/jira/browse/OFBIZ-5272 "Sales by Store report generates an error"
jleroux: I vaguely remember a change related to ignore-if-null and ignore-if-empty. Anyway replacing ignore-if-null by ignore-if-empty does the trick, which makes sense

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1512573 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 07:46:55 +00:00
Jacques Le Roux 4967140110 This should fix https://issues.apache.org/jira/browse/OFBIZ-2574 "Not possible to show the shipment information (packaging slip) in the purchase order approvement screen"
See Purchase Order #DEMO10090 in the Order Managaer application, where the order are to be approved.

Try to click on the link; 
Shipments    Nbr 9998  Packing Slip 

----------------------------------------------
Then the following error is shown:
----------------------------------------------------------
The Following Errors Occurred:

Problems with the response writer/output stream: org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://product/widget/facility/ShipmentScreens.xml#PackingSlip.fo]: java.lang.IllegalArgumentException: Operator must be EQUALS or NOT_EQUAL when right/rhs argument is NULL (Operator must be EQUALS or NOT_EQUAL when right/rhs argument is NULL )
-----------------------------------------------------------

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1512376 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 16:19:16 +00:00
Jacques Le Roux 841aee1125 Forgot the white space in r1512147, anyway was commented out
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1512149 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 06:23:56 +00:00
Jacques Le Roux a235832fcd Completes r1512129 which fixed 2 errors introduced by r1511742.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1512147 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 06:18:37 +00:00
Hans Bakker 2477c7ae79 corrections of errors introduced with r1511742
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1512129 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 02:35:39 +00:00
Jacques Le Roux f474d975d9 No functional changes, only formatting.
While looking for other cases like r1459222 and r1509164 introduced by r1300812 and r1305309. I noticed there were a lot of wrong for loops formatting (miss a white space after for), this changes it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1511742 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 12:28:01 +00:00
Jacques Le Roux b834acb461 A patch from Leon for "slight patch to "other-field-size" of drop-down form element"" https://issues.apache.org/jira/browse/OFBIZ-5285
"other-field-size" of drop-down form element is a very nice feature, but it's crippled in current version.
attached a patch to make it works and added an example section for that into FormWidgetExample.

jleroux: Interesting, I did not know this feature existed, it was committed long ago by David (before ASF era) 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1511279 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 12:24:10 +00:00
Hans Bakker 0a4255df2c update junit test related to r1505303 , reported by Jacopo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1505645 13f79535-47bb-0310-9956-ffa450edef68
2013-07-22 09:56:57 +00:00
Jacques Le Roux ae2b4520ae A patch from Deepak Dixit for "Application Menu items should be link not hidden form." https://issues.apache.org/jira/browse/OFBIZ-4913
Application menu item should be link not hidden form. As if its hidden form then you can not open it in new tab. 
Default menu item link type auto, and its create an hidden for for link if controller request call an event, but in menu item this should be link.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1500382 13f79535-47bb-0310-9956-ffa450edef68
2013-07-07 07:43:31 +00:00
Christian Geisert 081d6a8095 Missing UI Label translations to de Locale for Tags, see OFBIZ-5190
Submitted by Carsten Schinzer


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1497779 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 14:01:17 +00:00
Jacques Le Roux 6e7c2e511d Fix a typo introduced with r1495716
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1495726 13f79535-47bb-0310-9956-ffa450edef68
2013-06-22 13:35:30 +00:00
Jacques Le Roux b99bd30dc8 A patch from Pierre smits for "Enhancing Dutch WebPoS labels" https://issues.apache.org/jira/browse/OFBIZ-5242
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1495716 13f79535-47bb-0310-9956-ffa450edef68
2013-06-22 12:29:33 +00:00
Jacques Le Roux ef5cacd789 A patch from Ankit for "Priority field is missing on Add/Edit Project form." https://issues.apache.org/jira/browse/OFBIZ-5230
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1494202 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 17:00:37 +00:00
Jacques Le Roux 8a6e094cd7 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/specialpurpose@1493512 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 14:01:56 +00:00
Jacques Le Roux fc31563132 A patch from Ankit for "No the date fields showning on edit project page." https://issues.apache.org/jira/browse/OFBIZ-5222
No date fields are showing on Edit project page(https://demo-trunk.ofbiz.apache.org:8443/projectmgr/control/EditProject?projectId=10005 create a new project) for the following:

Estimated Start Date
Estimated Completion Date
Actual Start Date
Actual Completion Date

Also on the Project Summary page no dates are showing in Project Information.
https://demo-trunk.ofbiz.apache.org:8443/projectmgr/control/projectView?projectId=10005

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1492673 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 13:52:07 +00:00