[ 
https://issues.apache.org/jira/browse/OFBIZ-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520220
 ] 

Bilgin Ibryam commented on OFBIZ-1198:
--------------------------------------

David,

Thank you for this clarification. I did not realize that, especially about 
products purchased over the internet.

BTW, what about rental products that are sold not sold from internet  (but 
directly from order manager ). Should it be correct to use facility address for 
tax calculation in this case?


> Canceling rental and digital product orders is broken
> -----------------------------------------------------
>
>                 Key: OFBIZ-1198
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1198
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Bilgin Ibryam
>            Assignee: David E. Jones
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: tax.patch
>
>
> Hi all,
> Currently orders that do not have shipping address (orders that contains only 
> digital and rental products) cannot be can canceled.
> The generated error is:
>      [java] 2007-08-12 15:30:49,640 (http-0.0.0.0-8443-Processor3) [  
> ServiceDispatcher.java:410:ERROR] Service Error [calcTax]: The address(es) 
> used for tax calculation did not have State/Province or Country or other tax 
> jurisdiction values set, so we cannot determine the taxes to charge.
>      [java] 2007-08-12 15:30:49,640 (http-0.0.0.0-8443-Processor3) [    
> TransactionUtil.java:291:WARN ]
>      [java] ---- exception report 
> ----------------------------------------------------------
>      [java] [TransactionUtil.setRollbackOnly] Calling transaction 
> setRollbackOnly; this stack trace shows where this is happening:
>      [java] Exception: java.lang.Exception
>      [java] Message: Service Error [calcTax]: The address(es) used for tax 
> calculation did not have State/Province or Country or other tax jurisdiction 
> values set, so we cannot determine the taxes to charge.
>      [java] ---- stack trace 
> ---------------------------------------------------------------
>      [java] java.lang.Exception: Service Error [calcTax]: The address(es) 
> used for tax calculation did not have State/Province or Country or other tax 
> jurisdiction values set, so we cannot determine the taxes to charge.
>      [java] 
> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:291)
>      [java] 
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:238)
>      [java] 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:414)
>      [java] 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:210)
>      [java] 
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136)
>      [java] 
> org.ofbiz.order.order.OrderServices.recalcOrderTax(OrderServices.java:1381)
> The applied patch fixes the bug.
> Regards,
> Bilgin  Ibryam

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

Reply via email to