Checkbox list should support preview mode
Config item `cms.customErrorPage` is deprecated, the setting `app.debug` should be used instead.