Edit the Global configuration and provide an incorrect value for "session lifetime" : 19999
(it is possible to bypass the maximum value of the input field, which is 16383)
The configuration is not saved and the user get a error message with the explanation of the issue.
Configuration not saved but an exception is thrown "no database selected".
Joomla 4 Alpha 4
The "no database selected" is due to the call of $model->save while the validation returns a "false".
There is no "return;" after the $this->setRedirect
CF : https://github.com/joomla/joomla-cms/blob/4.0-dev/administrator/components/com_config/Controller/ApplicationController.php#L122
Even with the return, the error messages are not enqueued by the model and thus you don't get the validation error message.
Labels |
Added:
?
|
Category | ⇒ | com_config |
Status | New | ⇒ | Confirmed |
Labels |
Added:
J4 Issue
|
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-08-03 10:56:46 |
Closed_By | ⇒ | franz-wohlkoenig |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/21249
Issue confirmed.