?
avatar infograf768
infograf768
6 May 2020

Steps to reproduce the issue

Load Private Messages Manager.
Click on My Settings button.
For example switch Lock Inbox to Yes.
Save.
Click again on the button.
Lock Inbox is still set to No.
No entry in table _messages_cfg
No fail or success message.

lockbrokenj4

avatar infograf768 infograf768 - open - 6 May 2020
avatar joomla-cms-bot joomla-cms-bot - change - 6 May 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 6 May 2020
avatar infograf768 infograf768 - change - 6 May 2020
The description was changed
avatar infograf768 infograf768 - edited - 6 May 2020
avatar infograf768
infograf768 - comment - 6 May 2020

Found the issue:
https://github.com/joomla/joomla-cms/blob/4.0-dev/administrator/components/com_messages/src/Controller/ConfigController.php#L37

$model = $this->getModel('Config', 'MessagesModel');
should be
$model = $this->getModel('Config');

But it is not enough as we don't get any Success message after saving

avatar chmst
chmst - comment - 9 May 2020

Confirmed.

I ask myself why it is a modal. It would be much easier in a view.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28958.

avatar brianteeman
brianteeman - comment - 9 May 2020

@chmst No idea but this is a very very old bit of code for something hardly used so its never had any love

avatar infograf768
infograf768 - comment - 9 May 2020

On it. Changing the popup to a view which solves the success message.

avatar infograf768
infograf768 - comment - 9 May 2020

Please test #29006
Closing as we have a patch

avatar infograf768 infograf768 - close - 9 May 2020
avatar infograf768 infograf768 - change - 9 May 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-05-09 09:59:03
Closed_By infograf768

Add a Comment

Login with GitHub to post a comment