Commit Graph
370 Commits
Author SHA1 Message Date
Jacopo Cappellato 688aa2fc9c Misc cleanups (no functional changes) to the Lucene integration:
* removed unused imports
* removed unused old methods with duplicated logic
* made some methods private
* improved some debug statements
* formatting adjustments

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1375970 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 10:16:52 +00:00
Jacopo Cappellato 333d56a993 Fixed some inconsistent use of Lucene Version (now the current Version is set as a static final field of SearchWorker); misc minor code cleanups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1374328 13f79535-47bb-0310-9956-ffa450edef68
2012-08-17 15:43:30 +00:00
Sascha Rodekamp 3aaae8babf Fix a bug on the new customer site. Some div's where only renamed in the HTML but not the JS code, the result was an error when using getElementById
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1372764 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 08:17:14 +00:00
Hans Bakker 648acc6165 make the websiteId available in the tellafriend.ftl
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1364942 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 09:00:06 +00:00
Jacopo Cappellato e8f9df367e Removed the old and unused "serviceReaderUrls" context-param from all the web applications.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1364217 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 06:33:26 +00:00
Jacques Le Roux 99f9dca678 A patch from Carsten Schinzer "ECommerce application, productdetail is not fully internationalized" https://issues.apache.org/jira/browse/OFBIZ-4962
The i18n in the productdetail.ftl is not complete when featuretree is used to define products. Missing bits:

Reference to existing UI Labels on div productdetail for sizes available
Using a UI Label instead of hard coded "choose option" on the AddItemForm



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1361402 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 21:12:26 +00:00
Jacopo Cappellato ec61108dec Cleaned up some code that was adding the delegator/dispatcher/security/auth objects in the user session rather than the request;
1) removed the request-maps for changeDelegator from components' controller.xml files: they were not used
2) removed CoreEvents.changeDelegator(...): not used (apart from the request-maps removed at #1)
3) removed CoreEvents.changeDispatcher(...): not used
4) cleaned up some code (related to multitenant development): now the objects are set in the request rather than the session

PS: as a consequence this will also fix the issue reported in OFBIZ-4289


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1353681 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 17:46:07 +00:00
Jacopo Cappellato f953d085fa Fixed xml validation for misplaced "error-page" element added by Hans in rev. 1208335.
Unfortunately the bug has been backported by Jacques to the 11.04 branch but I don't have time to backport the fix to the branches at the moment.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1347559 13f79535-47bb-0310-9956-ffa450edef68
2012-06-07 10:26:40 +00:00
Jacques Le Roux 9c8490bf80 A patch from Ankit Jain "Replaces != nullpattern in ftl file by ?? (which replaces deprecated ?if_exist)" https://issues.apache.org/jira/browse/OFBIZ-4916
jleroux: I simply removed some useless ?? when ?has_content was enough. I also found 3 other cases in returnPolicy.ftl that I fixed the same way than Ankit (using ??)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1345532 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 17:10:52 +00:00
Jacques Le Roux a5fecf2bb3 Revert r1345473, I will rather review and commit https://issues.apache.org/jira/browse/OFBIZ-4916
Thanks to Jacopo spotting this (was harmful but stupid, really the kind of errors I make when too tired, not enough focus:D )

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1345484 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 11:09:02 +00:00
Jacques Le Roux cfd136db5d Fix a small bug, related to recent Freemarker changes, reported on user ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1345473 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 09:46:28 +00:00
Adam Heath dc65cf6699 Deprecate EntityUtil.getRelated(ByAnd|OrderBy)(|Cache), replaced with
the single getRelated variant.

EntityUtil.getRelatedByAnd(String, Map) replaced by
EntityUtil.getRelated(String, Map, List, boolean)

EntityUtil.getRelatedByAndCache(String, Map) replaced by
EntityUtil.getRelated(String, Map, List, boolean)

EntityUtil.getRelatedOrderBy(String, List) replaced by
EntityUtil.getRelated(String, Map, List, boolean)

EntityUtil.getRelatedOrderByCache(String, List) replaced by
EntityUtil.getRelated(String, Map, List, boolean)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343532 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:21:38 +00:00
Adam Heath 803003dd88 DEPRECATION: specialpurpose/ecommerce: GenericValue.getRelated/getRelatedCache variants replaced with a getRelated that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343520 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:19:33 +00:00
Adam Heath c244b122b5 DEPRECATION: specialpurpose/ecommerce: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343495 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:15:07 +00:00
Adam Heath 5dcddcaa72 DEPRECATION: specialpurpose/ecommerce: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343493 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:14:59 +00:00
Adrian Crum 20994e6381 Fixed a bug in an eCommerce Freemarker template - https://issues.apache.org/jira/browse/OFBIZ-4899.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1342852 13f79535-47bb-0310-9956-ffa450edef68
2012-05-26 04:32:22 +00:00
Jacques Le Roux 8f0f2442fd 2 missing ASL2 headers, while at it...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1341399 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 10:57:13 +00:00
Adam Heath 9651d8a4ac FIX: Replace BeansWrapper.getDefaultInstance() with
FreeMarkerWorker.getDefaultOfbizWrapper(); these were missed in
v1340631.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1341053 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 14:39:59 +00:00
Jacques Le Roux fbf9f8d1a8 A patch from Ankit Jain "Split Into Multiple Shipment Button is not working in Order Manager quick checkout" https://issues.apache.org/jira/browse/OFBIZ-4866
Split Into Multiple Shipment Button is not working on quick checkout page


jleroux: part the current known issue with Freemarker and findByAnd(), it works well on both sides (Order Manager and eCommerce)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1340415 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 11:13:38 +00:00
Jacques Le Roux 3e364b2048 Adrian suggested to removes all class="tabletext": <<That style was removed from the stylesheet in 2007. All references to it should be removed.>>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1340386 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 09:35:12 +00:00
Jacopo Cappellato 1820bc4ede Completed refactoring/cleanup of captcha implementation that now supports screens with more than one captcha in them.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1338700 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 13:31:15 +00:00
Adam Heath c1028c2d0b DEPRECATION: specialpurpose/ecommerce: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1338415 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:02:45 +00:00
Adam Heath e75bc67b63 FORMATTING: Add some missing final newlines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1338370 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 19:52:26 +00:00
Adam Heath 758c236614 DEPRECATION: specialpurpose/ecommerce: findByPrimaryKey variants
replaced with findOne

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337677 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:21:05 +00:00
Adam Heath 162905e200 FORMATTING: Add some missing final newlines to tons of files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337320 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 18:03:08 +00:00
Jacopo Cappellato afc03d450a Completed migration to new captcha event implemented by Scott; removed old artifacts; removed tempfiles webapp that was causing the error reported in OFBIZ-4856
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337202 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 15:10:45 +00:00
Scott Gray b0f4341784 Changed the Anon Contact Us in ecommerce to use the improved captcha event. Also removed some bad code that would allow a user to impersonate another user and discover their name simply by entering that person's email address in the form.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337059 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 08:23:21 +00:00
Scott Gray c158c8668d Copied the captcha image generator into a single event that streams the image to the response for a direct request rather than trying to store it during screen rendering to be served up later.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337057 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 08:23:02 +00:00
Jacques Le Roux 247059db00 A patch from Ankit Jain "Continue shopping does not work" https://issues.apache.org/jira/browse/OFBIZ-4834
After submitting an order using quick checkout, when you want to add products from main page (using Continue shopping or not), at the 1st product you add you get directly to quick checkout and would have to get back to the main page to add another product

This was happening because we had used save-current-view="true" for "quickCheckout" request and in the addItem request we are using view-last that's why it was redirecting to quickCheckout after adding item. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1335347 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 06:07:51 +00:00
Jacopo Cappellato df4239dac6 First pass in fixing the buggy code for captcha support; this is a first pass (the next one will probably be to save the image in the session rather than in the file system); the main problems fixed are related to concurrent access: the class was not thread safe and this, especially in servers with high traffic, could cause a series of issues like:
* captcha images created and then lost
* captcha images created in the wrong location (for example out of the OFBiz folder)
* the folder runtime/tempfiles/captcha could be locked



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1335047 13f79535-47bb-0310-9956-ffa450edef68
2012-05-07 14:46:07 +00:00
Jacques Le Roux ef7382315d A patch from Tom Burns for "eCommerce Create New Customer Improvement" https://issues.apache.org/jira/browse/OFBIZ-4831
1. Add support for dependent Country / State drop down to newcustomer.ftl
This change makes the behavior of the Country / State drop downs in newcustomer.ftl consistent with the Profile > Contact Information > Postal Address > "Create New" and "Update" behavior.

2. When an eCommerce user, who is not Logged In, clicks "Register" the newcustomer.ftl from opens with a "Go Back" button.
This button navigates to a Login form that prompts the user for a user name and password.
This makes no sense in the context.
A better design is to have a Cancel button. When the user clicks Cancel the application returns to the Main display for the current session.

jleroux: 
1. I wondered about returning to main page when coming from login screen and asking to create a new user. But it makes sense as well and is better when coming directly from main page. Anyway this is purely cosmetic
2. We don't need to get back to this screen (new profile) so no needs to use from-field="selectedStateName" in
<set field="selectedDependentOption" from-field="selectedStateName" default-value="_none_"/>
It makes things clearer

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1331842 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 21:53:54 +00:00
Jacques Le Roux d61213727c A patch from Tom Burns for "eCommerce Customer Code Cleanup" https://issues.apache.org/jira/browse/OFBIZ-4830
1. In OFBIZ-4822 it was decided that request to authview would be removed from the eCommerce customer ftl files because their only purpose was to set URL to https. The set field "donePage" in CustomerScreens.xml editperson effects the same result.

2. There are brackets in the password.ftl display for the href:
<a href="<@ofbizUrl>authview/${donePage}</@ofbizUrl>" class="button">[${uiLabelMap.CommonGoBack}]</a>

The brackets are inconsistent with the display for similar elements in the applications


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1328205 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 06:12:25 +00:00
Jacques Le Roux 480edabf6f This was missing in r1327269
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1327562 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 16:16:12 +00:00
Jacques Le Roux f13b286e70 A patch from Tom Burns for "eCommerce Profile Improve Button Naming Consistency" https://issues.apache.org/jira/browse/OFBIZ-4822
In eCommerce the naming and display of back buttons is inconsistent across the Profile Editing screens.
Example:
Changes Password label should be "Go Back" but is "[Go Back]"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1327269 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 20:12:11 +00:00
Jacques Le Roux b22661f73d A patch from Tom Burns for "eCommerce Profile Back Button Fail" https://issues.apache.org/jira/browse/OFBIZ-4814
. Some navigation buttons reached from the eCommerce Profile screen fail to return to the Profile screen.
Example:
Login as DemoCustomer
Click Profile
Click Update In the "Contact Information" > "Postal Address" section.
Click Go Back
Expected: Return to profile page
Actual: Remain on Edit Contact Information page

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1327260 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 20:03:10 +00:00
Jacques Le Roux 0548492bfa Fixes debug labels forgotten in r1326397
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1326933 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 05:25:50 +00:00
Jacques Le Roux 9151c2c274 A modified patch from Tom Burns for "eCommerce Edit Contact Information use Dependent drop-downs" https://issues.apache.org/jira/browse/OFBIZ-4797
Using Dependent drop-downs to filter the State drop down based on the selection in the Country drop-down will improve the usability of the component.
Current Behavior:
1. Open eCommerce application
2. Log in as user with Postal Address say Demo Customer
3. In the menu bar select Profile
4. In "Contact Information" > "Postal Address" select update.
5. The "Country" drop-down value is "United States" and the "State/Province" drop-down list displays all geo values.

After improvement:
5. The "Country" drop-down value is "United States" and the "State/Province" drop-down list is limited to States in the United States.
6. Changing the value in the "Country" drop-down will update "State/Province" drop-down list with values for the selected country.

jleroux: Tom's patch had only a small issue: duplicated line (but this had any impact since overriden by the following line)
<set field="selectedDependentOption" value="_none_"/>

The problem was more in EditContactMech.groovy:
context.selectedStateName = geoValue.geoName;
was used, instead of needed by setDependentDropdownValuesJs.ftl
context.selectedStateName = geoValue.geoId;

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1326397 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 18:58:17 +00:00
Jacques Le Roux b82817cf5c Replaces ProductCountry and mostly PartyCountry by CommonCountry and merges all labels in CommonCountry
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1326270 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 08:24:45 +00:00
Jacques Le Roux 7dfdd7215c A patch from Pierre Smits "Include meta tag 'generator' in the ecommerce theme" https://issues.apache.org/jira/browse/OFBIZ-4544
Includes the tag <meta name="generator" content="Apache OFBiz - eCommerce"> into the eCommerce theme. 
This will help improve visibility when searching for implemented webshops.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1307848 13f79535-47bb-0310-9956-ffa450edef68
2012-03-31 16:57:36 +00:00
Jacques Le Roux cf29618bfd A patch from K Sharad Bhushan "An issue on billing error messages display" https://issues.apache.org/jira/browse/OFBIZ-4736
Billing error messages are displayed in shipping address section, instead of billing address section

Just a element "id" change..

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1305053 13f79535-47bb-0310-9956-ffa450edef68
2012-03-25 14:42:51 +00:00
Jacques Le Roux 443d5a5dd2 A patch from Markus M. May "Add Product Reviews to the profile Screen" https://issues.apache.org/jira/browse/OFBIZ-4736
Currently there is no way for a customer to view her/his reviews created in the ecommerce application. This functionality is added with the attached patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1305038 13f79535-47bb-0310-9956-ffa450edef68
2012-03-25 14:02:59 +00:00
Jacques Le Roux 85c8c26c5a A patch from Kiran Gawde "OnePageCheckout doesn't create purchase order for dropShip product" https://issues.apache.org/jira/browse/OFBIZ-4458
Select a item from drop ship supplier.
Perform one page checkout.

Issue: Purchase order for drop ship supplier is not created


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1304567 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 19:34:31 +00:00
Scott Gray 5a1b5c018d Errors from ajax calls weren't being handled properly after the migration to jQuery.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1302219 13f79535-47bb-0310-9956-ffa450edef68
2012-03-18 20:31:21 +00:00
Scott Gray fa9a794cc4 CVE-2012-1621: Escape errors returned from ajax calls in the checkout pages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1302218 13f79535-47bb-0310-9956-ffa450edef68
2012-03-18 20:31:10 +00:00
Jacques Le Roux 6ed1929086 A patch from Wai "widget <image> tag to use css for resizing" https://issues.apache.org/jira/browse/OFBIZ-4678
Summary: The purpose of this patch is to address the following:
1. Provide a standardized set of image width and height specs for page layout in ofbiz. This gives ofbiz a uniform look throughout as it applies to image display.
2. Preserve the aspect ratio of the image when using these standardized image sizes.
3. One place to make styling modifications (eg. css file).
4. Decouple styling from code (eg. java,ftl,xml,html,jsp,etc).

Regarding including the real image size, the width/height attributes in <img> specifies the boundary of the image when shown on the page. If you need to specify the real size of the image, the server code would have to perform the determination. Afterwards, you can include the actual dimensions of the image in the title attribute of <img>

Details:
Manually specifying the image width and height does help with preserving the layout of a page regardless of the image size to be shown. The challenge with this method is that the image shown on the page in question may be distorted if the aspect ratio of the image differed from that of the width and height attributes of <img>. This basically forces the person uploading the image to be more vigilant about image aspect ratios.
The purpose is to harmonize on the display size of images with a standardized set of width/height constraints in which an image must fit and preserve the aspect ratio of images.

Currently the source files (eg. ftl, xml) either manually specifies the width or height of a displayed image (ie widget <image> and html <img> tag). The problem with specifying only one constraint is that an image can affect the layout of the page if the user uploads an image where the aspect ratio could be large.

Some ftl and xml files specify both the width and the height. The problem with this is that if the aspect ratio of the image in question does not match that of the width and height of the <img> tag, the image would be displayed distorted.

The solution was to create a standardized set of CSS styles that both configure the displayed image size and preserve the image aspect ratio (eg. thumbnail size, medium size and large size). Of course, the developers can further define or modify the styles to suit their need.

By using CSS, one can change the size of displayed images without having to tamper with the ftl and/or xml files. This helps to reduce potential bugs that come with modifying the ftl and xml files. The existing way of doing things is to go through each ftl or xml file in question and manually modify the width and/or height of the <image> and/or <img> tag.

The question about the "border" around images. If you do not wish to have a border around the image, just remove it from the CSS style. It's that easy No need to change anything else. Ie. configuration to the image is done on the CSS style and not on the <image>, <img> tag.

NB: The current patch does not apply to all displayed images. I have only made appropriate modifications to widget <image> and html <img> tags that have either specified the width and/or height. There are numerous <image> and <img> tags spread all over the project that do not specify dimensions. I would have to modify them as I encountered them when I could see where and how they are displayed on the screen. Note that these images would not be affect by this patch.

jleroux: despite my efforts I was not able to check all screens. But I think it's ok

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1296782 13f79535-47bb-0310-9956-ffa450edef68
2012-03-04 11:54:13 +00:00
Jacques Le Roux 97da897c16 A patch from Markus M. May "Problem when saving a product to a shopping list" https://issues.apache.org/jira/browse/OFBIZ-4589
Steps to reproduce:

    Go to http://localhost:8080/ecommerce/control/editShoppingList
    Login as flexadmin
    Click "create new"
    Paste "WG-1111" in Quick Add to Shopping List SKU box
    Click "Add to Shopping List"




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1293379 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 18:45:36 +00:00
Jacques Le Roux a93bf68d75 A patch from Uwe Allner "Download link for digital products on order history page contains file name, preventing correct resolve of the request" https://issues.apache.org/jira/browse/OFBIZ-4711
I created a product with product type "Finished/Digital Good", and added product content of type "Digital download", providing a file (i.e. some.pdf).
The download link in the order history of the ecommerce application after purchasing the product is rendered as
"/ecommerce/control/downloadDigitalProduct/some.pdf?dataResourceId=10060".
The file name in this URL prevents resolving the correct service (method), and instead just a "404 Not found" is generated.
The link "/ecommerce/control/downloadDigitalProduct?dataResourceId=10060" works as expected.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1293376 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 18:36:04 +00:00
Hans Bakker 7845a2c8f4 changes for configurable service product:
1. Display the configuration button on a product on the catalog manager.
2. Check the config  if the product is the configurable product service then 
    create new product from config(Do the same step as the configurable product).


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1235698 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 09:01:53 +00:00
Hans Bakker 126bac2fc2 some confusion if allow is a valid parameter, perhaps Disallow is better
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1235123 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 03:41:21 +00:00
Hans Bakker ca3a744ab3 better allow all ecommerce
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1235118 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 03:28:21 +00:00