Author: jleroux
Date: Tue Jan 26 21:29:57 2016 New Revision: 1726910 URL: http://svn.apache.org/viewvc?rev=1726910&view=rev Log: Fixes a typo, I missed a NOT in a comment - OFBIZ-6792 Modified: ofbiz/branches/release14.12/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy ofbiz/branches/release15.12/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy Modified: ofbiz/branches/release14.12/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy?rev=1726910&r1=1726909&r2=1726910&view=diff ============================================================================== --- ofbiz/branches/release14.12/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy (original) +++ ofbiz/branches/release14.12/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy Tue Jan 26 21:29:57 2016 @@ -49,7 +49,7 @@ if (!orderHeader && orderId) { response.setHeader("Content-Disposition","attachment; filename=\"" + orderId + ".pdf" + "\";"); } } catch (MissingPropertyException e) { - // This hack for OFBIZ-6792 to avoid "groovy.lang.MissingPropertyException: No such property: response for class: CompanyHeader" when response does exist (in sendOrderConfirmation service) + // This hack for OFBIZ-6792 to avoid "groovy.lang.MissingPropertyException: No such property: response for class: CompanyHeader" when response does not exist (in sendOrderConfirmation service) } } else if (shipmentId) { shipment = from("Shipment").where("shipmentId", shipmentId).queryOne(); @@ -61,7 +61,7 @@ if (!invoice && invoiceId) { try { response.setHeader("Content-Disposition","attachment; filename=\"" + invoiceId + ".pdf" + "\";"); } catch (MissingPropertyException e) { - // This hack for OFBIZ-6792 to avoid "groovy.lang.MissingPropertyException: No such property: response for class: CompanyHeader" when response does exist (in sendOrderConfirmation service) + // This hack for OFBIZ-6792 to avoid "groovy.lang.MissingPropertyException: No such property: response for class: CompanyHeader" when response does not exist (in sendOrderConfirmation service) } } Modified: ofbiz/branches/release15.12/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy URL: http://svn.apache.org/viewvc/ofbiz/branches/release15.12/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy?rev=1726910&r1=1726909&r2=1726910&view=diff ============================================================================== --- ofbiz/branches/release15.12/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy (original) +++ ofbiz/branches/release15.12/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy Tue Jan 26 21:29:57 2016 @@ -51,7 +51,7 @@ if (!orderHeader && orderId) { UtilHttp.setContentDisposition(response, orderId + ".pdf"); } } catch (MissingPropertyException e) { - // This hack for OFBIZ-6792 to avoid "groovy.lang.MissingPropertyException: No such property: response for class: CompanyHeader" when response does exist (in sendOrderConfirmation service) + // This hack for OFBIZ-6792 to avoid "groovy.lang.MissingPropertyException: No such property: response for class: CompanyHeader" when response does not exist (in sendOrderConfirmation service) } } else if (shipmentId) { shipment = from("Shipment").where("shipmentId", shipmentId).queryOne(); @@ -63,7 +63,7 @@ if (!invoice && invoiceId) { try { UtilHttp.setContentDisposition(response, invoiceId + ".pdf"); } catch (MissingPropertyException e) { - // This hack for OFBIZ-6792 to avoid "groovy.lang.MissingPropertyException: No such property: response for class: CompanyHeader" when response does exist (in sendOrderConfirmation service) + // This hack for OFBIZ-6792 to avoid "groovy.lang.MissingPropertyException: No such property: response for class: CompanyHeader" when response does not exist (in sendOrderConfirmation service) } } Modified: ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy?rev=1726910&r1=1726909&r2=1726910&view=diff ============================================================================== --- ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy (original) +++ ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy Tue Jan 26 21:29:57 2016 @@ -51,7 +51,7 @@ if (!orderHeader && orderId) { UtilHttp.setContentDisposition(response, orderId + ".pdf"); } } catch (MissingPropertyException e) { - // This hack for OFBIZ-6792 to avoid "groovy.lang.MissingPropertyException: No such property: response for class: CompanyHeader" when response does exist (in sendOrderConfirmation service) + // This hack for OFBIZ-6792 to avoid "groovy.lang.MissingPropertyException: No such property: response for class: CompanyHeader" when response does not exist (in sendOrderConfirmation service) } } else if (shipmentId) { shipment = from("Shipment").where("shipmentId", shipmentId).queryOne(); @@ -63,7 +63,7 @@ if (!invoice && invoiceId) { try { UtilHttp.setContentDisposition(response, invoiceId + ".pdf"); } catch (MissingPropertyException e) { - // This hack for OFBIZ-6792 to avoid "groovy.lang.MissingPropertyException: No such property: response for class: CompanyHeader" when response does exist (in sendOrderConfirmation service) + // This hack for OFBIZ-6792 to avoid "groovy.lang.MissingPropertyException: No such property: response for class: CompanyHeader" when response does not exist (in sendOrderConfirmation service) } } |
Free forum by Nabble | Edit this page |