Improved: Could not find PortalPage with portalPageId [] (OFBIZ-13071)
When a spider bot gets to certain non-sense URIs under sfa app (it seems only
for sfa, did not dig further it's non-sense anyway) like discovered in
trunk demo log today: <</sfa/control/setSessionTimeZone?tzId=America/Ensenada>>
the <<Could not find PortalPage with portalPageId []>> error shows
Then we don't need to clutter the log with useless error information.
This keeps it ASAP by simply returning the portalPage if it's null.
1 file changed