Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Anton Oosthuizen 206 posts 486 karma points
    Jan 15, 2015 @ 17:41
    Anton Oosthuizen
    0

    Cannot delete member 7.2.1

    As per issue http://issues.umbraco.org/issue/U4-6113

    Please if anyone can help

    Tried to delete member from 7.2 members listview and member "Actions" menu on the member profile, receive the below error in both cases, doesnt matter if member is in groups or not.

    Failed to delete item fcb0f25a96374cb381a2976708249d1e

    Object reference not set to an instance of an object.

    EXCEPTION DETAILS:

    System.NullReferenceException: Object reference not set to an instance of an object. STACKTRACE:

    at Umbraco.Core.Persistence.Repositories.MemberRepository.PersistDeletedItem(IMember entity) at Umbraco.Core.Persistence.Repositories.RepositoryBase 2.PersistDeletedItem(IEntity entity)

    at Umbraco.Core.Persistence.UnitOfWork.PetaPocoUnitOfWork.Commit(Action`1 transactionCompleting) at Umbraco.Core.Persistence.UnitOfWork.PetaPocoUnitOfWork.Commit() at Umbraco.Core.Services.MemberService.Delete(IMember member) at Umbraco.Web.Editors.MemberController.DeleteByKey(Guid key) at lambda_method(Closure , Object , Object[] ) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>cDisplayClass13.c(Object instance, Object[] methodParameters)

  • Anton Oosthuizen 206 posts 486 karma points
    Jan 21, 2015 @ 14:13
    Anton Oosthuizen
    0

    Anyone ?

  • Josh Olson 79 posts 207 karma points
    Feb 04, 2015 @ 11:54
    Josh Olson
    0

    Same question... anyone?

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Feb 04, 2015 @ 12:06
    Jeroen Breuer
    0

    If it's a bug you can report it here: http://issues.umbraco.org/dashboard#newissue=yes

    Jeroen

  • Ayo Adesina 445 posts 1059 karma points
    Feb 04, 2015 @ 13:20
    Ayo Adesina
    0

    When you say delete a member do you mean, in the back office - Users?

    If so have you tried to disable the umbraco account save it, then delete the user.

    Stab in the dark.... give it a go,

    might get lucky.

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Feb 04, 2015 @ 13:22
    Jeroen Breuer
    0

    When looking at the stack trace I think they really try to delete a member and not a backoffice user.

    Jeroen

  • Josh Olson 79 posts 207 karma points
    Feb 04, 2015 @ 13:25
    Josh Olson
    0

    Yup, it is members that are the troublesome aspect.

    There is already an issue opened (http://issues.umbraco.org/issue/U4-6113) and it may be that 7.2.2 has already fixed this problem. I am waiting until it is officially released (hopefully soon!) and then I will try updating and seeing if the problem vanishes.

    Cheers,

    Josh

  • Anton Oosthuizen 206 posts 486 karma points
    Feb 04, 2015 @ 13:37
    Anton Oosthuizen
    0

    Hi Josh

    I'm connecting to a SQLCE db and you ?

    Regards

  • Josh Olson 79 posts 207 karma points
    Feb 04, 2015 @ 13:40
    Josh Olson
    0

    Hey Anton,

    Plain old SQL Server.

    Along with using the controls on the backend as you tried, I also attempted to delete programatically using the MemberService API. No luck there either. I have my hopes pinned on the 7.2.2 update...

    Cheers!

  • Josh Olson 79 posts 207 karma points
    Feb 24, 2015 @ 21:29
    Josh Olson
    0

    Upgraded to 7.2.2 but still no luck. Anyone got any ideas?

  • Josh Olson 79 posts 207 karma points
    Feb 24, 2015 @ 22:42
    Josh Olson
    101

    Anton, I have done some more digging and at least for me, the problem seems to be related to the upload datatype on my members. Could that be the problem for you too? I started a new thread on this topic https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/61681-Cannot-delete-member-with-Upload-datatype-in-722 with the additional information about the upload field. Hopefully one of the Umbraco Gurus out there will notice and find a fix quick!

  • Anton Oosthuizen 206 posts 486 karma points
    Feb 25, 2015 @ 07:13
    Anton Oosthuizen
    0

    Hi Josh

    Spot on. I removed the upload datatypes and I managed to delete.

    At least we now know what is causing the problem

  • Bjørn Fridal 274 posts 784 karma points
    Jun 02, 2015 @ 09:15
    Bjørn Fridal
    0

    Hi,

    Just had the same problem. I couldn't delete members with the upload datatype and no uploaded file. So I could upload a file to the members in question and then delete them.

    Cheers
    Bjørn Fridal 

Please Sign in or register to post replies

Write your reply to:

Draft