SagePay payment gateway integrated. All the gateway parameters are configurable using the Payment gateway configuration, also the transaction types that are available in sagepay are configurable.
I moved the httpclient httpcore jars to base/lib (also new jcip-annotations-1.0.jar)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882103 13f79535-47bb-0310-9956-ffa450edef68
CacheLineTable and LRUMap do not synchronize on the same lock
* CacheLineTable synchronization use the CacheLineTable instance monitor
* LRUMap synchronization use the LRUMap instance monitor
the LRUMap (memoryTable) can be updated concurrently by 2 differents threads
* one in the CacheLineTable #put or CacheLineTable#remove
* another in the CacheLineTable#get
this leads to the corruption of the LRUMap which is not thread-safe
the CacheLineTable#get should be synchronized or the LRUMap should be replaced by a thead safe collection
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882072 13f79535-47bb-0310-9956-ffa450edef68
Steps to produce the bug:
1) Place a sales Order,
2) Go through Verify Pick process
3) Go to Packing Screen
4) Enter OrderId and then click on "Weigh Package Only button ."
5) Text boxes to enter weights and dimension of packages should render.
Thanks Divesh for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@882068 13f79535-47bb-0310-9956-ffa450edef68
Some translations for the accounting component, and for the CommonUiLabels file
I have also changed some other labels in ProductEntityLabels.xml and ProductUiLabels.xml while I was at it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881987 13f79535-47bb-0310-9956-ffa450edef68
Replaced invoiceId demo10001 with 8008 since only invoices in the ready status can be supplied in the invoiceId list
Remove invoice 8001 from the list since the previous test sets it's status to cancelled
Fixes the auto-tests-createPaymentAndPaymentGroupForInvoices test
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881980 13f79535-47bb-0310-9956-ffa450edef68
Prior to this all Fixed Asset derived CostComponent GL entries were ending up in the error journal.
Fixes the testAcctgTransForActualManufacturingCost test.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881738 13f79535-47bb-0310-9956-ffa450edef68
Removed log statement I left behind in a previous commit
Fixed testAcctgTransForActualManufacturingCost to properly lookup the production run and task to be completed
Start the task before attempting to complete it and added missing status from changeProductionRunTaskStatus call
Fixed wrong component productIds, they must have changed in the demo data at some point
Note the test still fails but it is now failing for the right reasons
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881725 13f79535-47bb-0310-9956-ffa450edef68
Steps for reproduce error
1) Go to partymgr find screen
2) Select customer which have geoPointId [partyId : DemoCustomer ]
3) Update postal address which have geolocation
4) Remove all Contact Purposes and Go Back to profile screen
5) It generate an error due to contactMechPurposeType is undefined
I have extended the use of this patch to 2 other templates
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881713 13f79535-47bb-0310-9956-ffa450edef68
Improvements to PaymentGroup UI.
Fixed issue with List of deposit slips displaying under FinAccount tab are not associated to FinAccount.This list should contain only those deposit slips which are created for selected FinAccount.
Added ordering, Show deposit slips in search result in descending order of effective date.
Thanks Sumit Pandit for providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881708 13f79535-47bb-0310-9956-ffa450edef68
In a certain scenario the application freezes, no more AJP connector threads are available.
After analysis the lock seems to come from very slow response time in GenericDelegator.clearAllCaches and particularily in CacheLineTable.keySet.
Furthermore, looking at org.ofbiz.base.util.cache.UtilCache, the class seems to have some synchronisation problems:
1) utilCacheTable.put calls are not synchronized
2) findCache synchronizes access to utilCacheTable while only getting an element which has big performance impact since utilCacheTable is static
3) clearExpiredFromAllCaches and clearAllCaches does not synchronize while clearCachesThatStartWith does, why ?
The patch synchronizes correctly the access to utilCacheTable and optimises findCache
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881194 13f79535-47bb-0310-9956-ffa450edef68