Issue Bug Closed

#78925PageLayoutController::renderQuickEdit() will throw exception for empty pages

Manuel Selbach 12/08/16, 23:05 updated 10/02/18, 11:04

Description

If there is an empty page (no content elements on it) the method PageLayoutController::renderQuickEdit() will throw an exception on certain DBMS (depends on it’s configuration), as the parameter $this->eRParts1 will hold e.g. /new/1 which will be use in the Query as integer to get a sys_history record. As it is a “new” element there couldn’t be a history entry at all, so let’s skip that Query if the parameter $this->eRParts1 can not be interpreted as integer.

Reviews 3