Commit Graph
21879 Commits
Author SHA1 Message Date
Scott Gray 410436ad8a Remove unused variable, looks like a leftover from an iteration to enhanced for lopp conversion
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1418647 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 12:04:18 +00:00
Scott Gray 5df3e3f70b Remove a bunch of unused imports, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1418646 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 12:03:52 +00:00
Scott Gray b9aba41be6 Add missing deprecated annotations
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1418645 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 12:02:14 +00:00
Jacques Le Roux 415ccfc4cc This closes OFBIZ-4833 - Housekeeping of jar files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1417329 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 09:29:07 +00:00
Adam Heath bca838aa2a OPTIMIZE: Now that absolute() does the correct thing for 0, fix
getPartialList() to use absolute(start - 1), instead of working around
the bug itself.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1417213 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 21:54:49 +00:00
Adam Heath 9c7c925a4c OPTIMIZE: Remove the use of numRetrieved as a check to see how much has
been fetched.  Either list.size() could be used, or, even better, just
decrement the number wanted, and continue until everything is fetched.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1417212 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 21:54:42 +00:00
Adam Heath 7228abe497 TYPO: s/numRetreived/numRetrieved/
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1417211 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 21:54:35 +00:00
Adam Heath fc81ed5fb1 FIX: Some jdbc drivers don't like absolute(0), even though this is
allowed.  As such, call beforeFirst() instead.  Technically, these
broken jdbc drivers should have the same kind of work-around.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1417210 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 21:54:28 +00:00
Jacopo Cappellato 1d8613008b Removed reference to the deprecated document in Wiki: https://cwiki.apache.org/confluence/display/OFBADMIN/Libraries+Included+in+OFBiz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1416861 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 10:08:18 +00:00
Jacopo Cappellato 9c680f2362 Added reference for Log4j jar in LICENSE file (OFBIZ-4833).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1416815 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 08:34:27 +00:00
Jacopo Cappellato 4c88c2cef9 Updated name of SLF4J jar in LICENSE file (OFBIZ-4833).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1416813 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 08:27:16 +00:00
Jacques Le Roux 7d40e16168 Put some jars in LICENSE.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1416798 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 07:47:50 +00:00
Jacopo Cappellato a17e2d812b Fixed code that was broken a lot of time ago by commit 883226; this prevented the (seldom used) screen.use-cache attribute to work properly. Thanks to K Sharad Bhushan for the patch (OFBIZ-5080).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1416497 13f79535-47bb-0310-9956-ffa450edef68
2012-12-03 13:05:39 +00:00
Jacopo Cappellato f6244c689f Trivial fixes for some typos in Java comments.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1416451 13f79535-47bb-0310-9956-ffa450edef68
2012-12-03 11:15:44 +00:00
Jacques Le Roux e119c99039 Put some jars in LICENSE. They were introduced with Docbook update to version 1.77.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1416376 13f79535-47bb-0310-9956-ffa450edef68
2012-12-03 08:19:24 +00:00
Jacques Le Roux 2edfa352a2 saxon65.jar was missing in LICENSE (was committed with the update docbook to version 1.77.1 at r1395298)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1416375 13f79535-47bb-0310-9956-ffa450edef68
2012-12-03 08:11:58 +00:00
Jacques Le Roux b6d7e26fe1 A patch from Carsten Schinzer for "Typo in new party-entitymodel" https://issues.apache.org/jira/browse/OFBIZ-5090
The entitymodel.xml for party contains a typo on agreement_facility_appl: it refers to faciliyId instead of facilityId.
This needs urgent fixing as otherwise any DB build done with the wrong definition will generate errors (as the reference is part of a constraint).



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1416366 13f79535-47bb-0310-9956-ffa450edef68
2012-12-03 07:34:29 +00:00
Jacques Le Roux 5d645e4810 This can't work for now because in r1416358 I removed the yuicompressor from OFBiz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1416364 13f79535-47bb-0310-9956-ffa450edef68
2012-12-03 07:30:22 +00:00
Jacques Le Roux 8f275867f9 I missed those in r1412997
A patch from Naofumi Fukue "Japanese patch" https://issues.apache.org/jira/browse/OFBIZ-5061
Complete Japanese translation



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1416360 13f79535-47bb-0310-9956-ffa450edef68
2012-12-03 07:16:35 +00:00
Jacques Le Roux e6ede1ca2e Reverts r1310983 (related to https://issues.apache.org/jira/browse/OFBIZ-4792 )for 2 reasons:
* I missed to put in LICENSE and NOTICE
* It's an issue for Birt, see OFBIZ-5070


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1416358 13f79535-47bb-0310-9956-ffa450edef68
2012-12-03 07:02:38 +00:00
Adam Heath 1b77ee4991 Add (create|update|delete)FacilityAttribute services using
engine=entity-auto.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1415856 13f79535-47bb-0310-9956-ffa450edef68
2012-11-30 21:24:32 +00:00
Adam Heath 12934702ec Add AgreementFacilityAppl entity and screens. There is no code that
deals with the data yet, however.  This is modeled after
AgreementProductAppl minus the price.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1413810 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 20:09:17 +00:00
Adam Heath d3bd1694c2 Ignore generated -min.(css|js) files in flatgrey.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1413809 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 20:08:58 +00:00
Sascha Rodekamp ce90d2929e Replace all getIdName() calls in the MacroFormRenderer class with the central method getCurrentContainerId from the ModelFormField class. This method uses now the FlexibleStringExpander that makes the form widgets able to interpret ${} variables in the id fields
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1413492 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 07:34:56 +00:00
Jacques Le Roux 6dc2929e10 A patch from Sergei Biletnikov "Remote services via XMLRpc ignore the locale which is passed as the service parameter, the default locale is used forever" https://issues.apache.org/jira/browse/OFBIZ-5083
This code replaces the possible locale from parameters by default locale.

// add the locale to the context
context.put("locale", Locale.getDefault());

The solution is simple: firstly check, if we have the locale as the parameter, if no, use the default locale.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1413307 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 09:20:23 +00:00
Jacques Le Roux ecd2de6362 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@1412997 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 17:35:16 +00:00
Jacopo Cappellato 6565a78ee0 OFBIZ-5072 Committed slightly different version of the patch contributed by Rene Frauli: the delegator, dispatcher and security objects are required in the session in multitenant mode.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1411196 13f79535-47bb-0310-9956-ffa450edef68
2012-11-19 14:25:55 +00:00
Jacopo Cappellato 27e1c2cddf Moved debian tools to Attic.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1409880 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 16:50:54 +00:00
Jacques Le Roux db0841345b 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@1408408 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 18:59:38 +00:00
Scott Gray 3d16a02b3f Remove unnecessary null checks
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1407940 13f79535-47bb-0310-9956-ffa450edef68
2012-11-11 11:14:52 +00:00
Scott Gray ffe232ec17 Remove unnecessary null check
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1407939 13f79535-47bb-0310-9956-ffa450edef68
2012-11-11 11:14:44 +00:00
Adrian Crum 417a8c1d4e Screen widget XML schema cleanup first pass: remove unnecessary attribute groups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1407843 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 16:07:58 +00:00
Adrian Crum 91e7eba820 Minor improvement to the Flat Grey theme - style JQuery so it matches the rest of the screen. This still needs the ui-icons*.png files updated, but I don't have the tools to do that.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1407740 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 10:21:35 +00:00
Anil Patel d746bcc3eb [OFBIZ-5063] Stock Move is not working correctly when reservation record has quantity not available value at bulk location. Thanks Albert Mayo and Amardeep for working on fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1407634 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 21:06:26 +00:00
Jacques Le Roux f7b662bc46 A patch from Nicolas Malin for "Entity-Auto Engine : manage [create|lastModified]Date field" https://issues.apache.org/jira/browse/OFBIZ-5010
When a entity have fields createDate, lastModifiedDate, createByUserLogin and updateByUserLogin, the entity-auto engine set them.

Also makes all entities that have one of fields [create|lastModified][Date|ByUserLogin] to be consistent and have four fields

Impacted entityies:

    [Quote|Order|Return]Adjustment
    OrderPaymentPreference
    AcctgTrans
    GlReconciliation
    ValueLinkKey


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1407578 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 18:26:19 +00:00
Adrian Crum 8973e51b8c Flat Grey theme fixes - added missing images, removed JQuery font.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1407417 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 10:38:48 +00:00
Adrian Crum ac537e5ac7 Flat Grey theme enhancement - minify JS and CSS files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1407413 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 10:22:47 +00:00
Adrian Crum c50c86f405 Added capability to include visual themes in the build.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1407349 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 03:58:16 +00:00
Jacques Le Roux 57845a44b7 I missed this in r1407116 for https://issues.apache.org/jira/browse/OFBIZ-3883
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1407142 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 15:55:46 +00:00
Jacques Le Roux 3a7f4e320d 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@1407116 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 15:15:04 +00:00
Scott Gray d8dcd7e690 Correct operation to determine if the expiry date is an even number in the badExpireEvenProcessor method, was using divide instead of modulo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1407002 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 10:38:50 +00:00
Jacques Le Roux 3717bc137b A patch from Leon for "slight update to ShoppingCartEvents.loadCartFromQuote to avoid NPE exception" https://issues.apache.org/jira/browse/OFBIZ-5068
There's a quote within that one product has been released and no valid price set. If try to create order from this quote, NPE exception raised.

=> Check the result return from runSync("loadCartFromQuote")

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1406727 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 17:36:07 +00:00
Erwan de Ferrieres a0ff02ece1 Updating files related to commit 1405325 - upgrade to PDFBox 1.7.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1405429 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 21:54:19 +00:00
Erwan de Ferrieres 97d5a93b23 Upgrading to latest stable Apache lucene version
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1405428 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 21:50:23 +00:00
Jacques Le Roux a1bffbab94 Closes Upgrade PDFBox to 1.7.1 https://issues.apache.org/jira/browse/OFBIZ-5066
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1405325 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 12:43:30 +00:00
Erwan de Ferrieres 4e60dbe157 Upgrading to latest tomcat release 7.0.32
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1405298 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 07:09:41 +00:00
Jacques Le Roux b46c7a2c06 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@1403746 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 15:48:42 +00:00
Jacques Le Roux e381dea7a3 Better French label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1403655 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 10:35:01 +00:00
Jacques Le Roux 0cc786f9a3 Thanks to Roberto Benítez Monje's report: "Ofbiz uses a reserved word in a Party View definition" https://issues.apache.org/jira/browse/OFBIZ-5062
Inside the component Part, the view-entity 'PartyIdentificationAndParty' uses the reserved word of MAXDB "PI". Without change it the Party component doesn't work properly   

jleroux: I just changed form PI to PIN and PIM where relevant

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1403370 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 15:33:39 +00:00
Jacques Le Roux af2f71f48f Import/export https://issues.apache.org/jira/browse/OFBIZ-5047
This fix a random issue which appears sometimes on Ubuntu (it seems beginning from Ubuntu 12.04, maybe related to Open jdk)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1402766 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 09:26:03 +00:00