Hi Ofbiz community,

I have a question about the intended behaviour of request responses "view-home" and "view-last". As one can see in RequestHandler::doRequest if you want to use the controller request "view-last", but already have a "_HOME_VIEW_NAME" session attribute in place, this method will always prioritise the home view over the last view. This renders "view-last" practically unusable as there is no common logic to remove "_HOME_VIEW_NAME" from the session.

Can someone shed some light onto why this would work this way or some usecases? I'm inclined to delete that else-if-branch for my project, but I'm not sure about collaterals.

Thanks in advance

Best regards

--
Cheng Hu Shan
it-consultant

ecomify GmbH, Gustav-Winkler-Str. 22, 33699 Bielefeld
Fon: +49 171 / 4762788 | Fax: +49 521 448157-99 | www.ecomify.de
Court Registration: Amtsgericht Bielefeld, HRB 41683 | CEO: Martin Becker, 
Michael Brohl

Reply via email to