Commit Graph
27737 Commits
Author SHA1 Message Date
Jacques Le Roux 1e99cffcb1 Completes descriptions of ant targets which have portoffset parameter
Completes code in Config.java for start-debug only (adds "start-debug" to pick start.properties when portoffset is used). 
The rest of the changes is only refactoring to have the replacement to pick start.properties only in getInstance()

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1574404 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 09:46:26 +00:00
Hans Bakker fcba881889 some missing files from commit 1573884
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1574400 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 09:20:26 +00:00
Jacques Le Roux ae2d3dedf3 Running OFBiz with start-batch, stopping it then or checking its status was missing, this completes these aspects.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1574201 13f79535-47bb-0310-9956-ffa450edef68
2014-03-04 21:02:13 +00:00
Jacques Le Roux d7ab220111 Thanks to Pierre on dev ML, reverts a wrong commit (was already OK, misread)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1574127 13f79535-47bb-0310-9956-ffa450edef68
2014-03-04 16:33:38 +00:00
Jacques Le Roux 935c8d3e47 Better i10n
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1574088 13f79535-47bb-0310-9956-ffa450edef68
2014-03-04 13:13:20 +00:00
Jacques Le Roux 0f80353735 A patch from Leila Mekika for "Problems in single form when use-when and position are used together" https://issues.apache.org/jira/browse/OFBIZ-5552
The service "renderSingleFormString" check the previous field position to see if the current field must be displayed after the previous field or on a new line. 

When the previous field has a use-when condition that is not valid, it remains as the currentFormField and the next field is compared with this "not rendered" field. If the position of this previous field is the same as the current field, the current is displayed on the next line.


To reproduce, add in a single form the three fields below :

<field position="1" name="first"><display description="first"/></field>
<field position="2" name="second" use-when="true"><display description="second"/></field>
<field position="2" name="second" use-when="false"><display description="second"/></field>

The field second is rendered on a new line

jleroux: this second version works correctly

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1574019 13f79535-47bb-0310-9956-ffa450edef68
2014-03-04 10:37:01 +00:00
Hans Bakker f19c64ed29 adding budget services, screens and forms
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1573884 13f79535-47bb-0310-9956-ffa450edef68
2014-03-04 06:32:14 +00:00
Jacques Le Roux 2f430df170 While at it (OFBIZ-4953), considering the current effort to remove Javolution use when possible, I have replaced few
FastList.<EntityExpr>newInstance(); 
by 
  new ArrayList<EntityExpr>();



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1573647 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 18:13:20 +00:00
Jacques Le Roux a1b8574656 While at it (OFBIZ-4953) replaces a deprecated delegator.removeAll()
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1573646 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 18:11:58 +00:00
Jacques Le Roux cb9dff2f40 A patch from Deepak Dixit for "Order item status change issue." https://issues.apache.org/jira/browse/OFBIZ-4953
Steps to regenerate issue:
- Crate an SO/PO with more then one line item.
- Partially ship/received any one order item.
- After partial ship/receive order should be in approve status, one order item in in completed status and another one is in Approved status.
- Change order status to hold.
- Now again approve order.
- After approve all order order except Completed/cancelled item should go in Approved status.
But as per the current behavior completed order item also change to approved status.

Here is the updated patch, this include the cancel received item flow. ITEM_REJECTED status change will be handled by StatusValidChange flow.

jleroux: 
considering the current effort to remove Javolution use when possible, I have replaced 
  FastList.<EntityExpr>newInstance(); 
by 
  new ArrayList<EntityExpr>();

I formatted to use {} around one line code




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1573639 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 17:58:54 +00:00
Jacques Le Roux 6c90b77995 Reverts r1573552
I have applied the wrong patch :/

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1573553 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 13:07:39 +00:00
Jacques Le Roux fc2e25b212 A patch from Deepak Dixit for "Order item status change issue." https://issues.apache.org/jira/browse/OFBIZ-4953
Steps to regenerate issue:
- Crate an SO/PO with more then one line item.
- Partially ship/received any one order item.
- After partial ship/receive order should be in approve status, one order item in in completed status and another one is in Approved status.
- Change order status to hold.
- Now again approve order.
- After approve all order order except Completed/cancelled item should go in Approved status.
But as per the current behavior completed order item also change to approved status.

Here is the updated patch, this include the cancel received item flow. ITEM_REJECTED status change will be handled by StatusValidChange flow.

jleroux: considering the current effort to remove Javolution use when possible, I have replaced 
  FastList.<EntityExpr>newInstance(); 
by 
  new ArrayList<EntityExpr>();


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1573552 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 13:06:04 +00:00
Jacques Le Roux e28ab6bda6 Revert r1573161 (A patch from Leila Mekika for "Problems in single form when use-when and position are used together" https://issues.apache.org/jira/browse/OFBIZ-5552)
This had some side effects, like hiding the top part of the product edit screen

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1573498 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 09:49:34 +00:00
Jacques Le Roux d79ae78453 A patch from Leila Mekika for "Problems in single form when use-when and position are used together" https://issues.apache.org/jira/browse/OFBIZ-5552
The service "renderSingleFormString" check the previous field position to see if the current field must be displayed after the previous field or on a new line. 

When the previous field has a use-when condition that is not valid, it remains as the currentFormField and the next field is compared with this "not rendered" field. If the position of this previous field is the same as the current field, the current is displayed on the next line.


To reproduce, add in a single form the three fields below :

<field position="1" name="first"><display description="first"/></field>
<field position="2" name="second" use-when="true"><display description="second"/></field>
<field position="2" name="second" use-when="false"><display description="second"/></field>

The field second is rendered on a new line

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1573161 13f79535-47bb-0310-9956-ffa450edef68
2014-03-01 12:15:33 +00:00
Jacopo Cappellato e258ad1305 Upgraded lucene component to the latest Lucene release 4.7.0
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1572483 13f79535-47bb-0310-9956-ffa450edef68
2014-02-27 09:27:10 +00:00
Jacques Le Roux df2b2d5381 qa is a better name here, I'm used to the German translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1571996 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 10:37:39 +00:00
Jacques Le Roux b39e278235 Between test and production you might have a QS stage (same than production but not real production). You can't always make silent deployments (also called dark launches) in production...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1571994 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 10:36:20 +00:00
Jacopo Cappellato 4b20e9ecbd This jar file has been removed in rev. 1570622
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1571247 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 11:23:48 +00:00
Jacques Le Roux 7c34d3d8db After reverting r1571198 (there was too much unwanted changes due to my "Save Actions" setting in Eclipse) doing it again with the only changes really wanted
A slightly modified patch from Praveen Agrawal for "The getFeatureIdQtyMap function doesn't include the DISTINGUISHING_FEAT into the featureMap" https://issues.apache.org/jira/browse/OFBIZ-5544

The getFeatureIdQtyMap function in ShoppingCartItem.java doesn't include the DISTINGUISHING_FEAT in featureMap so if we want to calculate the Shipping amount based on Distinguishing feature, this method doesn't return the Distinguishing Feature in Feature Map. If we add DISTINGUISHING_FEAT as productFeatureApplTypeId in filterExprs then the feature map would contain the Distinguishing feature in addition to Standard and Required Feature.

Also in ShoppingCartItem.java, putAdditionalProductFeatureAndAppl method, i think the OrderAdjustment should only be included when the amount is not null.

jleroux: When the amount is null it's now not added in the adjustement (I moved that in the block above where the amount is already tested for null). But the OrderAdjustment is still created because a recurringAmount could still exist . I just added a warning for when both amounts are null. We could decide to not create an adjustement when there are no amounts at all. But I preferred a warning, because it's a weird situation and people could prefer to be aware...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1571219 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 10:33:12 +00:00
Jacques Le Roux a7dedd54c2 Reverts r1571198, there was too much unwanted changes due to my "Save Actions" setting in Eclipse. Better to keep things clear!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1571213 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 10:23:19 +00:00
Jacques Le Roux 206a084de6 Small fix due to Windows 7 behaviour change
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1571207 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 10:02:07 +00:00
Jacques Le Roux ac94d0af5c A slightly modified patch from Praveen Agrawal for "The getFeatureIdQtyMap function doesn't include the DISTINGUISHING_FEAT into the featureMap" https://issues.apache.org/jira/browse/OFBIZ-5544
The getFeatureIdQtyMap function in ShoppingCartItem.java doesn't include the DISTINGUISHING_FEAT in featureMap so if we want to calculate the Shipping amount based on Distinguishing feature, this method doesn't return the Distinguishing Feature in Feature Map. If we add DISTINGUISHING_FEAT as productFeatureApplTypeId in filterExprs then the feature map would contain the Distinguishing feature in addition to Standard and Required Feature.

Also in ShoppingCartItem.java, putAdditionalProductFeatureAndAppl method, i think the OrderAdjustment should only be included when the amount is not null.

jleroux: When the amount is null it's now not added in the adjustement (I moved that in the block above where the amount is already tested for null). But the OrderAdjustment is still created because a recurringAmount could still exist . I just added a warning for when both amounts are null. We could decide to not create an adjustement when there are no amounts at all. But I preferred a warning, because it's a weird situation and people could prefer to be aware...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1571198 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 09:29:45 +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
Jacopo Cappellato 0bf26e2829 Upgraded code to avoid a warning for a deprecated Tomcat class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1570641 13f79535-47bb-0310-9956-ffa450edef68
2014-02-21 17:12:29 +00:00
Jacopo Cappellato 9429e947d0 Updates to reflect recent changes to jar for the new tomcat release
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1570640 13f79535-47bb-0310-9956-ffa450edef68
2014-02-21 17:10:06 +00:00
Jacopo Cappellato db1d807f07 Upgrade to Tomcat 7.0.52 (latest bug fix release). I have used the standard release and not the "embedded" version after I have realized (from a conversation with Mark Thomas @ Tomcat and then directly checking the content of each jar) that the embedded jars contain also the J2ee apis that we already have in the OFBiz classpath.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1570639 13f79535-47bb-0310-9956-ffa450edef68
2014-02-21 17:09:19 +00:00
Jacopo Cappellato 0fcd1d38b1 Removed unnecessary jar.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1570622 13f79535-47bb-0310-9956-ffa450edef68
2014-02-21 16:29:53 +00:00
Jacopo Cappellato 52ee5728a4 Upgraded JUEL to 2.2.7 using EL specification 2.2.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1570611 13f79535-47bb-0310-9956-ffa450edef68
2014-02-21 15:48:26 +00:00
Jacopo Cappellato b03a75796b Fixed path: the appserver component has been moved from the framework to the specialpurpose folder.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1570595 13f79535-47bb-0310-9956-ffa450edef68
2014-02-21 14:53:31 +00:00
Jacopo Cappellato 34d36b583e Fixed MissingPropertyException happening when success method was called in the context of Groovy services: thanks to Paolo Piersant for the bug report and fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1569743 13f79535-47bb-0310-9956-ffa450edef68
2014-02-19 14:09:09 +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
Jacopo Cappellato 731518d2eb A series of cleanups, simplifications and improvements (to leverage some of the features of the recent Tomcat API) to the way that the CatalinaContainer sets up the embedded Tomcat instance.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1568269 13f79535-47bb-0310-9956-ffa450edef68
2014-02-14 13:13:29 +00:00
Jacques Le Roux da772a1d61 A patch from Chris Lombardi for "Void item, quantity update, and discounts don't work for configurable items" https://issues.apache.org/jira/browse/OFBIZ-5535
Void item, quantity update and discounts work off of the sku in the pos.  I fixed it to use the cart index so these operations will work when there are multiple configurations per sku in the cart.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1566273 13f79535-47bb-0310-9956-ffa450edef68
2014-02-09 11:12:11 +00:00
Adrian Crum b6818dd442 Some bug fixes in Mini-language:
1. Updated schema to indicate required attributes.
2. Fixed inconsistent implementation of the alternate delegator feature: https://issues.apache.org/jira/browse/OFBIZ-5531


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1566096 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 18:59:03 +00:00
Adrian Crum c5b041ed6b Update Commons File Upload to 1.3.1.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1565760 13f79535-47bb-0310-9956-ffa450edef68
2014-02-07 18:48:21 +00:00
Jacques Le Roux 301878f4a2 Closes "Upgrade BIRT Runtime to 4.3.1" https://issues.apache.org/jira/browse/OFBIZ-5530
jleroux: what I did:
Replaced all (20) old birt libs by new one provided in the zip Chatree provided
I did not touch any other libs, I checked they were all the same, but the names of Axis 1 libs which were not versionned in the zip. So I removed the related Axis 1 changes in LICENSE and .classpath files


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1565375 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 18:00:18 +00:00
Jacques Le Roux c1dd8efb6c Adds a link to the documentation in wiki
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1564775 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 13:46:09 +00:00
Jacques Le Roux c56f8ede51 Reverts r1564674, last checkout-sdk fails to compile keeps 0.8.8
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1564691 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 09:55:08 +00:00
Jacques Le Roux 4b3a20ac92 Reverts r1564680, keeps geronimo-activation_1.0.2_spec-1.0.jar
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1564686 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 09:18:00 +00:00
Jacques Le Roux fcf3b36468 Updates geronimo-activation to 1.1_spec-1.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1564680 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 08:56:42 +00:00
Jacques Le Roux e16514e1a0 Updates checkout-sdk to 2.5.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1564674 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 08:51:50 +00:00
Jacques Le Roux 9188f42b39 Reverts 1564543, SOAP tests fail with axis2 1.6.2, keep 1.5.2
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1564661 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 08:04:59 +00:00
Jacques Le Roux cad1df87cc Updates axis2-kernel, axis2-transport-http & axis2-transport-local to 1.6.2
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1564543 13f79535-47bb-0310-9956-ffa450edef68
2014-02-04 22:41:27 +00:00
Jacques Le Roux 89f92ff544 Updates geronimo-saaj to _1.3_spec-1.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1564493 13f79535-47bb-0310-9956-ffa450edef68
2014-02-04 21:09:43 +00:00
Jacques Le Roux a5c6ec5daa Updates geronimo-connector & geronimo-transaction to 3.1.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1564473 13f79535-47bb-0310-9956-ffa450edef68
2014-02-04 20:36:34 +00:00
Jacques Le Roux 44087a04f0 Update commons-fileupload to 1.3
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1564463 13f79535-47bb-0310-9956-ffa450edef68
2014-02-04 20:24:14 +00:00
Jacques Le Roux 1021fde8ac When I replaced the deprecated findByPrimaryKey by a finByOne I forgot to put a catch around, this fixes it.
Also removed an useless logError, ServiceUtil.returnError will take care of it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1564113 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 22:33:09 +00:00
Jacques Le Roux 54008dccda A (slightly modified) patch from Ritu Raj Lakhera for "Order return is not refunding the money" https://issues.apache.org/jira/browse/OFBIZ-5528
When we placed an order with two items and generate a return towards one item then code is refunding the money correctly.
But if we again do return for second item then code is not refunding the money because first return-refund process has changed the status of OrderPaymentPreference from 'PAYMENT_SETTLED' to ‘PAYMENT_REFUNDED’.
I think We should create the new OrderPaymentPreference with PAYMENT_REFUNDED status against old OrderPaymentPreference of 'PAYMENT_SETTLED' status at the time of return-refund process. So second return can also refund the money.

In other words we should create the new OrderPaymentPreference for each refund amount as we are doing with Payment entity(processRefundResult PaymentGatewayServices.java).

jleroux: I 
* replaced the deprecated findByPrimaryKey by a finByOne
* replaced Exception GenericServiceException in catch (as it was before)
* reformatted some parts 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1564111 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 22:29:40 +00:00
Jacques Le Roux fdf763a977 Closes "Help screens in Manufacturing" https://issues.apache.org/jira/browse/OFBIZ-4802
This simply follows "HELP_OFBizDocumentationSystem.xml" i18n directives which have been overlooked so far. Of course having all i18n files in the same folder is not very convenient, but at least it works. This files organisation could be reconsidered, I'd need more work...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1563958 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 15:44:46 +00:00
Jacques Le Roux 1f58e57869 No functional changes, just makes things easier to compare
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1563953 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 15:35:48 +00:00