Bug #3314
closedAfter update trigger fires after registration
Description
User reports when someone registers that both after update and after registration trigger is fired.
https://www.joomlapolis.com/forum/18-general-requests/193187-events-issue-with-cb-18
This could be due to the database store functions that now fire triggers.
Files
Updated by krileon over 12 years ago
- Status changed from New to Assigned
- Assignee set to krileon
Updated by krileon over 12 years ago
Frontend appears to work fine in all my tests. Backend however when creating a new user is firing onAfterNewUser and onAfterUpdateUser at same time.
Updated by krileon over 12 years ago
This is due to storeDatabaseValue and its firing of CB triggers. It needs to be updated to ignore trigger usage in some scenarios, but Joomla triggers are still needed.
Updated by krileon over 12 years ago
Confirmed due to activateUser and its usage of storeBlock, which should not fire CBs triggers.
Updated by krileon over 12 years ago
- File 3314-pt1.patch 3314-pt1.patch added
- File 3314-pt2.patch 3314-pt2.patch added
- Status changed from Assigned to Resolved
- Assignee changed from krileon to beat
- % Done changed from 0 to 100
Updated by krileon over 12 years ago
- File 3314-pt1_rev1.patch 3314-pt1_rev1.patch added
Rev 1 adds proper passing of $user errors to $this so they can be output as $user is destroyed after storage.
Updated by krileon over 12 years ago
- File cb.tables.php cb.tables.php added
- File comprofiler.class.php comprofiler.class.php added
Added pre-patched CB 1.8 files.
Updated by beat over 12 years ago
- Target version changed from CB 1.8.1 to CB 1.9
Updated by beat about 12 years ago
- Subject changed from After update trigger fies after registration to After update trigger fires after registration
Updated by beat about 12 years ago
- Status changed from Resolved to Closed
- Estimated time set to 3:00 h
Fixed as suggested in r1886 .
Thank you Kyle.