Commit Graph
14503 Commits
Author SHA1 Message Date
Jacques Le Roux f5ce5c0d58 A patch from Pierre Smits for "Enhance PartyTypeAttr with a description field" https://issues.apache.org/jira/browse/OFBIZ-6738
Currently there is no Uom selector in the terms form. And the display field in the terms list form only shows the uomId.

jleroux: I noticed that none of the *TypeAttr entities has a description field, why not adding it to them all?
Pierre: This patch addresses the issue in all applicable entities, and replaces the previously provided patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1743422 13f79535-47bb-0310-9956-ffa450edef68
2016-05-11 20:22:09 +00:00
Jacques Le Roux 4b364d1e5a A patch from Ravi Lodhi for "Order term description is not getting set on adding and updating new order term" https://issues.apache.org/jira/browse/OFBIZ-7053
Steps to regenerate (Create a new order) -
1) Go to Order Entry (in Order Manager) and add the necessary detail and continue.
2) Add Order items and click on Finalize Order.
3) Continue with Order Entry Ship-To Settings.
4) Add any shipment method and continue.
5) On Order Terms Page add a term with description. Term description is not getting saved. Same case with the update term functionality.

As said Florian Montalbano:
I looked into the issue and found the root of the problem :
There are multiple functions prototype to add a term to an order and the one used wasn't using the "description" field.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1743411 13f79535-47bb-0310-9956-ffa450edef68
2016-05-11 19:10:10 +00:00
Jacques Le Roux 98b75ccbb5 A modified patch from Pawan Verma for "Add a drop-down for Tax Auth Combined Id in Product Price Creation screen" - https://issues.apache.org/jira/browse/OFBIZ-5697
Currently in Product Price Creation screen there are 3 fields:

    Tax Auth Geo ID
    Tax In Price
    Tax Auth Combined Id

We should either show only

    Tax Auth Geo ID
    Tax In Price
    using lookups like in Product Store screen and remove the Tax Auth Combined Id field
    or keep it and use a combined Tax Auth Geo ID+Tax In Price drop-down for it. Then we could use the same in Product Store screen to be consistent


A patch for the improvements. Removed "Tax Auth Combined Id" field and display lookups for "Tax Authority Party ID" & "Tax Auth Geo ID" fields as showing on the product store screen.

jleroux: I also modified the createProductPrice service implementation (by removing taxAuthCombinedId handling in inlineHandlePriceWithTaxIncuded) and the documentation (comments about taxAuthCombinedId in the service definition)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1743254 13f79535-47bb-0310-9956-ffa450edef68
2016-05-10 19:31:23 +00:00
Jacques Le Roux 7ac846c93e A patch from Ingo Wolfmayr for "Update empty blog article text does not work" https://issues.apache.org/jira/browse/OFBIZ-7062
When creating a blog-entry with empty article text, it is not possible to add update the article. Content entry is created but not assigned to contentId of blog-entry. The attached patch fixes this.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1743230 13f79535-47bb-0310-9956-ffa450edef68
2016-05-10 17:12:05 +00:00
Jacques Le Roux be402d8a4e A patch from Ingo Wolfmayr for "CMS does not store "Long text"" https://issues.apache.org/jira/browse/OFBIZ-7050
When you create content via CMS 
(Content --> Websites --> [Select Website for example WebStore] --> CMS )
the text content does not get stored. No error message available.

TextData was not submitted. Additionally I corrected a Javascript call as the used function signature does not exist.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1743100 13f79535-47bb-0310-9956-ffa450edef68
2016-05-10 05:51:38 +00:00
Jacques Le Roux f2835ca2e9 Improves Amardeep's patch for OFBIZ-7058 - "New password set in forgot password workflow not works sometimes and gives error"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1743027 13f79535-47bb-0310-9956-ffa450edef68
2016-05-09 19:03:56 +00:00
Jacques Le Roux 76e8bb65cd A patch from Amardeep Singh Jhajj for "New password set in forgot password workflow not works sometimes and gives error" https://issues.apache.org/jira/browse/OFBIZ-7058
Sometimes, on clicking the reset password link from "New password sent" email we get a reset password page and on saving the new password we get following error. 
[java] org.apache.shiro.crypto.CryptoException: Unable to execute 'doFinal' with cipher instance [javax.crypto.Cipher@3ea85a47].
     [java] 	at org.apache.shiro.crypto.JcaCipherService.crypt(JcaCipherService.java:462) ~[shiro-core-1.2.3.jar:1.2.3]
     [java] 	at org.apache.shiro.crypto.JcaCipherService.crypt(JcaCipherService.java:445) ~[shiro-core-1.2.3.jar:1.2.3]
     [java] 	at org.apache.shiro.crypto.JcaCipherService.decrypt(JcaCipherService.java:390) ~[shiro-core-1.2.3.jar:1.2.3]
     [java] 	at org.apache.shiro.crypto.JcaCipherService.decrypt(JcaCipherService.java:382) ~[shiro-core-1.2.3.jar:1.2.3]
     [java] 	at org.ofbiz.entity.util.EntityCrypto$ShiroStorageHandler.decryptValue(EntityCrypto.java:282) ~[ofbiz-entity.jar:?]
     [java] 	at org.ofbiz.entity.util.EntityCrypto.doDecrypt(EntityCrypto.java:147) ~[ofbiz-entity.jar:?]
     [java] 	at org.ofbiz.entity.util.EntityCrypto.decrypt(EntityCrypto.java:126) ~[ofbiz-entity.jar:?]
     [java] 	at org.ofbiz.webapp.control.LoginWorker.login(LoginWorker.java:389) ~[ofbiz-webapp.jar:?]



I found that sometimes encrypted password string (Base64 String created from EntityCrypto's encrypt method) contain "+".
So on clicking the reset password link from email we get a reset password page and on saving the new password we get this error. The reason is "+" is converted to " " 
after url decoding. For example: Below URL having encrypted token with "+"

https://localhost:8443/partymgr/control/passwordChange?USERNAME=DemoUser&password=CcXuJ3vDfba0J7A8xO+X5A==&forgotPwdFlag=true&tenantId=

We can encrypt the token using URL encoder so that it is taken as it is in URL decoding.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1743025 13f79535-47bb-0310-9956-ffa450edef68
2016-05-09 18:53:40 +00:00
Divesh Dutta ed6cc5017f [OFBIZ-7052] Now Comment added against any quote item is getting reflected on Quote Item UI. Thanks Swapnil Shah for reporting the issue and Thanks Mohammad Kathawala for providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742742 13f79535-47bb-0310-9956-ffa450edef68
2016-05-07 19:04:17 +00:00
Divesh Dutta daf5d2214c (OFBIZ-7046) Fixed: Non existent Bulk Item throwing errors while its respective qty get updated. Actually system tries to get SupplierProduct data when updating quantity. When productId is not available for item in cart, added check in code so that system should not fetch SupplierProduct record. Thanks Swapnil Shah for reporting the issue and Devanshu Vyas for providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742741 13f79535-47bb-0310-9956-ffa450edef68
2016-05-07 18:38:36 +00:00
Divesh Dutta d946418021 (OFBIZ-7045) Fixed: Non existent item when added as Bulk Item while creating purchase order is throwing null pointer exception. Thanks Swapnil Shah for reporting the issue and thanks Devanshu Vyas for providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742737 13f79535-47bb-0310-9956-ffa450edef68
2016-05-07 17:33:34 +00:00
Pranay Pandey 09c1604f7e OFBIZ-7044 - Removed redundant entries of handlers from controllers where common-controller is already included. Thanks Amardeep Singh Jhajj for reporting this improvement and providing patch for the same.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742714 13f79535-47bb-0310-9956-ffa450edef68
2016-05-07 14:09:23 +00:00
Pranay Pandey 640b0cd22b OFBIZ-7057 - Fixed UiLabel for the GeneratedDescription in ordermgr after applying promotion which was missing due to the usage from EcommerceUiLabels. Thanks Swapnil M Mane for reporting this issue and providing patch for the same.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742712 13f79535-47bb-0310-9956-ffa450edef68
2016-05-07 13:45:37 +00:00
Divesh Dutta 0d4ddca2be (OFBIZ-7047) Fixed: Un-shipped sales orders are getting listed for returns while creating sales return for another matching address order, now only thoes orders are shown which are partially shipped or completely shipped. Thanks Swapnil Shah for reporting the issue and Jagpreet Kaur for the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742711 13f79535-47bb-0310-9956-ffa450edef68
2016-05-07 13:35:35 +00:00
Deepak Dixit 9f279ed58b (OFBIZ-7043) Remove commented code labeled as "TO BE REMOVED" since 2008.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742503 13f79535-47bb-0310-9956-ffa450edef68
2016-05-06 06:48:38 +00:00
Deepak Dixit 84ad66589e (OFBIZ-7021) Renamed content component ftl file name from lower case to upper case pattern.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742457 13f79535-47bb-0310-9956-ffa450edef68
2016-05-05 18:11:54 +00:00
Deepak Dixit 22257c6996 (OFBIZ-7021) Renamed accounting component ftl file name from lower case to upper case.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742358 13f79535-47bb-0310-9956-ffa450edef68
2016-05-05 05:30:40 +00:00
Jacques Le Roux 74277595d3 "Continue the work on the form widget grid element" - https://issues.apache.org/jira/browse/OFBIZ-7029
Oops this one was missing

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742200 13f79535-47bb-0310-9956-ffa450edef68
2016-05-03 21:47:19 +00:00
Jacques Le Roux 57b7d64caf No functional change, moves the FindFixedAssetOptions form back to its original position
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742199 13f79535-47bb-0310-9956-ffa450edef68
2016-05-03 21:17:50 +00:00
Jacques Le Roux 6d5dd1c5ba Things got totally wrong with r1742196 which contained much more than expected.
This reverts things which should not have been committed

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742197 13f79535-47bb-0310-9956-ffa450edef68
2016-05-03 21:03:11 +00:00
Jacques Le Roux 31ef1f9186 "Continue the work on the form widget grid element" - https://issues.apache.org/jira/browse/OFBIZ-7029
Completes in screens the changes done in forms at r1741873. I then replaced few form lists by grids, where it was possible to do it with regexp.
Also complete StatsForms.xml to use only grids and "searchList" form in ecommerce ContentForms to NOT use grid (not called in screen)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742196 13f79535-47bb-0310-9956-ffa450edef68
2016-05-03 20:50:10 +00:00
Jacques Le Roux b92b1c0f69 A patch from Pierre Smits for "Adding Uom descriptor for selection and display in invoice forms" https://issues.apache.org/jira/browse/OFBIZ-7032
Currently there is no Uom selector in the terms form. And the display field in the terms list form only shows the uomId.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742103 13f79535-47bb-0310-9956-ffa450edef68
2016-05-03 11:38:42 +00:00
Jacques Le Roux ea10b89ab9 A better fix, thanks to Deepak. I just used "null" instead of "void" which was weird to me (maybe a legacy from BSh)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742097 13f79535-47bb-0310-9956-ffa450edef68
2016-05-03 11:29:03 +00:00
Jacques Le Roux 780457fa86 A patch from Pierre Smits for "Add links to edit/delete a term, for instance from the list" https://issues.apache.org/jira/browse/OFBIZ-6866
This patch addresses the visibility of the 'add/edit' terms form. Additionally it reorders the sequence of the roles form and removes a wrong screenlet title.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742087 13f79535-47bb-0310-9956-ffa450edef68
2016-05-03 10:42:53 +00:00
Jacques Le Roux 44e7df3d7a Fixes an issue found by chance. This was changed from bsh to groovy by r1613432 but does not work. I tried many variants but none works, all return
groovy.lang.MissingPropertyException: No such property: payment for class: script....
So back to origin :/

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1742018 13f79535-47bb-0310-9956-ffa450edef68
2016-05-02 18:12:08 +00:00
Jacques Le Roux e586f71289 A patch from Ingo Wolfmayr for "Agreement Search List requires partyIdFrom/partyIdTo or fails" - https://issues.apache.org/jira/browse/OFBIZ-7030
How tot test!
Create a new agreement and fill the following fields:

    partyTo (for ex. DemoCustomer)
    Role Type Id From (for ex. Client)
    Role Type Id To(for ex. Bill-to customer)
    Agreement Type ID (for ex. Sales)
    Description: test

error: Error in form [ListAgreements] calling service with name [getPartyNameForDate]: org.ofbiz.service.ServiceValidationException: The following required parameter is missing: [getPartyNameForDate.partyId]java.lang.IllegalArgumentException: Error in form [ListAgreements] calling service with name [getPartyNameForDate]: org.ofbiz.service.ServiceValidationException: The following required parameter is missing: [getPartyNameForDate.partyId]

I create a generic agreement (from company to all customers with no specific agreements) - I could not access it after creation.

This more a workaround than a fix but it works and is better than an error message. Missing fields will be set to empty field. Service will be called and return nothing.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1741960 13f79535-47bb-0310-9956-ffa450edef68
2016-05-02 11:02:36 +00:00
Jacques Le Roux b3d642f68b Revert r1741925 It was not a correct solution:
======================================================================================================================================================
A patch from Ingo Wolfmayr for "Agreement Search List requires partyIdFrom/partyIdTo or fails" - https://issues.apache.org/jira/browse/OFBIZ-7030

How tot test!
Create a new agreement and fill the following fields:

    partyTo (for ex. DemoCustomer)
    Role Type Id From (for ex. Client)
    Role Type Id To(for ex. Bill-to customer)
    Agreement Type ID (for ex. Sales)
    Description: test

error: Error in form [ListAgreements] calling service with name [getPartyNameForDate]: org.ofbiz.service.ServiceValidationException: The following required parameter is missing: [getPartyNameForDate.partyId]java.lang.IllegalArgumentException: Error in form [ListAgreements] calling service with name [getPartyNameForDate]: org.ofbiz.service.ServiceValidationException: The following required parameter is missing: [getPartyNameForDate.partyId]

I create a generic agreement (from company to all customers with no specific agreements) - I could not access it after creation.

I added a not-empty check.
======================================================================================================================================================

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1741930 13f79535-47bb-0310-9956-ffa450edef68
2016-05-02 08:24:48 +00:00
Jacques Le Roux 717278a82f A patch from Ingo Wolfmayr for "Agreement Search List requires partyIdFrom/partyIdTo or fails" - https://issues.apache.org/jira/browse/OFBIZ-7030
How tot test!
Create a new agreement and fill the following fields:

    partyTo (for ex. DemoCustomer)
    Role Type Id From (for ex. Client)
    Role Type Id To(for ex. Bill-to customer)
    Agreement Type ID (for ex. Sales)
    Description: test

error: Error in form [ListAgreements] calling service with name [getPartyNameForDate]: org.ofbiz.service.ServiceValidationException: The following required parameter is missing: [getPartyNameForDate.partyId]java.lang.IllegalArgumentException: Error in form [ListAgreements] calling service with name [getPartyNameForDate]: org.ofbiz.service.ServiceValidationException: The following required parameter is missing: [getPartyNameForDate.partyId]

I create a generic agreement (from company to all customers with no specific agreements) - I could not access it after creation.

I added a not-empty check.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1741925 13f79535-47bb-0310-9956-ffa450edef68
2016-05-02 07:35:38 +00:00
Deepak Dixit c2f0e1ea2f Removed some unused imports.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1741923 13f79535-47bb-0310-9956-ffa450edef68
2016-05-02 05:15:55 +00:00
Jacques Le Roux a57f9779b5 "Continue the work on the form widget grid element" - https://issues.apache.org/jira/browse/OFBIZ-7029
Replaces few form lists by grids, where it was possible to do it with regexp. For a reason I still don't understand I could not do it for all...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1741873 13f79535-47bb-0310-9956-ffa450edef68
2016-05-01 17:36:52 +00:00
Jacques Le Roux 2a39f125f3 "Continue the work on the form widget grid element" - https://issues.apache.org/jira/browse/OFBIZ-7029
This 
Updates the XSD documentation
Removes the list type when the grid element is used

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1741866 13f79535-47bb-0310-9956-ffa450edef68
2016-05-01 14:45:46 +00:00
Jacques Le Roux 97b11d893e An enhanced patch from Christian Carlow for "Add ability to change Routing statuses" - https://issues.apache.org/jira/browse/OFBIZ-6307
Only ROU_ACTIVE statusItem exists for statusTypeId ROUTING_STATUS.  Adding another such as ROU_INACTIVE would allow for more control over routings.  Doing so entails adding the statusId to the find and edit screens.
ROU_INACTIVE was add as a StatusItem and currentStatusId was added to the routing find form as a multi-drop down

jleroux: I added use of common/webcommon/includes/setMultipleSelectJs.ftl and French labels

Oops, just spotted that I applied the patch I attached to the issue, since then setMultipleSelectJs.ftl has moved! This fixes the previous commit

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1741817 13f79535-47bb-0310-9956-ffa450edef68
2016-04-30 21:24:03 +00:00
Jacques Le Roux f5d8feac88 An enhanced patch from Christian Carlow for "Add ability to change Routing statuses" - https://issues.apache.org/jira/browse/OFBIZ-6307
Only ROU_ACTIVE statusItem exists for statusTypeId ROUTING_STATUS.  Adding another such as ROU_INACTIVE would allow for more control over routings.  Doing so entails adding the statusId to the find and edit screens.
ROU_INACTIVE was add as a StatusItem and currentStatusId was added to the routing find form as a multi-drop down

jleroux: I added use of common/webcommon/includes/setMultipleSelectJs.ftl and French labels

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1741789 13f79535-47bb-0310-9956-ffa450edef68
2016-04-30 18:43:10 +00:00
Jacques Le Roux 9d6072b3d8 Changes for "Use SecureRandom instead of Random where appropriate, and randomUUID for externalKey" - https://issues.apache.org/jira/browse/OFBIZ-7028
Because using SecureRandom comes with a cost, I have identified the places where it's reasonable to keep the non secured Random (like tests, internal sequences, etc.).
Ant to use UUID.randomUUID to generate the external link id

Also, though there are no real proven vulnerabilities, I decided to backport as much as possible since it's now public.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1741684 13f79535-47bb-0310-9956-ffa450edef68
2016-04-29 18:54:49 +00:00
Jacques Le Roux 4f243ac529 No functional changes, removes duplicate ";"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1741674 13f79535-47bb-0310-9956-ffa450edef68
2016-04-29 17:36:31 +00:00
Jacques Le Roux ee9b9306f8 Fixes a typo reported by Florian Montalbano on user ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1741465 13f79535-47bb-0310-9956-ffa450edef68
2016-04-28 15:49:04 +00:00
Jacques Le Roux b681f251df A patch from Ingo Wolfmayr for "Email-Notification send multiple times" - https://issues.apache.org/jira/browse/OFBIZ-7025
Enable E-Mail Notifications
Create order (trigger sendOrderConfirmation)

--> createOrderNotificationLog fails due to missing PK in "entity-auto"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1741393 13f79535-47bb-0310-9956-ffa450edef68
2016-04-28 08:47:12 +00:00
Deepak Dixit 209b95cbbf (OFBIZ-6823) relocate .ftl files in the framework/common component
Thanks Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740497 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 12:28:46 +00:00
Deepak Dixit d1f0ef3831 (OFBIZ-6814) Moved changeOrgPartyId.groovy to WEB-INF/actions, also removed unused ofbizsetup/viewcontact.ftl file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740481 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 11:11:23 +00:00
Deepak Dixit abeaeb2a58 (OFBIZ-6821) relocate .ftl files in the product component
Thanks Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740477 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 10:34:35 +00:00
Deepak Dixit b94997d33a (OFBIZ-6820) relocate .ftl files in the party component
Thanks Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740464 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 08:33:46 +00:00
Deepak Dixit 9235bd0d23 (OFBIZ-6820) Renamed party/templates folder to party/template.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740461 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 08:24:17 +00:00
Deepak Dixit cee0263cef (OFBIZ-6815) relocate .ftl files in the content component
Thanks Pierre for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740446 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 06:12:08 +00:00
Jacques Le Roux a48542881e A patch from Supatthra Nawicha for "party search form does not properly collapse sections when none|postal|telecom|other selected" reported by Wai at https://issues.apache.org/jira/browse/OFBIZ-7013
Go to: /partymgr/control/findparty
Click on either none, postal, telecom,other radiobutton.
NHotice that after clicking on another radiobutton, the section that was previously expanded is not automatically collapsed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740072 13f79535-47bb-0310-9956-ffa450edef68
2016-04-20 09:09:16 +00:00
Jacques Le Roux 6455c9382c A sightly modified patch from Wai for "ofbizsetup create product store cause exception, remove use of temp file to load entity data" - https://issues.apache.org/jira/browse/OFBIZ-5949
The exception is caused by foreign key constraint violation between ShipmentCostEstimate and  CarrierShipmentMethod entities.
Currently, when creating a new product store using ofbizsetup component default data associated with the product store is loaded into the database using the following steps.
1. read default data from entity xml file and replace specific items in the read data and write to temp file.
2. use service=parseEntityXmlFile to load the processed file into database.
The issue with this method is that the temp file can present a problem when ofbiz is operating in multitenant mode.
The solution is to modify the relevant services so that no temp file needs generated.

jleroux: I simply used an UtilValidate.isNotEmpty() method in  EntitySaxReader class

I was initially reluctant to these changes because you can no longer load the content of the GlAccountData.xml and ProductStoreData.xml files, or the files themselves, using the import XML feature of webtools. But those files are specific to the setup component, so they should not be missed, they are supposed to be used in this context only.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740008 13f79535-47bb-0310-9956-ffa450edef68
2016-04-19 21:09:14 +00:00
Jacques Le Roux 63723a1120 A patch from Pierre Smits for "Have configuration options for workeffort" https://issues.apache.org/jira/browse/OFBIZ-6294
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739996 13f79535-47bb-0310-9956-ffa450edef68
2016-04-19 20:13:43 +00:00
Jacques Le Roux 3ab4953e5a Modified patches from Pierre Smits for "Have configuration options for catalog webapp" https://issues.apache.org/jira/browse/OFBIZ-6192
These patches address the integration of CatalogSystemPropertyData.xml in the ofbiz-component.xml of the Product component, this is for the catalog webapp (based on catalog.properties)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739967 13f79535-47bb-0310-9956-ffa450edef68
2016-04-19 17:38:36 +00:00
Jacques Le Roux a1a21799a5 Patches from Pierre Smits for "Have configuration options for ordermgr" https://issues.apache.org/jira/browse/OFBIZ-6191
The patches address the integration of OrderSystemPropertyData.xml in the ofbiz-component.xml of the Order component.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739909 13f79535-47bb-0310-9956-ffa450edef68
2016-04-19 11:48:23 +00:00
Mridul Pathak 43f0fe2a34 Reverting r1739457 as tests does not pass.
[OFBIZ-7008] Support to add condition for Geo Location in Promo Engine.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739637 13f79535-47bb-0310-9956-ffa450edef68
2016-04-17 19:07:21 +00:00
Nicolas Malin ab000418de Uprade the Apache Tika Library :
tika-parsers-1.7.jar -> tika-parsers-1.12.jar
    tika-core-1.7.jar -> tika-core-1.12.jar

This update induce updating of :

    pdfbox-1.8.5.jar -> pdfbox-1.8.11.jar
    jempbox-1.8.5.jar -> jempbox-1.8.11.jar
    fontbox-1.8.5.jar -> fontbox-1.8.11.jar
    commons-compress-1.9.jar -> commons-compress-1.11.jar

And pdfbox-1.8.11.jar need the introduction of :

    jce-jdk13-154.jar under MIT licence (www.bouncycastle.org)

Apache Tika is needed to test the screenfop on issue OFBIZ-6497. So I move all library from applications/content/lib/ to framework/base/lib/ to didn't create a dependency between widget and content 
Related issue OFBIZ-7015

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739551 13f79535-47bb-0310-9956-ffa450edef68
2016-04-17 08:26:45 +00:00
Mridul Pathak 78c467706a [OFBIZ-6781] Incorrect order adjustment after order item is cancelled. Thanks Vyom Jain for reporting the issue and Suraj Khurana for providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739463 13f79535-47bb-0310-9956-ffa450edef68
2016-04-16 13:59:54 +00:00