[jira] Created: (OFBIZ-2207) Error when receiving return from customer

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
23 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2207) Error when receiving return from customer

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux updated OFBIZ-2207:
-----------------------------------

    Attachment:     (was: OrderReturnServices.xml.updateReturnStatusFromReceipt.patch)

> Error when receiving return from customer
> -----------------------------------------
>
>                 Key: OFBIZ-2207
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2207
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: SVN trunk
>         Environment: Demo Server
>            Reporter: Daniel Riquelme
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk
>
>
> When receiving a return from customer , the following error appears on screen:
> The Following Errors Occurred:
> Error:<br/> Error: Error trying to begin transaction, could not process method: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error in simple-method [Update Return Status From ShipmentReceipt [file:/demo/deployments/demo.hotwaxmedia.com/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml#updateReturnStatusFromReceipt]]: ; [Error with comparison in if-compare-field between fields [.totalsMap.${receipt.returnItemSeqId}] with value [null] and [.returnItem.returnQuantity] with value [1.000000] with operator [greater-equals] and type [BigDecimal]: , Left value is null, cannot complete compare for the operator greater-equals]   calling service balanceInventoryItems in receiveInventoryProduct <br/> <br/>
> Steps to reproduce:
> 1. Create a sales order with default options and DemoCustomer as Customer.
> 2. Add GZ-2644 to the cart
> 3. Finalize Order
> 4. Quick Ship Entire Order
> 5. Create return
> 6. Check the product and click on Return Selected Item(s)
> 7. Accept the return
> 8. Click on Return Items -> Receive Return
> 9. Click on Receive Selected Product(s)
> The error occurs in the following simple method:
> order/script/org/ofbiz/order/order/OrderReturnServices.xml#updateReturnStatusFromReceipt
> In the console, the following error appears above the error shown on screen:
> 2009-02-24 15:45:55,438 (http-0.0.0.0-8443-2) [FlexibleMapAccessor.java:164:INFO ] UEL exception while setting value: javax.el.ELException: Error parsing '${}': syntax error at position 2, encountered '}', expected <IDENTIFIER>|<STRING>|<FLOAT>|<INTEGER>|'true'|'false'|'null'|'-'|'!'|'not'|'empty'|'(', original = ${receipt.returnItemSeqId}
> One of the problematic lines relating to the last console message is:
> <if-empty field="totalsMap.${receipt.returnItemSeqId}">
> Regards,
> Daniel

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2207) Error when receiving return from customer

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux updated OFBIZ-2207:
-----------------------------------

    Attachment:     (was: OrderReturnServices.xml.patch)

> Error when receiving return from customer
> -----------------------------------------
>
>                 Key: OFBIZ-2207
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2207
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: SVN trunk
>         Environment: Demo Server
>            Reporter: Daniel Riquelme
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk
>
>
> When receiving a return from customer , the following error appears on screen:
> The Following Errors Occurred:
> Error:<br/> Error: Error trying to begin transaction, could not process method: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error in simple-method [Update Return Status From ShipmentReceipt [file:/demo/deployments/demo.hotwaxmedia.com/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml#updateReturnStatusFromReceipt]]: ; [Error with comparison in if-compare-field between fields [.totalsMap.${receipt.returnItemSeqId}] with value [null] and [.returnItem.returnQuantity] with value [1.000000] with operator [greater-equals] and type [BigDecimal]: , Left value is null, cannot complete compare for the operator greater-equals]   calling service balanceInventoryItems in receiveInventoryProduct <br/> <br/>
> Steps to reproduce:
> 1. Create a sales order with default options and DemoCustomer as Customer.
> 2. Add GZ-2644 to the cart
> 3. Finalize Order
> 4. Quick Ship Entire Order
> 5. Create return
> 6. Check the product and click on Return Selected Item(s)
> 7. Accept the return
> 8. Click on Return Items -> Receive Return
> 9. Click on Receive Selected Product(s)
> The error occurs in the following simple method:
> order/script/org/ofbiz/order/order/OrderReturnServices.xml#updateReturnStatusFromReceipt
> In the console, the following error appears above the error shown on screen:
> 2009-02-24 15:45:55,438 (http-0.0.0.0-8443-2) [FlexibleMapAccessor.java:164:INFO ] UEL exception while setting value: javax.el.ELException: Error parsing '${}': syntax error at position 2, encountered '}', expected <IDENTIFIER>|<STRING>|<FLOAT>|<INTEGER>|'true'|'false'|'null'|'-'|'!'|'not'|'empty'|'(', original = ${receipt.returnItemSeqId}
> One of the problematic lines relating to the last console message is:
> <if-empty field="totalsMap.${receipt.returnItemSeqId}">
> Regards,
> Daniel

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-2207) Error when receiving return from customer

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-2207.
----------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk

Fixed in trunk at revision: 748873  


> Error when receiving return from customer
> -----------------------------------------
>
>                 Key: OFBIZ-2207
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2207
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: SVN trunk
>         Environment: Demo Server
>            Reporter: Daniel Riquelme
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk
>
>
> When receiving a return from customer , the following error appears on screen:
> The Following Errors Occurred:
> Error:<br/> Error: Error trying to begin transaction, could not process method: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error in simple-method [Update Return Status From ShipmentReceipt [file:/demo/deployments/demo.hotwaxmedia.com/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml#updateReturnStatusFromReceipt]]: ; [Error with comparison in if-compare-field between fields [.totalsMap.${receipt.returnItemSeqId}] with value [null] and [.returnItem.returnQuantity] with value [1.000000] with operator [greater-equals] and type [BigDecimal]: , Left value is null, cannot complete compare for the operator greater-equals]   calling service balanceInventoryItems in receiveInventoryProduct <br/> <br/>
> Steps to reproduce:
> 1. Create a sales order with default options and DemoCustomer as Customer.
> 2. Add GZ-2644 to the cart
> 3. Finalize Order
> 4. Quick Ship Entire Order
> 5. Create return
> 6. Check the product and click on Return Selected Item(s)
> 7. Accept the return
> 8. Click on Return Items -> Receive Return
> 9. Click on Receive Selected Product(s)
> The error occurs in the following simple method:
> order/script/org/ofbiz/order/order/OrderReturnServices.xml#updateReturnStatusFromReceipt
> In the console, the following error appears above the error shown on screen:
> 2009-02-24 15:45:55,438 (http-0.0.0.0-8443-2) [FlexibleMapAccessor.java:164:INFO ] UEL exception while setting value: javax.el.ELException: Error parsing '${}': syntax error at position 2, encountered '}', expected <IDENTIFIER>|<STRING>|<FLOAT>|<INTEGER>|'true'|'false'|'null'|'-'|'!'|'not'|'empty'|'(', original = ${receipt.returnItemSeqId}
> One of the problematic lines relating to the last console message is:
> <if-empty field="totalsMap.${receipt.returnItemSeqId}">
> Regards,
> Daniel

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

12