Examine missing member properties after saving in the backend
I have a problem with Examine. When I search a member the object has properties like:
umbracoMemberApproved: 1
umbracoMemberFailedPasswordAttempts: 0
umbracoMemberLastLogin: 06/29/2016 16:00:25 umbracoMemberLastPasswordChangeDate: 01/13/2016 19:48:41 umbracoMemberLockedOut: 0
But after I save a member in the backend the properties are missing from the Examine index(InternalMemberIndexSet) When I manually rebuild the index the properties are back again.
I tried to make a workaround by rebuilding the index on the saved event from the member like so:
private void MemberService_Saved(IMemberService sender, DeleteEventArgs<IMember> e)
{
var indexer = ExamineManager.Instance.IndexProviderCollection["InternalMemberIndexer"] as LuceneIndexer;
indexer?.RebuildIndex();
}
This didn't work :(
I'm using Umbraco 7.3.8 but I also tested a clean version of 7.4.3 the problem still exists
Examine missing member properties after saving in the backend
I have a problem with Examine. When I search a member the object has properties like: umbracoMemberApproved: 1 umbracoMemberFailedPasswordAttempts: 0 umbracoMemberLastLogin: 06/29/2016 16:00:25 umbracoMemberLastPasswordChangeDate: 01/13/2016 19:48:41 umbracoMemberLockedOut: 0
But after I save a member in the backend the properties are missing from the Examine index(InternalMemberIndexSet) When I manually rebuild the index the properties are back again.
I tried to make a workaround by rebuilding the index on the saved event from the member like so:
This didn't work :(
I'm using Umbraco 7.3.8 but I also tested a clean version of 7.4.3 the problem still exists
Any ideas?
I see that other people got the same problem.
There is a topic created for it: https://our.umbraco.org/forum/extending-umbraco-and-using-the-api/76069-examine-deletes-member-from-its-index
And a issue is created for it: http://issues.umbraco.org/issue/U4-8291
Anyone got a workaround for it?
is working on a reply...