[ https://issues.apache.org/jira/browse/OFBIZ-6561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14642409#comment-14642409 ]
Jacques Le Roux commented on OFBIZ-6561: ---------------------------------------- This issue is related to OFBIZ-5534, stable demo does not produce this error. It makes sense to me to not remove a pk from the tempCache when it's null and especially to not return null in this case. Only the try section is new in this method. So I believe your proposed change is safe Deepak, I did not check if it's optimal. > GenericDelegator.store fails to clear userLogin cache on password update from > ecommerce profile > ----------------------------------------------------------------------------------------------- > > Key: OFBIZ-6561 > URL: https://issues.apache.org/jira/browse/OFBIZ-6561 > Project: OFBiz > Issue Type: Bug > Affects Versions: Trunk > Reporter: Deepak Dixit > Attachments: OFBIZ-6561.patch, Screen Shot 2015-07-22 at 2.12.47 > PM.png > > > Here is the steps to regenerate issue: > - Go to http://demo-trunk-ofbiz.apache.org/ecommerce/control/viewprofile > - Login with DemoCustomer > - Go to http://demo-trunk-ofbiz.apache.org/ecommerce/control/changepassword > - Update password and click on save button > Password successfully updated, while redirecting to profile page you will get > following error message: > {quote} > org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen > [component://ecommerce/widget/CustomerScreens.xml#viewprofile]: > java.lang.IllegalArgumentException: Error running script at location > [component://ecommerce/webapp/ecommerce/WEB-INF/actions/customer/ViewProfile.groovy]: > org.ofbiz.service.ExecutionServiceException: You must be logged in to > complete the [Get Summary Information About Orders for a Customer] process. > (Error running script at location > [component://ecommerce/webapp/ecommerce/WEB-INF/actions/customer/ViewProfile.groovy]: > org.ofbiz.service.ExecutionServiceException: You must be logged in to > complete the [Get Summary Information About Orders for a Customer] > process.){quote} -- This message was sent by Atlassian JIRA (v6.3.4#6332)