Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10842

No userLogin given in calculateProductPrice service call context

    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              jleroux Jacques Le Roux
              Reporter:
              dtrunk90 Danny Trunk
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: