jleroux: I simply added the necessary changes in StoreScreens.xml and removed ProductStoreForms.xml. I did not test yet because I have an issue with CatalinaContainer.java, should be OK the changes are straightforward
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735844 13f79535-47bb-0310-9956-ffa450edef68
Update entity definition of OtherDataResource, VideoDataResource and AudioDataResource replacing object to byte-array data type and title correction
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735742 13f79535-47bb-0310-9956-ffa450edef68
============================================================
When we update the Allow order decimal quantity to N for product store and update the unit price of item in shopping cart then its shown error.
============================================================
Thanks Yashwant Dhakad for reporting issue and providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735734 13f79535-47bb-0310-9956-ffa450edef68
============================================================
Company Check payment method should be shown when issuing chek
============================================================
Thanks Akash Jain for reporting the issue and Mohammad Rehan Khan for patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735731 13f79535-47bb-0310-9956-ffa450edef68
============================================================
Currently the View Profit overview is only visible when the quote has the status 'QUO_CREATED'. It should be so that the user can see the profit overview irrespect of the the status.
============================================================
Thanks Pierre Smits for reporting the issue and Mohammad Kathawala for patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735727 13f79535-47bb-0310-9956-ffa450edef68
Currently, in ecommerce/tiny-gismo-GZ-1000-p a comment field is shown.
This is a result of the following code in productdetail.ftl
{code}
<#assign commentEnable = Static["org.ofbiz.entity.util.EntityUtilProperties"].getPropertyValue("order", "order.item.comment.enable", delegator)>
<#if commentEnable.equals("Y")>
<#assign orderItemAttr = Static["org.ofbiz.entity.util.EntityUtilProperties"].getPropertyValue("order", "order.item.attr.prefix", delegator)>
${uiLabelMap.CommonComment} <input type="text" name="${orderItemAttr}comment"/>
</#if>
{code}
Based on the code excerpt this is set by a property value in the order component. However this should be based on a configuration setting in the store.
jleroux: I simply changed the place of the ProductStore.allowComment field (not after the old deprecated fields) and used a description instead of an XML comment there.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735435 13f79535-47bb-0310-9956-ffa450edef68
It seems after OFBIZ-3956, credit card details can no longer be updated, for example, if one wishes to update the expiry date of a credit card
results in following "The Following Errors Occurred: Card Number is erroneous".
This issue can be replicated here - https://demo-trunk-ofbiz.apache.org/partymgr/control/editcreditcard?paymentMethodId=9015&partyId=DemoCustomer
jleroux: The problem was because we are calling createCreditCard map proc from updateCreditCard service after calling updateCreditCard map proc. And when we update the data we don't see the real card number but something like "************1111"
I simply copied the needed check from createCreditCard map proc into updateCreditCard map proc but not the isAnyCard call of course. Then it will work, but if the user changes also the card number. If she does it will need to be right, because it will not be checked! I can't see any other ways because we can't use a hidden field with the real card number in, it would be insecure. We could introduce a specific encryption/decryption but it seems a bit too much. Notably because the only reason of changing a card number while this card is still valid would be because the number have been wrongly entered. Then better to delete and create a new one, those data are a bit sensible...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735385 13f79535-47bb-0310-9956-ffa450edef68
Thanks Forest Rae for creating the issue and providing the patch for the same. Thanks Aditi for providing the improved patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1731379 13f79535-47bb-0310-9956-ffa450edef68
- Mark some SecurityFactory method as deprecated
- Mark FoFormRender as deprecated
- Fixed deprecation warning for PassportUtil class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1731377 13f79535-47bb-0310-9956-ffa450edef68
Show currencyUomId of the invoice in the invoice selection for payments.
Thanks Pierre for creating the issue and Thanks Jagpreet for providing the patch for the same.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1731371 13f79535-47bb-0310-9956-ffa450edef68
When generating a check (/accounting/control/printChecks.pdf?paymentId=demo10000) following error is generated:
Unable to transform FO file: org.apache.fop.apps.FOPException: org.apache.fop.fo.ValidationException: null:32:31: "fo:table-cell" is missing child elements. Required content model: marker* (%block;)+ (See position 32:31)
[java] javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: null:32:31: "fo:table-cell" is missing child elements. Required content model: marker* (%block;)+ (See position 32:31); Screen XSL:FO text was:
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1730889 13f79535-47bb-0310-9956-ffa450edef68
Various modern day 3rd party delivery solutions (e.g. PostNL in The Netherlands) require that elements are delivered separately, so that addresses can be checked more easily.
Current definition of the PostalAddress doesn't have separation of:
* street name
* house number
* house number addition or extension
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1729198 13f79535-47bb-0310-9956-ffa450edef68
jleroux: this was git patch, I'm now used to change them to apply, but I will explain how to generate svn patch from it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1729078 13f79535-47bb-0310-9956-ffa450edef68
Static["org.ofbiz.base.util.UtilProperties"].getPropertyValue is used in several .ftl files.
Replaces with EnittyUtilProperties variant where appropriate.
jleroux: In this is the 2nd commit from the 3rd patch (the 2nd had issues) I fixed 2 "typos" I spotted while reviewing in
ecommerce/customer/editcontactmech.ftl
ecommerce/customer/newcustomer.ftl
where "UtilProperties" was not replaced
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1729002 13f79535-47bb-0310-9956-ffa450edef68
Static["org.ofbiz.base.util.UtilProperties"].getPropertyValue is used in several .ftl files.
Replaces with EnittyUtilProperties variant where appropriate.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728959 13f79535-47bb-0310-9956-ffa450edef68
Currently in UI there is no way that terms can be added to an invoice.
jleroux: Works well, links to edit/delete a Term, for instance from the list at "createInvoiceTerm" request would be welcome...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1727894 13f79535-47bb-0310-9956-ffa450edef68
Error in trunk:
ERROR rendering error page [/error/error.jsp], but here is the error text: org.ofbiz.webapp.control.RequestHandlerException: No definition found for view with name [checkoutpayment]
Error in stable and old:
org.ofbiz.webapp.control.RequestHandlerException: No definition found for view with name [checkoutpayment]
Vyom Jain added a comment - 22/Nov/15 07:50
This is an issue even in 09.04 and 10.04 code, so it has been there for sometime now.
Scott Gray added a comment - 03/Jan/16 05:43
The view-map was moved to ecommerce in r544053. Probably because the view-map wasn't referenced in the controller.xml for ordermgr. It is actually used though as a view override in component://order/webapp/ordermgr/entry/checkoutoptions.ftl
Just needs to be restored in the controller and have the screen moved back.
jleroux: So I moved back from ecommerce to order (with few adaptations)
* the checkoutpayment.ftl file
* the order controller view-map
* the screen name checkoutpayment
I tested in both order and ecommerce, works! I will try to backport, let's see...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726828 13f79535-47bb-0310-9956-ffa450edef68