Commit Graph
3703 Commits
Author SHA1 Message Date
Adrian Crum 73e9e5e019 A final pass through ServiceConfigUtil.java - moved some of the convenience method code to the call sites. The convenience methods don't add much now that the API is easier to use. Reorganized methods and added JavaDocs.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1490116 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 03:29:50 +00:00
Adrian Crum cb10fc7f72 More work on ServiceConfigUtil.java - based on a patch from Christoph Neuroth with modifications by me. The static helper methods now use the models instead of parsing the DOM tree. This commit makes a small API change - the helper methods now throw an exception if there is a problem with the serviceengine.xml file. The original code would just hide the errors, so client code didn't know anything was wrong.
https://issues.apache.org/jira/browse/OFBIZ-5204


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1490004 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 18:59:51 +00:00
Jacques Le Roux eab1df62ea Fix a typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1489162 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 20:40:53 +00:00
Hans Bakker 55e0fd94b8 remove not existing fields in demo data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1485975 13f79535-47bb-0310-9956-ffa450edef68
2013-05-24 08:50:51 +00:00
Jacques Le Roux 5220a7da02 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/specialpurpose@1470136 13f79535-47bb-0310-9956-ffa450edef68
2013-04-20 09:27:12 +00:00
Jacopo Cappellato a37d3b9612 Removed the experimental and incomplete ofbizwebsite component (intended to replace the existing OFBiz website).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1466045 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 14:17:38 +00:00
Jacopo Cappellato 9971d8019e Moved Jetty component from framework to specialpurpose
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1465283 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 18:04:11 +00:00
Jacopo Cappellato e755a3f947 Moved the appserver component from framework to specialpurpose.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1465276 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 17:25:01 +00:00
Jacopo Cappellato 144674f6a0 Moved Axis1 jars to specialpurpose/birt because it is now the only component that still uses these old jars while the framework runs on Axis2.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1465252 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 14:35:05 +00:00
Jacopo Cappellato d3db7aa589 The specialpurpose/crowd component is now disabled: the component is not actively maintained, it is based on an old version of Crowd and it requires some old jars (Axis 1) that we are going to remove from the framework (that runs on "Axis 2").
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1465250 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 14:20:33 +00:00
Jacopo Cappellato 88a52fb37b Added NOTICE file for specialpurpose components: it will be useful when we will issue releases of specialpurpose components.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1465245 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 14:11:00 +00:00
Adrian Crum 3e043b5c35 Converted Mini-language bsh: scripts to groovy: scripts.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1464779 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 22:01:07 +00:00
Jacopo Cappellato da9b25bd15 Split the LICENSE file into two files, one in the specialpurpose folder and specific to the components in it: in this way it will be easier to maintain and release specialpurpose components separately.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1463892 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 09:31:41 +00:00
Jacopo Cappellato fe24506e48 In preparation for the selective disabling of specialpurpose components as a default (when trunk is checked out, built, unit tested, run): explicitely added the "enabled" attribute to all the ofbiz-component.xml files of specialpurpose applications; for now they are all set to "true" (that is the default value) and so this commit will not change the behavior of the system.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1462422 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 07:21:52 +00:00
Jacopo Cappellato 6ec015939d Reorganized test data and unit tests to remove wrong dependencies from accounting to assetmaint and from order to scrum; all tests are now successful even when all specialpurpose components (*except* ecommerce) are disabled.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1462421 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 07:07:59 +00:00
Paul Foxworthy 1a38f248e8 Fix spelling of successful and some other words
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1460654 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 13:33:09 +00:00
Paul Foxworthy 82140f639e Undid r1460637, should be two separate commits
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1460647 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 13:14:10 +00:00
Paul Foxworthy 2b1caae419 Add grams to Product Shipment Uom labels (Jira OFBIZ-5154)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1460637 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 12:46:16 +00:00
Jacques Le Roux 61c3851975 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/specialpurpose@1460287 13f79535-47bb-0310-9956-ffa450edef68
2013-03-24 09:17:35 +00:00
Jacques Le Roux 0f6621ce3d 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/specialpurpose@1460116 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 08:27:30 +00:00
Hans Bakker cd2807b385 ignore the backend analytics in e-commerce frontend
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1453169 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 06:14:50 +00:00
Jacques Le Roux b65d2bad3b A patch from Shi Jinghai for "Chinese localizations (zh) for trunk (Part II)" https://issues.apache.org/jira/browse/OFBIZ-5137
Translated missing zh labels for projectmgr, scrum, service, webpos and webtools components. These are the last 5 components.





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1448350 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 18:50:33 +00:00
Jacques Le Roux 592fe20127 A slightly modified patch from Gil Portenseigne for "Missing PartyCountryCode uiLabel" https://issues.apache.org/jira/browse/OFBIZ-5138
The label ${uiLabelMap.PartyCountryCode} is used several times in the project but i could not find the definition of PartyCountryCode in label definition files.
I looked further and found CommonCountryCode in label file which is not used and fill the need for PartyCountryCode. To solve this I propose to rename all PartyCountryCode to CommonCountryCode.

jleroux: I also moved CommonCountryCode, CommonCountryCodeMissing and CommonCountryMissing from PartyUiLabels.xml to CommonUiLabels.xml





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1447664 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 10:55:10 +00:00
Jacques Le Roux 110fc43ac6 A patch from Shi Jinghai for "Chinese localizations (zh) for trunk (Part II)" https://issues.apache.org/jira/browse/OFBIZ-5137
Translated missing zh labels for party, pos and product components.





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1447615 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 07:56:32 +00:00
Jacques Le Roux 4a47e6c222 A patch from Shi Jinghai for "Chinese localizations (zh) for trunk (Part II)" https://issues.apache.org/jira/browse/OFBIZ-5137
Translated missing zh labels for oagis and order components.





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1447170 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 09:35:51 +00:00
Jacques Le Roux 1c4a8f9e39 A patch from Shi Jinghai for "Chinese localizations (zh) for trunk (Part II)" https://issues.apache.org/jira/browse/OFBIZ-5137
Translated missing zh labels for several components.





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1446852 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 08:49:01 +00:00
Jacques Le Roux ba3712d0f6 A patch from Shi Jinghai for "Chinese localizations (zh) for trunk" https://issues.apache.org/jira/browse/OFBIZ-5134
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1446849 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 08:08:38 +00:00
Jacques Le Roux bcb2a48687 A patch from Shi Jinghai for "Chinese localizations (zh) for trunk" https://issues.apache.org/jira/browse/OFBIZ-5134
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1446482 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 09:11:54 +00:00
Jacques Le Roux a2155278fa Fixes 2 issues I found by chance while browsing trunk demo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1444356 13f79535-47bb-0310-9956-ffa450edef68
2013-02-09 12:57:36 +00:00
Jacques Le Roux aefaa14c3d Complete the work on server hour for the webtools job list.
* Now uses real server hour
* Renames getDependentDropdownValues.js into miscAjaxFunctions.js, that it is really
* Introduces a minimized version of date.format: date.format-1.2.3-min.js


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1426904 13f79535-47bb-0310-9956-ffa450edef68
2012-12-30 07:33:26 +00:00
Jacques Le Roux 80654bfb26 Fix an issue reported by Duc Trung NGUYEN on user ML:
>  I tried to test the theme multiflex (for ecommerce) and detect a small
> problem as the following: (USING http://demo-trunk.ofbiz.apache.org)
> 
> 1.connect to catalog manager
> 2.go to "store" tab and select the store with id 9000
> 3.change its viual theme to MULTIFLEX
> 
> 4.open the ecommerce site (it's ok with new theme)
> 5.select a catagory from the categories menu on the left side.
> 6.select another language
> 
> And the problem come up:
> The theme now is EC_DEFAULT instead of MULTIFLEX

It was related to a not finished change introduced with  http://svn.apache.org/viewvc?view=revision&revision=1128983
I mean the addCheckValue request and sequel... 

It was just missing the productStore, I added it in the category.groovy script

I briefly tried to do it in a simpler way using a redirected parameter on setSessionLocale request, but got issue, gave up and simply reused the same way but moved the simple method from AffiliateSimpleEvents.xml to CustomerEvents.xml


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1426787 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 17:14:16 +00:00
Hans Bakker 8e246297cf Nice contribution from Nicolas, now be able to modify and delete database records using the framework import function: https://issues.apache.org/jira/browse/OFBIZ-4949
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1425813 13f79535-47bb-0310-9956-ffa450edef68
2012-12-26 04:19:34 +00:00
Jacques Le Roux 6329f5df33 Fix a bug reported by Mark Schneider on user ML:
>It looks like a wrong credit card number leads to the following error message in UI (tested with one-page checkout):
>        # ---
>        ... (INSERT on table 'ORDER_CONTACT_MECH' caused a violation of foreign key constraint 'ORDER_CMECH_CM' for key (10005). ...
>
>        I would rather expect an error message like "invalid credit cartd number" instead.

jleroux: the bug was actually double 

1st: a last issue related to https://issues.apache.org/jira/browse/OFBIZ-5102 after https://issues.apache.org/jira/browse/OFBIZ-3883
2nd: the cardNumber was missing a creditcard class (jquery.validate.js messages)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1425452 13f79535-47bb-0310-9956-ffa450edef68
2012-12-23 11:22:24 +00:00
Jacques Le Roux bfedef674c A patch from Carsten Schinzer for "CheckoutScripts not adapted after ShoppingCart.setShipmentMethodTypdeId" https://issues.apache.org/jira/browse/OFBIZ-5102
The CustomerEvent scripts do not yet account for the fact that the method takes two parameters after a code change on ShoppingCart:
- int shipGroupIndex and
- String shipmentMethodTypeId
instead of the latter String only in earlier versions.

Minilang Script calls to setShipmentMethodTypeId with a single String Parameter need to be changed.
They now must call setAllShipmentMethodTypeId. This method has been introduced with rev. 1407116.

jleroux: so this was not covered by unit tests, too bad but I don't think I will get enough time to write them :/


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1422814 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 09:28:39 +00:00
Scott Gray 5243297b54 Moved ebay demo data from ecommerce to the ebay component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1422684 13f79535-47bb-0310-9956-ffa450edef68
2012-12-16 20:37:46 +00:00
Scott Gray 97548eeacf Remove a bunch of unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1418650 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 12:06:01 +00:00
Jacques Le Roux cddf0bf2a2 A patch from Naofumi Fukue "Japanese patch" https://issues.apache.org/jira/browse/OFBIZ-5061
Completed Japanese translation

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1412997 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 17:35:16 +00:00
Jacques Le Roux 825d838801 A patch from Nicolas Malin for "ProjectMgr : list project's company, error on form to resolve currency" https://issues.apache.org/jira/browse/OFBIZ-5071
To solve this issue, I change bsh script to groovy script.
After the patch application, on the same page, the currency appears near "Your Company Name Here [Company]"

jleroux: actually I did a bit more and rewrote it using safe-navigation and elvis operator, nice to read hèè ;)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1408408 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 18:59:38 +00:00
Jacques Le Roux abf0b0bd69 An enhanced patch from John McDonald for "Customer's Shipment Address Not Assigned to Dropship Purchase Orders" https://issues.apache.org/jira/browse/OFBIZ-3883
When buying drop ship products from the demo store the customer's shipping address is not saved with the purchase order, so the shipping address cannot be provided to the drop ship supplier. 

Steps to Reproduce:
* From the DropShip Category add "DropShip from BigSupplier" and "DropShip from DemoSupplier" to your cart. 
* Login as admin
* Use the one page checkout to order the products

Resulting Order: 
https://demo-trunk.ofbiz.apache.org:8443/ordermgr/control/orderview?orderId=WSCO10002
The purchase orders WS10003 and WS10004 are associated correctly with the order items, but as the shipping groups don't have addresses, the purchase orders don't have either.

Expectation:
All Shipment groups should have the shipping address assigned.

Actual:
Only the first shipment group has the shipping address assigned. 


jleroux: thanks to Paul Foxworthy's help I rather removed than deprecate the old methods and replaced them where relevant

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1407116 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 15:15:04 +00:00
Erwan de Ferrieres 6e89c2109d Upgrading to latest stable Apache lucene version
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1405428 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 21:50:23 +00:00
Jacques Le Roux 8bc466970e A patch from Naofumi Fukue "Japanese patch" https://issues.apache.org/jira/browse/OFBIZ-5061
Got an issue merging GeoData_JP.xml with Subclipse, using Toirtoise solved it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1403746 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 15:48:42 +00:00
Adrian Crum 20da833966 Improved the FIXME comment in my last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1401573 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 07:46:39 +00:00
Adrian Crum 58b92c1c5d Commented out a bad ECA in the Example component that was causing exceptions to be thrown in the updateExample service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1401254 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 11:40:51 +00:00
Scott Gray 6356519ce5 Replace more misc. webSiteId retrievals with calls to WebSiteWorker.getWebSiteId(request). Deprecated CatalogWorker.getWebSiteId(request) and CatalogWorker.getWebSite(request).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1400626 13f79535-47bb-0310-9956-ffa450edef68
2012-10-21 11:27:10 +00:00
Scott Gray 86091fb1eb Replaced direct access to webSiteId from the servlet context attributes with calls to WebSiteWorker.getWebSiteId(request)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1400601 13f79535-47bb-0310-9956-ffa450edef68
2012-10-21 08:53:04 +00:00
Jacques Le Roux b9d43e4325 A patch from Leon for "correct BIRT_VIEWER_SCRIPTLIB_DIR configuration" https://issues.apache.org/jira/browse/OFBIZ-5053
Birt has been move to specialpurpose but BIRT_VIEWER_SCRIPTLIB_DIR in web.xml is still configured to framework.

jleroux: while checking I found also an error in  birt/documents/Birt.xml and while at it I also commit a tiny part of OFBIZ-4941 in birt/ofbiz-component.xml because it breaks the help.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1400463 13f79535-47bb-0310-9956-ffa450edef68
2012-10-20 14:46:49 +00:00
Adrian Crum 9f63a28d6c Fixed broken UI in hhfacility component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1400392 13f79535-47bb-0310-9956-ffa450edef68
2012-10-20 08:53:27 +00:00
Jacques Le Roux 18bb9d7c44 Extended from a Tom Burns's patch at https://issues.apache.org/jira/browse/OFBIZ-4851
To reproduce:
1. In Catalog Manager select the Products menu
2. Click find
3. Click product id GZ-1006-1
4. Click Locations tab
5. In Add Facility Location screenlet select Web Store Warehouse from the Facility Id drop-down list
6. In the Location Seq Id pop up window select Facility Id Web Store Warehouse click find.
7. Select a Location Id
8. In Add Facility Location click Add

Expected: Add location to product record
Actual:
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen component://common/widget/CommonScreens.xml#GlobalDecorator: java.lang.IllegalArgumentException: Return value from use-when condition eval was not a Boolean: null [null] on the field facilityName of form UpdateProductFacilityLocations (Return value from use-when condition eval was not a Boolean: null [null] on the field facilityName of form UpdateProductFacilityLocations)

jleroux: I found some other same cases and fixed them the same way

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1399539 13f79535-47bb-0310-9956-ffa450edef68
2012-10-18 07:14:35 +00:00
Sascha Rodekamp 3e3504df29 - Upgrade Timepicker to version 1.0.5
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1399128 13f79535-47bb-0310-9956-ffa450edef68
2012-10-17 07:01:03 +00:00
Sascha Rodekamp 7c538389de Upgrade jQuery to Version 1.8.2
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1398800 13f79535-47bb-0310-9956-ffa450edef68
2012-10-16 13:55:23 +00:00