Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I update a property on a member from within the CMS and when MemberService.Saved event is triggered the member appears as dirty, but the property only appears as dirty in the entity.Properties collection. Using .WasPropertyDirty("alias") returns false.
Am I missing something?
private static void MemberServiceSaved(IMemberService sender, SaveEventArgs<IMember> e)
foreach (var entity in e.SavedEntities)
var member = (IRememberBeingDirty)entity;
var wasMemberDirty = member.WasDirty();
var propOneWasDirty = member.WasPropertyDirty("propOneAlias")
var propOneWasDirtyByEntity = entity.Properties["propOneAlias"].WasDirty();
Also found this on the issue tracker: http://issues.umbraco.org/issue/U4-6035
Has anyone had experience using these properties successfully?
You can see below that the node is marked as dirty but the property in question is not.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted