Commit Graph
27737 Commits
Author SHA1 Message Date
Jacques Le Roux 27ed54789e Improved: Upgrade Tomcat from 9.0.26 to 9.0.27
(OFBIZ-11249)

Update to Commons Daemon 1.2.2 to pick up the fix for a regression in Commons 
Daemon 1.2.0 and 1.2.1 that triggered a crash on startup when running on a 
Windows OS that had not been fully updated.

That's where you see how the Tomcat team takes care of their users :)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868437 13f79535-47bb-0310-9956-ffa450edef68
2019-10-14 10:27:21 +00:00
Jacques Le Roux e27022b5cd Implemented: Providing utilities for integration tests
(OFBIZ-11247)

First step to simply using "userLogin" in tests

Thanks: Mathieu for the idea on dev ML

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868436 13f79535-47bb-0310-9956-ffa450edef68
2019-10-14 09:59:31 +00:00
Jacques Le Roux 12073747f5 Improved: Unit test case for service - createAcctgTransEntry
(OFBIZ-9004)

Thanks: Deepak Nigam for initial patch and Suraj for Groovy conversion

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868433 13f79535-47bb-0310-9956-ffa450edef68
2019-10-14 08:57:32 +00:00
Jacques Le Roux b541490ba6 Improved: no functional change
Just better English in message

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868424 13f79535-47bb-0310-9956-ffa450edef68
2019-10-14 07:20:56 +00:00
Jacques Le Roux 2f3fd5a62f Fixed: Merge UrlRegexpTransform and OfbizUrlTransform classes
(OFBIZ-11229)

OFBIZ-4361 depends on this issue. Here is a first version, the main identified 
point was when the request isn't present (email send, service call) the website 
isn't pull from context. This solves this aspect

Thanks: Nicolas for the patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868395 13f79535-47bb-0310-9956-ffa450edef68
2019-10-13 10:37:08 +00:00
Jacques Le Roux 940e386de4 Improved: Unit test case for service - ProcessRepairReplacementReturn
(OFBIZ-8869)

OrderTests.groovy has been splitted in other files, this test fits in 
OrderReturnTests.groovy

Thanks: Avnindra Sharma for initial test and Suraj for Groovy conversion

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868389 13f79535-47bb-0310-9956-ffa450edef68
2019-10-13 09:54:04 +00:00
Jacques Le Roux 4eb321b8a1 Improved: Unit test case for service - ProcessRefundReturnForReplacement
(OFBIZ-8868)

OrderTests.groovy has been splitter in other files, this test fits in 
OrderReturnTests.groovy

Thanks: Avnindra Sharma for initial test and Suraj for Groovy conversion

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868388 13f79535-47bb-0310-9956-ffa450edef68
2019-10-13 09:32:19 +00:00
Jacques Le Roux 3745506c50 Improved: Unit test case for service - sendOrderConfirmation
(OFBIZ-8507)

Move to Groovy before deciding on moving OrderNotificationTests.groovy 
from order to ecommerce or moving EmailOrderScreens from ecommerce to order 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868341 13f79535-47bb-0310-9956-ffa450edef68
2019-10-12 13:46:13 +00:00
Jacques Le Roux 0bd6bf919b Fixed: NotSerializableException after uploading images to an order
(OFBIZ-11123)

I found that using in r1866259 the same fix than Si Chen used in OFBIZ-750 was 
wrong. The code just above this fix is

{code:java}
if (obj instanceof Serializable) {
    reqAttrMap.put(name, obj);
}
{code}

The problem with this code is that if does not handle inner Maps which may 
contain a non Serializable Object. So the solution is rather to get one level
deeper and apply the same. We can then remove the harcoded lines with 
"uploadedFile" and "_REQUEST_HANDLER_" below. Then all possible cases are handled
as long as we have not inner-inner-Maps




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868298 13f79535-47bb-0310-9956-ffa450edef68
2019-10-11 16:45:16 +00:00
Jacques Le Roux 750b51259e Improved: Add a discussion feature in order detail view for following
communication about the order (mail, phone etc.)
(OFBIZ-11210)

Adds missing ASL2 header

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868197 13f79535-47bb-0310-9956-ffa450edef68
2019-10-09 18:16:08 +00:00
Jacques Le Roux 42cb5c5dcc Improved: Update build.gradle to the latest dependencies
(OFBIZ-11245)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868194 13f79535-47bb-0310-9956-ffa450edef68
2019-10-09 14:06:47 +00:00
Pawan Verma c0141b568d Improved: Convert AutoAcctgAdminTests Unit Test from XML to Groovy
(OFBIZ-11243)

Thanks: Jacques Le Roux for the review and test.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868167 13f79535-47bb-0310-9956-ffa450edef68
2019-10-09 04:45:21 +00:00
Jacques Le Roux 530cf61808 Improved: Improve the job search view with a better limit and a default sort
(OFBIZ-11241)

Adds a 50 items limit by default instead of 20
Adds a default sort on -runtime to have a look on the lasts jobs executed

Thanks: Carl Demus 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868140 13f79535-47bb-0310-9956-ffa450edef68
2019-10-08 15:56:00 +00:00
Jacques Le Roux ad7597bfda Improved: Refactor OrderTests.groovy and separate order and return test services
(OFBIZ-11239)

Forgot to commit OrderNotificationTests.groovy in last commit

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868128 13f79535-47bb-0310-9956-ffa450edef68
2019-10-08 11:04:22 +00:00
Jacques Le Roux 3231d9178a Improved: Refactor OrderTests.groovy and separate order and return test services
(OFBIZ-11239)

Based on Suraj's patch
This also moves
  testQuickReturnOrder to OrderReturnTests.groovy 
  the requirement tests in OrderRequirementTests.groovy
  renames OrderTest.groovy to OrderNotificationTests.groovy since it contains
  only that
  renames test-case for OrderTests.xml "order-tests-xml"
 
Test pass

Thanks: Suraj for initial patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868126 13f79535-47bb-0310-9956-ffa450edef68
2019-10-08 10:50:18 +00:00
Suraj Khurana 75787be0c8 Improved: Unit test case for service - createPaymentContent.
(OFBIZ-9093)
Thanks: Deepak Nigam for reporting and Yogesh Naroliya for providing the updated patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868057 13f79535-47bb-0310-9956-ffa450edef68
2019-10-06 12:22:40 +00:00
Suraj Khurana d832a00464 Improved: Unit test case for service - AutoAssignRequirementToSupplier.
(OFBIZ-8934)
Thanks: Avnindra Sharma for reporting, Anushi Gupta for providing the updated patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868055 13f79535-47bb-0310-9956-ffa450edef68
2019-10-06 11:49:34 +00:00
Suraj Khurana a844251683 Improved: Unit test case for service - ProcessRefundReturn.
(OFBIZ-8867)
Thanks: Avnindra Sharma for reporting, Rushikesh Mawal for providing the updated patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868054 13f79535-47bb-0310-9956-ffa450edef68
2019-10-06 11:46:24 +00:00
Suraj Khurana 1c485f417d Improved: Unit test case for service - GetReturnItemInitialCost.
(OFBIZ-8862)
Thanks: Avnindra Sharma for reporting, Anushi Gupta for providing the updated patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868053 13f79535-47bb-0310-9956-ffa450edef68
2019-10-06 11:40:55 +00:00
Suraj Khurana c8344766ff Improved: Unit test case for service - ProcessRefundImmediatelyReturn.
(OFBIZ-8865)
Thanks: Avnindra Sharma for reporting, Anushi Gupta for providing the updated patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868052 13f79535-47bb-0310-9956-ffa450edef68
2019-10-06 11:35:43 +00:00
Suraj Khurana 37d15f844f Improved: Unit test case for service - ProcessCrossShipReplacementReturn.
(OFBIZ-8864)
Thanks: Avnindra Sharma for reporting, Anushi Gupta for providing the updated patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868051 13f79535-47bb-0310-9956-ffa450edef68
2019-10-06 11:32:50 +00:00
Suraj Khurana a067386be7 Improved: Unit test case for service - ProcessCreditReturn.
(OFBIZ-8863)
Thanks: Avnindra Sharma for reporting, Rushikesh Mawal for providing the updated patch and Jacques for review.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868050 13f79535-47bb-0310-9956-ffa450edef68
2019-10-06 11:29:23 +00:00
Suraj Khurana 790021e2ce Improved: Unit test case for service - CheckCreateOrderRequirement.
(OFBIZ-8935)
Thanks: Avnindra Sharma for reporting and Anushi Gupta for providing the updated patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868049 13f79535-47bb-0310-9956-ffa450edef68
2019-10-06 11:23:38 +00:00
Suraj Khurana 932d955043 Improved: UI of the order status section in status column of order items table on orderview screen.
(OFBIZ-11106)
Thanks: Chandrashekhar Dhakad for reporting the issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868048 13f79535-47bb-0310-9956-ffa450edef68
2019-10-06 11:18:40 +00:00
Mathieu Lirzin 13188ab6cc Improved: Refactor ‘ComponentConfig.ClasspathInfo’
(OFBIZ-11192)(OFBIZ-11238)

The validity checks have been moved at construction time instead of
relying on client code to ensure that the class path information are
sound.

A new ‘ComponentConfig.ClasspathInfo.Type’ enum has been defined to
improve type safety.

The location of the class path information is now using a
‘java.nio.file.Path’ class instance.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868030 13f79535-47bb-0310-9956-ffa450edef68
2019-10-05 16:30:12 +00:00
Mathieu Lirzin f628dec8be Improved: Specify that the component dependencies are never ‘null’
(OFBIZ-11238)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868029 13f79535-47bb-0310-9956-ffa450edef68
2019-10-05 16:23:21 +00:00
Mathieu Lirzin 60f7041c3d Improved: Use ‘Path’ for component config ‘rootLocation’ attribute
(OFBIZ-11192)

The method ‘ComponentConfig#getRootLocation’ has been removed
and replaced by ‘ComponentConfig#rootLocation’.

The callers have been adapted.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868028 13f79535-47bb-0310-9956-ffa450edef68
2019-10-05 16:20:32 +00:00
Mathieu Lirzin c982df72c2 Improved: Rewrite ‘Classpath’ class
(OFBIZ-11237)

This class has been moved to ‘org.apache.ofbiz.base.container’ to be
able to reduce its visibility to the “package” level.

The API has been change to avoid unnecessary checks and simpler dataflow.

There was no need to provide thread safety so the ‘synchronized’
blocks have been removed.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868027 13f79535-47bb-0310-9956-ffa450edef68
2019-10-05 15:44:21 +00:00
Jacques Le Roux 4ee663356e Improved: no functional change
In r1868022 I added the POS_SALES_CHANNEL was suggested in OFBIZ-10965. Actually
that was wrong. Tt's already in PosTypeData.xml though with a wrong sequenceId

This fixes it


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868023 13f79535-47bb-0310-9956-ffa450edef68
2019-10-05 14:23:17 +00:00
Jacques Le Roux 37672315c1 Improved: no functional change
Adds the POS_SALES_CHANNEL was suggested in OFBIZ-10965 and could be useful


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868022 13f79535-47bb-0310-9956-ffa450edef68
2019-10-05 14:18:33 +00:00
Jacques Le Roux 11d1ec6a5f Improved: no functional change
As reported by Ethan Vos on user ML, sometimes the alias between wget and 
Invoke-WebRequest is not present on Windows 7, better keep it simple!

Also removes the comment:
  Anyway I believe this should be only used in dev environment
which is no longer true

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867998 13f79535-47bb-0310-9956-ffa450edef68
2019-10-05 08:05:54 +00:00
Mathieu Lirzin ee77723168 Improved: Remove unnecessary semicolon
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867986 13f79535-47bb-0310-9956-ffa450edef68
2019-10-04 14:37:45 +00:00
Mathieu Lirzin 0ba98fb97b Improved: Remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867985 13f79535-47bb-0310-9956-ffa450edef68
2019-10-04 14:36:33 +00:00
Mathieu Lirzin b37bd7ab79 Improved: Add missing generic types
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867984 13f79535-47bb-0310-9956-ffa450edef68
2019-10-04 14:35:07 +00:00
Pawan Verma 8a4d0e7bcc Reverted: User is unable to update the review of product
(OFBIZ-10799)

Reverted rev 1867904

Thanks: Deepak Dixit for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867972 13f79535-47bb-0310-9956-ffa450edef68
2019-10-04 10:15:20 +00:00
Nicolas Malin c619dd5491 Improved: Use website to generate links on email content
(OFBIZ-4361)
OFBiz contains a nice process to generate link through WebSite entity.
Unfortunately when you send an email, the standard service didn't propage the website 
to the body content email, so we can't use it.

This improvement is needed on forgot password process to resolve the correct uri 
and go back on good OFBiz component: where the user requested for a new password.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867960 13f79535-47bb-0310-9956-ffa450edef68
2019-10-04 07:32:48 +00:00
Pawan Verma abebcb6375 'At least one phone number is required below' message should be uneditable while creating new customer using partymgr
(OFBIZ-11113)

Thanks: Arpit Mor for report and Saurabh Dixit for the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867937 13f79535-47bb-0310-9956-ffa450edef68
2019-10-03 12:36:38 +00:00
Jacques Le Roux 1b1f1b7262 Improved: Unit test case for service - sendOrderCompleteNotification
(OFBIZ-8812)

As Suraj somehow mentioned at https://markmail.org/message/zlf5chufefekb5r2, 
we can use the same ticket while converting the test to Groovy

Tests pass

Thanks: Avnindra Sharma for the initial patch (here converted to Groovy)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867936 13f79535-47bb-0310-9956-ffa450edef68
2019-10-03 12:17:36 +00:00
Pawan Verma ec56797af7 Fixed: Check run payment(A/P) transactions not getting available for reconciliation
(OFBIZ-10796)

Check run payment group transactions don't get available for Financial Account reconciliation. Though the financial account balance gets updated during the A/P check run process, the system must allow the user with an additional step of reconciling the transactions.

The cause of this is that the financial account transaction doesn't get created in the 'Created' status and has an 'Approved' status. An approved status financial transaction directly updates the financial account balance and thus don't appear in the list of the transactions to be reconciled.

Thanks: Chinmay Patidar for your contribution and Pierre Smits for the review.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867930 13f79535-47bb-0310-9956-ffa450edef68
2019-10-03 12:05:21 +00:00
Jacques Le Roux 795b855e60 Improved: Unit test case for service - sendOrderPayRetryNotification
(OFBIZ-8813)

As Suraj somehow mentioned at https://markmail.org/message/zlf5chufefekb5r2, 
we can use the same ticket while converting the test to Groov

Tests pass

Thanks: Avnindra Sharma for the initial patch (here converted to Groovy)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867929 13f79535-47bb-0310-9956-ffa450edef68
2019-10-03 12:03:37 +00:00
Jacques Le Roux 8f9e79b31e Improved: Unit test case for service - SendOrderBackorderNotification
(OFBIZ-8810)

As Suraj somehow mentioned at https://markmail.org/message/zlf5chufefekb5r2, 
we can use the same ticket while converting the test to Groov

Tests pass

Thanks: Avnindra Sharma for the initial patch (here converted to Groovy)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867928 13f79535-47bb-0310-9956-ffa450edef68
2019-10-03 11:46:18 +00:00
Jacques Le Roux 00b64c903e Improved: Convert testSendOrderChangeNotification to Groovy
(OFBIZ-11233)

Tests pass

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867927 13f79535-47bb-0310-9956-ffa450edef68
2019-10-03 11:30:28 +00:00
Jacques Le Roux cc698a468c Improved: Unit test case for service - testSendOrderChangeNotification
(OFBIZ-8811)

Removes duplicated order-tests-data-load

Tests pass

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867926 13f79535-47bb-0310-9956-ffa450edef68
2019-10-03 10:49:07 +00:00
Jacques Le Roux 02fee75365 Improved: Unit test case for service - testSendOrderChangeNotification
(OFBIZ-8811)

Fixes to right place

There were no reasons to add an OrderTest.xml file, 
testSendOrderChangeNotification fits in OrderTests.xml

It was even wrong because of duplicated order-test test-case

Tests pass

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867921 13f79535-47bb-0310-9956-ffa450edef68
2019-10-03 09:28:37 +00:00
Pawan Verma e1e849339a Fixed: Sales By Store Report not working
(OFBIZ-11119)

Added Null check to avoid Exception.

Thanks: Chandan Khandelwal for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867910 13f79535-47bb-0310-9956-ffa450edef68
2019-10-03 07:33:42 +00:00
Pawan Verma 27c116de11 Fixed: User is unable to update the review of product
(OFBIZ-10799)

Redirected request with eligible parameters so that If the user had a search using any parameter result should persist after the update.

Thanks: Ashish Sharma for report and Pierre Smits and Jacques Le Roux for the review.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867904 13f79535-47bb-0310-9956-ffa450edef68
2019-10-03 07:02:59 +00:00
Jacques Le Roux b76d95d72a Improved: Unit test case for service - testSendOrderChangeNotification
(OFBIZ-8811)(OFBIZ-9647)(OFBIZ-9671)

While working on this I stumbled upon an issue related with 
webSiteId="OrderEntry" well related by Ratnesh Upadhyay in OFBIZ-9647.

Unlike him I decided not to remove the webSiteId="OrderEntry" entries but to
replace them by webSiteId="WebStore"

Tests pass!


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867889 13f79535-47bb-0310-9956-ffa450edef68
2019-10-02 14:46:00 +00:00
Suraj Khurana 74ab587899 Improved: Added backward compatibility for inputParamEnumId in promotion management.
(OFBIZ-11105)
Thanks: Lalit Dashora for reporting and providing the patch, Jacques Le Roux for review.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867879 13f79535-47bb-0310-9956-ffa450edef68
2019-10-02 10:05:22 +00:00
Jacques Le Roux 134064de34 Improved: no functional change
Formats Javadoc

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867875 13f79535-47bb-0310-9956-ffa450edef68
2019-10-02 08:28:48 +00:00
Suraj Khurana 13a4d8e776 Improved: Unit test case for service - AssociatedRequirementWithRequestItem.
(OFBIZ-8933)
Thanks: Avnindra Sharma for reporting and Anushi Gupta for providing the updated patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1867874 13f79535-47bb-0310-9956-ffa450edef68
2019-10-02 08:01:23 +00:00