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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)

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

Jacques Le Roux closed OFBIZ-10842.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 18.12.01
                   16.11.06
                   17.12.01

Thanks Danny,

I fixed it following your advice in
trunk r1854457
R17 r1854458
R18 r1854459
R16 r1854460

> 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
>            Assignee: Jacques Le Roux
>            Priority: Major
>             Fix For: 17.12.01, 16.11.06, 18.12.01
>
>
> 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)