This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
pepesilvia
When using the purgeable trait, the purgeable attributes are not available on the beforeSave method. If i'm not mistaken, this is due to the 'model.saveInternal' event being fired before the 'model.beforeSave' event. In order to have access to them, it's neccesary to call the restorePurgedValues, work with them and then calling the purgeAttributes method to discard them again. Is this the intended way for this to work or would it be possible to add access to the purgeable attributes on the beforeSave method?
1-1 of 1