When deleting a user, plg_system_privacyconsent will act on the onUserAfterDelete triggered event.
it will delete any user consents for the user that is being deleted.
If there is an error in this deletion, it will set an error to $this->_subject
} catch (Exception $e) {
$this->_subject->setError($e->getMessage());
}
but this will throw an error as $this->_subject doesn't exist
no error / error bubled up as message?
Joomla 4.2.6
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
bug
|
Labels |
Added:
PBF
|
Labels |
Removed:
PBF
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-03-30 21:10:44 |
Closed_By | ⇒ | Hackwar |
The code has since been refactored and the problematic stuff has been removed. Closing this issue.
Maybe we should log the error like how it is implemented here https://github.com/joomla/joomla-cms/blob/4.2-dev/administrator/components/com_admin/src/Model/SysinfoModel.php#L448-L455 ?