You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Danny Trunk (JIRA)" <ji...@apache.org> on 2019/02/27 08:18:00 UTC

[jira] [Created] (OFBIZ-10842) No userLogin given in calculateProductPrice service call context

Danny Trunk created OFBIZ-10842:
-----------------------------------

             Summary: No userLogin given in calculateProductPrice service call context
                 Key: OFBIZ-10842
                 URL: https://issues.apache.org/jira/browse/OFBIZ-10842
             Project: OFBiz
          Issue Type: Bug
          Components: order, product
    Affects Versions: Trunk
            Reporter: Danny Trunk


The call context for calculateProductPrice doesn't contain the userLogin:

[https://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartItem.java?view=markup#l1195]

As this is needed in the customPriceCalcService:

[https://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/src/main/java/org/apache/ofbiz/product/price/PriceServices.java?view=markup#l347]

 

So currently there's no chance to get the user information in a custom price calc service.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)