?
Referenced as Pull Request for: # 28893
avatar Kostelano
Kostelano
30 Apr 2020

Steps to reproduce the issue

  1. Your site must have 2 users with access to the control panel and work e-mail addresses,
  2. Log in to the control panel under one of the users, go to Components -> Private Messages -> My settings, enable the Lock Inbox option, save and log out,
  3. Log in to the control panel as a second user and try to send him a message in Private Messages,
  4. Log back into the control panel under the first user and check the incoming messages.

Expected result

Message must not be delivered. We should get an error or message:

if ($config->get('locked', false))
{
	$this->setError(JText::_('COM_MESSAGES_ERR_SEND_FAILED'));

	return false;
}

COM_MESSAGES_ERR_SEND_FAILED="The user has locked their mailbox. Message failed."

Actual result

The message was delivered to the first user without any problems.

System information (as much as possible)

Joomla 3.9.18
PHP 7.3.2

avatar Kostelano Kostelano - open - 30 Apr 2020
avatar joomla-cms-bot joomla-cms-bot - change - 30 Apr 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 30 Apr 2020
avatar SharkyKZ SharkyKZ - change - 1 May 2020
Status New Confirmed
avatar joomla-cms-bot joomla-cms-bot - close - 1 May 2020
avatar SharkyKZ SharkyKZ - change - 1 May 2020
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2020-05-01 08:11:46
Closed_By SharkyKZ
avatar joomla-cms-bot joomla-cms-bot - change - 1 May 2020
Closed_By SharkyKZ joomla-cms-bot
avatar joomla-cms-bot
joomla-cms-bot - comment - 1 May 2020

Set to "closed" on behalf of @SharkyKZ by The JTracker Application at issues.joomla.org/joomla-cms/28892

avatar SharkyKZ
SharkyKZ - comment - 1 May 2020

Please test PR #28893.


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

Add a Comment

Login with GitHub to post a comment