Silverstripe Version: 4.2
Question:
I have the Member object extended with three extensions (Blog, symbiote/silverstripe-memberprofiles and a custom extension).
Something is going on with onAfterWrite. It doesn’t appear to be getting called when the MemberProfilePageController calls $member->write(); when saving your profile on the front end. It gets called fine when saving a user in the admin area.
Any ideas why this would be so?
- UPDATE
Hmm. After further investigation onAfterWrite is getting called. Must be a bug in my code somewhere.