Commit Graph
22107 Commits
Author SHA1 Message Date
Wei Zhang ef072df4e8 OFBIZ-6762 Show JGrowl alert when using ajax submit form
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1719250 13f79535-47bb-0310-9956-ffa450edef68
2015-12-11 04:06:43 +00:00
Jacques Le Roux 627bfd42d3 A patch from Pierre Smits for "Wrong purchase invoice item type for product type IDs RAW_MATERIAL, GOOD" https://issues.apache.org/jira/browse/OFBIZ-6763
Reported by Michael Powacht
System incorrectly derives invoice item type INV_FPROD_ITEM (instead of  PINV_FPROD_ITEM, for example) in purchase invoices for purchase orders with products of type RAW_MATERIAL and GOOD. As a result, the GL account derivation is incorrect as well where a revenue GL account gets debited instead of GL "Uninvoiced Shipment Receipts". 
The incorrect accounting entry posted is:
DR Revenue (as a result of invoice item type INV_FPROD_ITEM)
CR A/P
The correct entry should be:
DR Uninvoiced Shipment Receipts (derived from PINV_FPROD_ITEM)
 CR A/P
It seems the above is caused by missing entries in table invoice_item_type_map where 
INVOICE_ITEM_MAP_KEY should contain RAW_MATERIAL and GOOD and/or PRODUCT_ORDER_ITEM.
The above symptom does not affect the Goods Receipt Transactions, which gets correctly posted as:
DR Inventory
CR Uninvoiced Shipment Receipts

jleroux: Rupert Howell gave the missing data in a comment, Pierre the patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1719094 13f79535-47bb-0310-9956-ffa450edef68
2015-12-10 15:17:02 +00:00
Wei Zhang 96432d976d OFBIZ-6761 The action of EditExampleBackgroundSubmit form is not correct when creating a example
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1719024 13f79535-47bb-0310-9956-ffa450edef68
2015-12-10 08:20:29 +00:00
Nicolas Malin ce97afbf6b patch from Pierre Smits : Remove tooltip CommonNotModifRecreat from display fields (OFBIZ-6696), thanks for the screen clean Pierre
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1718970 13f79535-47bb-0310-9956-ffa450edef68
2015-12-09 21:24:44 +00:00
Jacques Le Roux 285d320a36 According to http://www.w3.org/International/questions/qa-http-and-lang Content-Language should not be used, moreover why only "en"?
This is part of a work for "Improves HTTP header" https://issues.apache.org/jira/browse/OFBIZ-6759

This is a 1st step. I will check if all the other http-equiv metas of bizznesstime/includes/header.ftl are still recommended/useful and move/refactor/enhance/improve them as a basis for a new header FTL template to create in framework/image and to include it "where needed" 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1718864 13f79535-47bb-0310-9956-ffa450edef68
2015-12-09 14:22:04 +00:00
Jacques Le Roux 5a7fd2624d More info about dependency-check command line option. Ref in wiki: https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=61331040
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1718162 13f79535-47bb-0310-9956-ffa450edef68
2015-12-06 11:26:00 +00:00
Jacques Le Roux d0fc35e09c Updates to reflect the current state on the demo VM
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1718155 13f79535-47bb-0310-9956-ffa450edef68
2015-12-06 10:36:42 +00:00
Jacques Le Roux b3f2a59616 No functional changes: arranges imports
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1718153 13f79535-47bb-0310-9956-ffa450edef68
2015-12-06 09:06:48 +00:00
Jacques Le Roux ffde76d282 Removes useless and vulnerable hadoop-hdfs-2.2.0.jar - OFBIZ-6756
The hadoop-hdfs-2.2.0.jar lib has been introduced with the solr component but the hadoop-hdfs-2.6.0.jar is also there and if hadoop-hdfs-2.2.0.jar is removed OFBiz compiles w/o issues. Without hadoop-hdfs-2.2.0.jar the tests pass.

Note: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-3627

I also changed wrong entries in specialpurpose/LICENCE from 2.2.0 to 2.6.0

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1718127 13f79535-47bb-0310-9956-ffa450edef68
2015-12-05 22:04:39 +00:00
Jacques Le Roux 58cbed1366 Updates Spring Framework to 4.2.3, rename org.springframework.*-3.1.0.M2.jar to spring-*-4.2.3.jar as it's the name used by Spring. OFBIZ-6754
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1718109 13f79535-47bb-0310-9956-ffa450edef68
2015-12-05 17:39:44 +00:00
Jacques Le Roux bcf00752dd Upgrades Axis2 to 1.6.3, with its dependencies on Axiom 1.2.9 and Neethi 3.0.2 - OFBIZ-5801
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1718023 13f79535-47bb-0310-9956-ffa450edef68
2015-12-04 20:30:39 +00:00
Jacques Le Roux 13c114cee7 Updates Tomcat to 7.0.65 - OFBIZ-6752
Though disputed CVE-2013-2185 indicates a possible vulnerability with jasper.jar. Better safe than sorry: I will backport to all concerned branches (R14 and R13)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1717760 13f79535-47bb-0310-9956-ffa450edef68
2015-12-03 13:26:23 +00:00
Wei Zhang 60b776e46b OFBIZ-6736 The attribute paginate-style of form widget dose not work
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1717710 13f79535-47bb-0310-9956-ffa450edef68
2015-12-03 04:46:57 +00:00
Jacques Le Roux 5643f45dc8 Fixes "POI security fix" https://issues.apache.org/jira/browse/OFBIZ-6751
Updates POI from poi-3.10.1-20140818.jar to poi-3.13-20150929.jar

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1717682 13f79535-47bb-0310-9956-ffa450edef68
2015-12-02 21:24:35 +00:00
Gil Portenseigne 9a26099c85 Fix compilation error since OFBIZ-6748 improvements in TransactionUtil.java,
Testsuite entity-test successfull

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1717333 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 21:36:30 +00:00
Jacques Le Roux 3b84a03fab Updates commons collections from 3.2.2 to 4.1 - OFBIZ-6748
Even if we are covered from the Java Object possible deserialisation exploit by the 3.2.2 version, since it's easy to update, this issue to update the trunk to the last available release.

I updated the .classpath file by hand, but kept the tabs in it, so I could move misplaced entries to their right alphabetical places.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1717247 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 13:01:47 +00:00
Jacques Le Roux 8d14919821 Temporary workaround which should be used by anyone responsible for OFBiz security until OFBIZ-6568 is fixed. To get the contrast-rO0.jar see https://github.com/Contrast-Security-OSS/contrast-rO0
In r1717058 I missed to add start-batch-secure and both-secure

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1717180 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 05:23:29 +00:00
Jacques Le Roux a42222ad33 Temporary workaround which should be used by anyone responsible for OFBiz security until OFBIZ-6568 is fixed. To get the contrast-rO0.jar see https://github.com/Contrast-Security-OSS/contrast-rO0
Note that we are safe from an exploit using the commons collections see OFBIZ-6726. The demos will be using contrast-rO0.jar starting this night.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1717058 13f79535-47bb-0310-9956-ffa450edef68
2015-11-29 13:08:27 +00:00
Jacques Le Roux 0dd553ec96 A modified patch from Harsha Chadhar for "New feature to reclaim a user account - Using Security Questions" https://issues.apache.org/jira/browse/OFBIZ-4983
jleroux: the issue description is quite lengthy so I will summarise it here, please refer to the Jira issue for details.
"When a customer creates an account on eCommerce site, s/he will also need to answer a security question. This security question then can be used by the user to reclaim her/his account in case s/he forgets her/his password. If the user correctly answers the required security question while reclaiming her/his account, her/his password will be sent through email notification. This part would work in the same way as the existing functionality of email password (forget password)."

The description was actually more ambitious (several questions, possibility for users to create own questions) but AFAIK these parts have not been implemented.

Apart updating the patch which did not merge, I got 2 majors issues (and few others I will not report here) I bypassed with workarounds.

Unlike Harsha, and as I reported earlier in the issue, I never got the username (userLoginId) back when using hidden parameters in the request body (not in requestParameters, ie UtilHttp.getParameterMap(request)), nor actually any parameters. This is maybe due to my OS (Windows7 was XP before) or my email client (Outlook Express then, now Thunderbird) or even my SMTP configuration (I used my ISP SMTP server) but most probably because I did it all on my sole machine (localhost). I tried to understand what was happening to request body parameters with http://www.telerik.com/fiddler, but finally gave up because it's even more complicated when https is in the picture. So I decided to rather use parameters in the URL (Query string). It's a bit less safe, though the password is OFBiz encrypted, and should be replaced. But it's safe enough because only the user should receive this message and even if the message is sniffed during its journey it should be hard to decrypt the password!

Harsha used the SecurityExtUiLabels.xml (created by ashish at r1618415) in securityext component but there is already a SecurityextUiLabels.xml in common component. Since I use Windows OFBiz was unable to retrieve the labels from SecurityExtUiLabels.xml since I guess it looked into a SecurityextUiLabels.xml. So I renamed a SecurityExtUiLabels.xml to EmailPassword.xml.










git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1716915 13f79535-47bb-0310-9956-ffa450edef68
2015-11-27 20:37:15 +00:00
Nicolas Malin 37631cd9fa convert createContentRole from simple to entity-auto. It's already linked to ensurePartyRole service, relate issue OFBIZ-6745
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1716542 13f79535-47bb-0310-9956-ffa450edef68
2015-11-25 20:55:44 +00:00
Jacques Le Roux 0dd95cedbf A patch from Anne Jessel for "Entity ECAs not triggered correctly when using Delegator.storeAll() method" https://issues.apache.org/jira/browse/OFBIZ-3847
As reported by  Martin Kreidenweis 
The conditions don't work when updating (not creating) entities using the Delegator.storeAll() method. E.g. the following condition does not work:
<eca entity="Product" operation="create-store" event="return">
        <condition field-name="autoCreateKeywords" operator="not-equals" value="N"/>
        <action service="indexProductKeywords" mode="sync" value-attr="productInstance"/>
</eca>
The indexProductKeywords service is called anyway when the product is updated and the autoCreateKeywords was "N" and stays "N". It works correctly for newly created products. 
The problem is in the method GenericDelegator.storeAll(), where unchanged field values are not passed down to the store() method. The store method calls the ECA engine, which does not receive the unchanged values at all and thus cannot evaluate the EECA conditions correctly. 

Scott's comment:We could consider having EntityEcaCondition.eval() perform a db lookup if any of the fields it needs to evaluate are missing. If they are missing it could fully populate the entity with the missing fields so that a lookup is only required at most once per delegator operation. If no ECA conditions require any missing fields then the lookup wouldn't be performed, so the performance penalty would only be incurred when necessary.


Anne: I've created a patch modeled after Scott's suggestion. I'd appreciate someone reviewing it. It does work for me, however I am concerned that it might fail when the value of a field that is part of the EECA condition is being changed from non-null to null using GenericDelegator.storeAll, because of the way storeAll works. There may be a simple solution I've missed.

jleroux: After reviewing  and waiting for Anne's feedback, I commit because even if in some cases it would not work it's at least better than current situation

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1716319 13f79535-47bb-0310-9956-ffa450edef68
2015-11-25 08:15:42 +00:00
Nicolas Malin e48fc92759 convert entities crud service from simple to entity-auto for :
* WebSiteRole
* WebSitePathAlias
* WebSiteContentType
* WebSiteContent
* WebSite
* DataResourcePurpose
* DataResourceMetaData
* OtherDataResource
* AudioDataResource
* VideoDataResource
* ImageDataResource
* DataResource (update/delete)
* ContentApproval
* ContentRevisionItem
* ContentRevision
I also move some service definition from file services.xml to services_content.xml for ContentApproval, ContentRevisionItem and ContentRevision
relate issue OFBIZ-6745

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1716271 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 22:21:53 +00:00
Jacques Le Roux 6ebc90e694 Implements "Can not display product category name in Unicode." https://issues.apache.org/jira/browse/OFBIZ-6739
Rerported by Thanakrit Wongyued
I found problem to display product category name in Unicode (Thai UTF-8) . The problem is services in CategoryContentWrapper are create content mimeType in "text/html". Then i try to fixed this problem by replace "text/html" with "text/html; charset=utf-8". After that i recompile and restart OFBiz the problem is disappear.

jleroux: uses a new defaultMimeType content property, defaulting to "text/html; charset=utf-8", retrieved by EntityUtilProperties.getPropertyValue()


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1716261 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 21:10:24 +00:00
Jacques Le Roux ed280c6052 Reverts r1715506, I crossed many issues, reported on dev ML and OFBIZ-6655
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1716036 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 06:11:19 +00:00
Nicolas Malin ac1614d04f convert entities crud service from simple to entity-auto for :
* DataResourceAttribute
* ContentRole (not for create will set on second step)
* ContentMetaData
* ContentOperation
* ContentPurpose
* ContentPurposeOperation
* ContentAttribute
* ContentKeyword
* ContentType
* ContentAssocType
* ContentAssocPredicate
* ContentPurposeType
I also move some service definition from file services.xml to services_content.xml for all entities that concern content
relate issue OFBIZ-6745

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715960 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 21:26:33 +00:00
Nicolas Malin 51a98077a7 Convert Survey entites CRUD service from simple to entity-auto, related to issue OFBIZ-6744.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715788 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 12:32:47 +00:00
Nicolas Malin ec00f23292 complete commit r1710727 on OFBIZ-6354 that adding new ftl macros renderFormatHeaderOpen and renderFormatHeaderClose on htmlFromMacroLibrary.ftl. This commit adding these macro on textFormMacroLibrary.ftl, xmlFormMacroLibrary.ftl and csvFormMacroLibrary.ftl. The unit test widgettests now pass without failure
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715756 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 10:42:55 +00:00
Jacques Le Roux 9b94344fed A completed patch from Christian Carlow for "Replace EditProductAssoc ftl with widgets" https://issues.apache.org/jira/browse/OFBIZ-6320
jleroux:
Added
    bottom note (in both lists now)
    title="${uiLabelMap.ProductProductId}"
    title="${uiLabelMap.ProductProductIdTo}"
    fromDate <date-time default-value="${nowTimestamp}"
    tooltip="${uiLabelMap.ProductRecreateAssociation}"    
Removed
    EditProductAssoc.ftl
    old screen with ftl ref in screen (commented out by Christian)
    UNUSED FORMS comment
    Product column when same than picked (depend on iterate-section)

I liked the idea of changing the main product using a lookup in edit part.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715755 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 10:40:52 +00:00
Jacques Le Roux 2e95018e59 Better French label, there are plenty similar others but it's OK
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715670 13f79535-47bb-0310-9956-ffa450edef68
2015-11-22 18:28:55 +00:00
Jacques Le Roux 3303370703 Last categories section in e-commerce pages is broken. OFBIZ-6742
jleroux: This initially was my error in r1705417, So I simply reverted the change in r1715536 done for OFBIZ-6742 and also reverted r1705417 in this file. I will check other changes done in r1705417

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715573 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 21:01:52 +00:00
Mridul Pathak d7c01169a4 [OFBIZ-6742] Last categories section in e-commerce pages is broken. Applying patch from OFBIZ-6742. Thanks Amardeep Singh Jhajj for reporting the issue and providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715536 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 15:02:30 +00:00
Mridul Pathak f3a4e33c50 [OFBIZ-6534] Same Billing Address generates an error. Continue button was generating error as well. Applying patch from OFBIZ-6534. Thanks Pierre Smits for reporting the issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715531 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 14:23:05 +00:00
Deepak Dixit 2772e6b1d0 (OFBIZ-6655) Applied patch from jira issue.
============================================================
- Added session cookies config for ecommerce,ecomseo and ecomclone web.xml. 
- Used web-app 3.0 version for web-app
- Re-arrange description and display-name attribute as per the web-app structure.

Thanks Rahul for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715506 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 12:42:30 +00:00
Divesh Dutta 5e7ffc0692 [OFBIZ-6709] Now when you add party content, party profile page refresh, earlier it was not refreshing. Updated uiLabelJsonObjects method's (used for jsonify ui lables) signature. Added callback function in this method to get response returned from asynchronous ajax request. After this uiLabel object is available which resolves the issue
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715505 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 12:33:52 +00:00
Deepak Dixit db2ac3e040 (OFBIZ-2995) Applied patch from jira issue.
============================================================
Layout improvement for showing cart properly on order entry page for bizznesstime theme.

Thanks Aditya for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715504 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 12:23:22 +00:00
Deepak Dixit c523a77d08 (OFBIZ-6708) Applied patch from jira issue.
============================================================
Fixed Missing userLogin error on party profile screen when 1st content is non public. 

Thanks Jacques for reporting the issue :) and Thanks Vishal for providing the patch for the issue.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715501 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 12:02:00 +00:00
Ashish Vijaywargiya fe6aabb64d Applied bug fix from jira issue - OFBIZ-6741 - The state list is not populated when trying to add a shipping address from the Quick Finalize Order screen.
Thanks Aditya for reporting the issue and providing the fix for the same.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715495 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 10:40:47 +00:00
Deepak Dixit 1151e3e65c (OFBIZ-6107) Applied patch from jira issue.
===========================================================
Currently the quote report (or print) opens in the same 
window. This should be in a new window(target = _BLANK)

Thanks Pierre Smits for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715494 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 10:39:32 +00:00
Deepak Dixit c1ba07a466 (OFBIZ-6241) Fixed table-layout="auto" FOP warning. Used table-layout="fixed" to fix the warning.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715493 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 10:14:05 +00:00
Deepak Dixit 7da7a18d8a Fixed EntitySaxReader compile time warning related to Freemarker configuration.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715491 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 10:04:59 +00:00
Jacopo Cappellato 2641d2ba5a Implemented ability to refund non-physical goods (e.g. services).
Thanks to Akash Jain for the contribution: OFBIZ-6728, OFBIZ-6729, OFBIZ-6730


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715485 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 08:15:16 +00:00
Ashish Vijaywargiya 75b2c9460b Applied patch from jira issue - OFBIZ-6682.
Type-ahead regarding requirement in ListWorkEffortRequirements throws an error.
Thanks Pierre for reporting the issue and thanks Jitendra for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715482 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 08:08:30 +00:00
Deepak Dixit 14547920ec (OFBIZ-6681) Corrected the lookup-target request for AddQuoteWorkEffort, Thanks Irshad for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715478 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 07:51:09 +00:00
Deepak Dixit 8c5854de3d (OFBIZ-6683) Corrected the lookup-target request for AddCommEventWorkEffort, Thanks Irshad for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715477 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 07:49:31 +00:00
Ashish Vijaywargiya 8f822f504a Applied bug fix from jira issue - OFBIZ-6698 - sendCommEventAsEmail does not filter CommEventContentAssoc.
Thanks Gareth for reporting the issue and thanks Rohit for providing the patch for this.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715475 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 07:26:05 +00:00
Mridul Pathak cdc16cc07d [OFBIZ-6725] Best Selling Products section in main order page takes into account cancelled orders. Applying patch from OFBIZ-6725. Thanks Aditya Patwa for your contribution. Thanks Jacques for reporting the issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715471 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 06:56:42 +00:00
Deepak Dixit 0ed49d71f6 (OFBIZ-6171) Replace remaining occurrence of Open For Business with Apache OFBiz.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715470 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 06:54:47 +00:00
Gil Portenseigne bc09ff18a7 OFBIZ-5750
I did review all createPartyRole service call in java/minilang/groovy, and replace some of the occurence with ensurePartyRole, one in SubscriptionServices.java that could cause issue, and others to ease the readability.

Thanks Taher for reporting

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714976 13f79535-47bb-0310-9956-ffa450edef68
2015-11-18 11:54:40 +00:00
Gil Portenseigne 6b2feff682 OFBIZ-6703 Cannot create more than one lead in the SFA component by same user
Replace createPartyRole service call with ensurePartyRole, avoiding duplicate pk creation error.

Thanks Taher for reporting

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714974 13f79535-47bb-0310-9956-ffa450edef68
2015-11-18 11:50:16 +00:00
Jacques Le Roux b70ccc9280 Being nice on demos VM (manual cases) with not stuck script
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714897 13f79535-47bb-0310-9956-ffa450edef68
2015-11-17 22:05:18 +00:00