[
https://issues.apache.org/jira/browse/OFBIZ-10842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16779173#comment-16779173 ]
Danny Trunk edited comment on OFBIZ-10842 at 2/27/19 11:50 AM:
---------------------------------------------------------------
I was thinking about this as well when creating the issue, but I think it is a bug. As mentioned in [
https://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/src/main/java/org/apache/ofbiz/product/price/PriceServices.java?view=markup#l347] it is looking for a userLogin in context which is never set before. I did a workaround in my customPriceCalcService for now as we are using Spring Security. You can also consider it as an improvement if you want. It's up to you.
was (Author: dtrunk90):
I was thinking about this as well when creating the issue, but I think it is a bug. As mentioned in [
https://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/src/main/java/org/apache/ofbiz/product/price/PriceServices.java?view=markup#l347] it is looking for a userLogin in context which is never set before. I did a workaround in my customPriceCalcService for now as we are using Spring Security. You can also consider it as an improvement if you want.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)