Commit Graph
14503 Commits
Author SHA1 Message Date
Nicolas Malin aa7c52b8dd complete missing franch translate
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726488 13f79535-47bb-0310-9956-ffa450edef68
2016-01-24 12:57:03 +00:00
Jacques Le Roux 9bbd16e9fa Temporary fix for "UtilXml.LocalResolver.resolveEntity] could not find LOCAL DTD/Schema with publicId [null] and the file/resource is [web-app_3_0.xsd]" - https://issues.apache.org/jira/browse/OFBIZ-6807
As suggested by Deepak keeps only <<web-app version="3.0">> in web.xml files instead of whole xmlns and schemaLocation. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726388 13f79535-47bb-0310-9956-ffa450edef68
2016-01-23 11:52:08 +00:00
Nicolas Malin 74da8e5999 I converted crud services from simple to entity-auto for entities SalesOpportunity and SalesForecastDetail, related issue OFBIZ-6853
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726338 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 23:01:08 +00:00
Nicolas Malin 0c865c8970 I converted CreditCardTypeGlAccount crud service from simple to entity-auto engine.
I also convert updatePaymentMethodType and removePaymentContent service

Related Issue OFBIZ-6852

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726334 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 22:26:09 +00:00
Nicolas Malin 6ad89a445c I converted simple crud service to entity-auto for following entites :
* TaxAuthority
 * TaxAuthorityAssoc
 * TaxAuthorityCategory (not remove)
 * TaxAuthorityGlAccount
 * TaxAuthorityRateProduct

I also move the permission check to the service definition.
related issue OFBIZ-6851

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726327 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 21:57:48 +00:00
Nicolas Malin 370ccceb8c I converted PartyContent and CommunicationEventPurpose from simple to entity-auto engine, related issue OFBIZ-6850
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726323 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 21:48:23 +00:00
Jacques Le Roux 83113c00ed Fixes an issue discussed on dev ML and related with OFBIZ-6791
This before trying to backport the fixes done with commits referenced in the OFBIZ-6791 issue 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1725574 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 17:45:19 +00:00
Jacques Le Roux 5120c6ebbb A patch from Pierre Smits for "In DemoTaxAuthority.xml the associated countrycode for Bulgaria is wrong" https://issues.apache.org/jira/browse/OFBIZ-6844
In DemoTaxAuthority.xml the associated CountryCode for the tax office in/of Bulgaria is set to BEL, which is Belgium.
This should be corrected to BGR.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1725561 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 16:40:04 +00:00
Jacques Le Roux 8ff099d69d Reverts r1724954 and reopens OFBIZ-6805
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1725556 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 16:12:34 +00:00
Deepak Dixit e706783023 Use html encode type instead string to get the config instruction.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1725218 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 10:35:55 +00:00
Deepak Dixit a917a762e9 Fixed stack trace on configproductdetail.ftl, Used correct method to get INSTRUCTIONS from ProductConfigItemContentWrapper.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1725217 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 10:33:26 +00:00
Divesh Dutta 91d0598a3c [OFBIZ-6753] Fixed issue:The GL account for USA_IRS is set to 224106 (SALES TAX COLLECTED USA - CA) should be 224100 (SALES TAX COLLECTED USA). Thanks Jesse Thomas for reporting the issue and Thanks Ankush for providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724978 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 14:25:20 +00:00
Deepak Dixit 43fadf2838 OFBIZ-(6655) Add session tracking mode and make cookie secure for scrum and solr component. Also fix the Invalid content was found starting with element 'description' for manufacturing component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724957 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 11:15:19 +00:00
Deepak Dixit d34bba947d (OFBIZ-6805) Applied patch from jira issue OFBIZ-6805
============================================================
Session already invalidate (removeAttribute: Session already invalidated) on destroyCart for anonymous userLogin
============================================================

Thanks Ankush for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724954 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 10:58:26 +00:00
Deepak Dixit d77e67f81e (OFBIZ-6806) Applied patch from jira issue OFBIZ-6806
============================================================
Order Item with multiple qty reserved with multiple inventory item not correctly recorded into Shipment_Item_Billing
============================================================

Thanks Swapnil Shah for reporting the issue and Ankush for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724951 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 10:41:51 +00:00
Deepak Dixit af2ca3df5e (OFBIZ-6800) Applied patch manually from jira issue OFBIZ-6800.
============================================================
There's no attribute "align" for tag "<fo:block>", must change to "text-align".
============================================================

Thanks Parinya Wongjina for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724925 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 06:58:19 +00:00
Deepak Dixit 6da0565eb7 (OFBIZ-6799) Found issue while working on OFBIZ-6799,
ChartOfAccounts.fo.ftl using postedBalance field, but its removed at r1530274, As its not a valid field of entity so system throwing exception while accessing COA pdf.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724918 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 06:32:59 +00:00
Deepak Dixit fbfe8ea147 (OFBIZ-6799) Applied patch from jira issue OFBIZ-6799
============================================================
Unable to transform FO file: org.apache.fop.apps.FOPException: org.apache.fop.fo.ValidationException: null:15:42: Invalid property encountered on "fo:block": align (See position 15:42)
============================================================

Thanks Parinya Wongjina for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724916 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 06:25:35 +00:00
Jacques Le Roux 8a110baf4a A slightly modified patch from Chula Lathong for <<Bug on SFA vcard import.>> https://issues.apache.org/jira/browse/OFBIZ-6795
Error occur when create Lead/Contact from Vcard.
This patch will improve importVcard service to able to create Lead/Contact from Vcard and display error messages when Vcard has invalid values.

jleroux: I simply changed the importVCard service transaction-timeout from 72000 (20 hours!) to 7200. Also added corresponding French labels

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724763 13f79535-47bb-0310-9956-ffa450edef68
2016-01-15 10:18:00 +00:00
Jacques Le Roux 285d869467 Fixes "Exception when sending an order confirmation email" reported by Eric Kingston at https://issues.apache.org/jira/browse/OFBIZ-6792
Receive the following exception while placing an order through the ecommerce application.....

groovy.lang.MissingPropertyException: No such property: response for class: CompanyHeader

Following is the relevant portion of the stack trace...

at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50) ~[groovy-all-2.2.1.jar:2.2.1]
at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:49) ~[groovy-all-2.2.1.jar:2.2.1]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231) ~[groovy-all-2.2.1.jar:2.2.1]
at CompanyHeader.run(CompanyHeader.groovy:48) ~[?:?]

...

Apparently, the response object is not available within the context when the sendOrderConfirmation service is run.  

Steps to reproduce the exception....

1.  Checkout OFBiz 14.12 Release (revision was 1722928 at the time of checkout).
2.  Run the default build.
3.  Load the demo data.
4.  Start the OFBiz instance (it will use the OOTB default derby db of course).
5.  Within a browser goto URL..  http://localhost:8080/ecommerce 
6.  Proceed to place an order adding at least one item to the cart.
7.  While checking out you may or may not have to create an account.  I created an account for this test.
8.  Proceed through all the checkout steps and submit the order.

Monitor the log and you will see the exception occur within a few seconds.  This exception doesn't occur in the OFBiz 13.07 release branch.  In fact, the response object is not referenced at all in the CompanyHeader.groovy from the 13.07 branch.  Whoever inserted the code that references the response object within the CompanyHeader.groovy script, must have neglected to test the changes with the ecommerce application.  I only found the error while migrating our instance of OFBiz to the 14.12 release.  Our custom ecommerce application employs the sendOrderConfirmation service the same way the OOTB ecommerce application does.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724689 13f79535-47bb-0310-9956-ffa450edef68
2016-01-14 21:19:26 +00:00
Nicolas Malin 52e5beffef No functional change, remove space end line
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724575 13f79535-47bb-0310-9956-ffa450edef68
2016-01-14 10:22:34 +00:00
Jacques Le Roux e91c36f35c Fixes an issue related to r1715960 and OFBIZ-6745 (stumbled upon it by chance while working on something else)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724411 13f79535-47bb-0310-9956-ffa450edef68
2016-01-13 12:31:28 +00:00
Nicolas Malin e48f11412b Correct the service CommunicationServices.createAttachmentContent that duplicates attachments for existing CommunicationEvents. Issue reported and solved by Gareth Carter on issue OFBIZ-6697. Thanks to him for this.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724311 13f79535-47bb-0310-9956-ffa450edef68
2016-01-12 20:26:18 +00:00
Hans Bakker 1afd42b2a7 various fixes to the salesopportunity list and create functions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1723248 13f79535-47bb-0310-9956-ffa450edef68
2016-01-06 07:53:26 +00:00
Hans Bakker baf7a29669 sales opportunity creation: required-field removed, disturbed the form submission, entityone no value field, error in the log
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1723007 13f79535-47bb-0310-9956-ffa450edef68
2016-01-05 07:08:06 +00:00
Jacques Le Roux 379c75c5c0 Fixes a bug reported by Tiwonge Kawonga on user ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1722712 13f79535-47bb-0310-9956-ffa450edef68
2016-01-03 11:46:58 +00:00
Deepak Dixit f037b221f9 (OFBIZ-6655) Reverted r1719762, as system fails to find the session cookie for ecommerce, will debug it in more detail but for now to fix this issue reverting r1719762.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1722379 13f79535-47bb-0310-9956-ffa450edef68
2015-12-30 17:00:00 +00:00
Jacques Le Roux 88c8c1b489 Fixes a bug reported by Vinet at https://issues.apache.org/jira/browse/OFBIZ-6779 - "Wrong entity condition expression for fetching the view entity PartyAndContactMech."
In party module present in application component the file PartyContactMechServices.xml containing simple-method createPartyEmailAddress (meant for creating an email address for party) is using wrong entity condition expression for fetching the view entity PartyAndContactMech.
It is using from-field attribute for the comparison of a constant value instead of the value attribute.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1721625 13f79535-47bb-0310-9956-ffa450edef68
2015-12-24 14:32:00 +00:00
Deepak Dixit 04772389fb (OFBIZ-4954) Applied patch from jira issue OFBIZ-4954
============================================================
Order item quantity cancel issue.

If user partially received an order and then cancel order item, system cancel all the order item quantity.System does not check for shipped/received order item quantity.
Expected behavior: Only remaining order item quantity should be cancelled and order item should marked as complete with partial received/shipped quantity.
============================================================


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1721093 13f79535-47bb-0310-9956-ffa450edef68
2015-12-21 05:38:43 +00:00
Deepak Dixit 76742dc2bc (OFBIZ-2987) Applied slightly modified patch from OFBIZ-2987
============================================================ Html clean up of quick add page.
============================================================ 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1721091 13f79535-47bb-0310-9956-ffa450edef68
2015-12-21 05:16:28 +00:00
Jacques Le Roux 5d9f3898c6 A slightly modified patch from Supachai Chaima-ngua for <<Upload product image does not work.>> https://issues.apache.org/jira/browse/OFBIZ-6769
Upload product image dose not working because "updateDataResource" require out parameter name 'dataResourceId' but the service doesn't return by using entity-auto engine and upload image function need delegator but do not sent to upload image function.

jleroux: this was due to recent r1716271 so no needs to backport. The changes in ImageManagementServices were not operationally needed (it worked as is) but indeed better for a method like scaleImageMangementInAllSize to rely on DispatchContext rather than service context when called from a service. Since it's not a service I changed the scaleImageMangementInAllSize method to private. I also removed the useless "ImageManagementServices." prefix.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1721066 13f79535-47bb-0310-9956-ffa450edef68
2015-12-20 21:07:27 +00:00
Mridul Pathak 258357bce6 [OFBIZ-6043] Change of ship-to address is not persisted when stepping forward and backward in a create order process. Applying patch from OFBIZ-6043. Thanks Pierre Smits for reporting the issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1720932 13f79535-47bb-0310-9956-ffa450edef68
2015-12-19 14:35:57 +00:00
Mridul Pathak 7d8f8bfc2e [OFBIZ-6185] Type-ahead regarding LookupInvoice in AP doesn't return result. Applying patch from OFBIZ-6185. Thanks Pierre Smits for reporting the issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1720920 13f79535-47bb-0310-9956-ffa450edef68
2015-12-19 13:38:46 +00:00
Ashish Vijaywargiya 77d8b29fdf Applied patch from OFBIZ-6777 - Product weight field enhancements
================================
There are three sets of dimensions in the Product entity.
(productHeight, shippingHeight), (productWidth, shippingWidth), (productDepth, shippingDepth) but in case of weight, there is another set of dimension field weight and productWeight which are inconsistent in nature.
Fix this thing and correct all instances of this in the framework.
=================================
Thanks Suraj for reporting the issue and providing the patch for the same. Thanks Jacopo and Pierre for discussing the issue with Suraj.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1720900 13f79535-47bb-0310-9956-ffa450edef68
2015-12-19 11:32:08 +00:00
Sharan Foga ca3a66c6ad OFBIZ-6733 Add setup for Service Product Invoice Lines
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1720883 13f79535-47bb-0310-9956-ffa450edef68
2015-12-19 04:08:47 +00:00
Jacopo Cappellato 85b2008053 OFBIZ-6760: Moved all entity definitions from the applications components into a new component named "datamodel".
This is a first step to refactor application components into independent parts that can be deployed when needed.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1720413 13f79535-47bb-0310-9956-ffa450edef68
2015-12-16 18:37:22 +00:00
Jacopo Cappellato 9e4c2c5dd0 OFBIZ-6772 and OFBIZ-6773:
* added ability to specify comparison operators for promotions with conditions on quantity
* added ability to specify categories/products to filter the order sub-total amount eligible for a discount


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1720312 13f79535-47bb-0310-9956-ffa450edef68
2015-12-16 10:04:25 +00:00
Jacques Le Roux e88a0b0343 Reverts r1720100 as explained at OFBIZ-6769
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1720147 13f79535-47bb-0310-9956-ffa450edef68
2015-12-15 12:45:25 +00:00
Jacques Le Roux 72bfe39dee A patch from Supachai Chaima-ngua for <<The renderContentAsText method should configure text sanitizer by "sanitizer.permissive.policy" in owasp.properties.>> https://issues.apache.org/jira/browse/OFBIZ-6769
An error is displayed on Accounting reports for Cash transactions:The renderContentAsText method should configure text sanitizer by "sanitizer.permissive.policy" in owasp.properties. If electronic text contains javascript, the renderContentAsText method will remove some content.

jleroux: of course you would allow script in your permissive policy at your own risk...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1720100 13f79535-47bb-0310-9956-ffa450edef68
2015-12-15 09:30:30 +00:00
Jacques Le Roux 95702618c5 Reapplies r1719762 because of OFBIZ-6655
This for 3 reasons:

1) Tomcat protects the cookies which it cares about (session and SSO cookies) but not all. Notably the OFBiz specific cookies, like visitorCookie. I guess also trackableCookie, billableCookie, siteIdCookie, updatedTimeStampCookie, guestShoppingListCookie, usernameCookieName and autoLoginCookie are not secured with The data in those cookies are less sensible than jsessionId but anyway it's safer to have them all secured.
2) I don't want to debug the ecommerce issue I reported in OFBIZ-6655. And if I don't use the sessionConifg_ecommerce.patch but rather reapply r1719762 then it's OK (if I also locally revert r1686574 done for OFBIz-6111, still waiting on this one...)
3) I see no reasons why someone would not want her cookies secured, as recommended by OWASP and others


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1719939 13f79535-47bb-0310-9956-ffa450edef68
2015-12-14 15:28:54 +00:00
Jacques Le Roux c06e6f7f62 2 modified patches from Rahul Bhammarker for "Add session tracking mode and make cookie secure" https://issues.apache.org/jira/browse/OFBIZ-6655
Need to enhance security at web-app level. 
As per current implementation:
- The cookie containing the session identifier is not secure
- The session identifier is transmitted in the query string of the URL

To fix these issue we have to add following session config otpions in web.xml
{code}
<session-config>
	<cookie-config>
	    <http-only>true</http-only>
	    <secure>true</secure>
	</cookie-config>
	<tracking-mode>COOKIE</tracking-mode>
</session-config>
{code}

Also we need to update the web-app servlet specification from 2.3 to 3.0
{code}
<web-app version="3.0"
        xmlns="http://java.sun.com/xml/ns/javaee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
                            http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
{code}
https://tomcat.apache.org/whichversion.html

jleroux: these are only the framework+themes+applications patches, with 3 entries not applied


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1719872 13f79535-47bb-0310-9956-ffa450edef68
2015-12-14 10:02:24 +00:00
Jacques Le Roux 0cdcfb69ce A patch from Francis Douet for "Error on Accounting reports for Cash transactions." https://issues.apache.org/jira/browse/OFBIZ-6765
An error is displayed on Accounting reports for Cash transactions:
_Error running script at location component://accounting/webapp/accounting/WEB-INF/actions/reports/CashFlowStatement.groovy: java.lang.IllegalArgumentException: argument type mismatch_

How to reproduce: create a new cash transaction and go to the Cash Flow Statement report.
eg https://demo-trunk-ofbiz.apache.org/accounting/control/CashFlowStatement?organizationPartyId=Company

The attached patch addresses the issue. I believe this is related to OFBIZ-5781.

jleroux: thanks also to Pierre Smits who spotted an issue with initial Francis's patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1719857 13f79535-47bb-0310-9956-ffa450edef68
2015-12-14 06:53:06 +00:00
Jacques Le Roux 4885f653af Reverts r1719762 because of OFBIZ-6655
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1719764 13f79535-47bb-0310-9956-ffa450edef68
2015-12-13 05:47:33 +00:00
Jacques Le Roux 677b49015e 4th step for "Secure HTTP headers" https://issues.apache.org/jira/browse/OFBIZ-6766
The secure flag on cookies instructs the browser to only submit the cookie as part of requests over secure (HTTPS) connections. This prevents the cookie from being observed as plain text in transit over the network.
The HttpOnly flag instructs the browser that this cookie can only be accessed when sending an HTTP request. This prevents scripts running as part of a page from retrieving the value and is a defense against XSS attacks.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1719762 13f79535-47bb-0310-9956-ffa450edef68
2015-12-13 05:07:47 +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
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 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
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 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