Copied to clipboard

Flag this post as spam?

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


  • Emil Christiansen 66 posts 148 karma points
    Nov 27, 2014 @ 12:00
    Emil Christiansen
    0

    Error on deleting node in Umbraco 6.2.4 after upgrade

    Hi!

    I am getting this error on deleting a published or unpublished node through the backoffice:

    Error handling action Unable to cast object of type Umbraco.Core.Events.MoveEventInfo`1[Umbraco.Core.Models.IContent]' to type 'Umbraco.Core.Models.IContent'.

    The node is deleted, but the content-tree collapses and the error message is of course not a good user experince.

    We have upgraded the site from a v. 4.11.10 to 6.2.4. - everything else seems to work fine.

    Thanks in advance!

    /Emil

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Nov 27, 2014 @ 12:05
    Jan Skovgaard
    0

    Hi Emil

    Does it happen on each pagetype you're trying to delete or only on specific ones?

    Do you have a pagetype, which does not contain any datepickers for instance? What if you create a new document type, which is empty and allow it to be created beneath your root node and then try to delete it. Does that go as intended or does the error still appear in that scenario?

    /Jan

  • Emil Christiansen 66 posts 148 karma points
    Nov 27, 2014 @ 12:52
    Emil Christiansen
    0

    Hi Jaaaaaaaaaaan :)

    Yes, it happens on all pagetypes - also on pagetypes without datepickers.

    I have created a new empty documenttype - and then created a node beneath the root as you said. Sadly it throws the same error.

    /Emil

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Nov 27, 2014 @ 13:06
    Jan Skovgaard
    0

    Hi Emiiiiiiiiiiiiiiiil!

    Hmm, I don't suppose that the /app_data/logs file reveal anymore information that what you have already posted above?

    /Jan

  • Emil Christiansen 66 posts 148 karma points
    Dec 02, 2014 @ 10:12
    Emil Christiansen
    0

    Hi Jaaaaaaan...

    No, unfortunately there is nothing regarding the error. I am getting this in the file logs after i have created and deleted a new node:

    2014-12-02 10:08:10,287 [28] INFO umbraco.cms.businesslogic.web.Document - [Thread 20] New document 13497 2014-12-02 10:08:31,050 [28] INFO Umbraco.Core.Publishing.PublishingStrategy - [Thread 19] Content 'Test' with Id '13497' has been unpublished. 2014-12-02 10:08:31,973 [28] WARN Umbraco.Web.Routing.DefaultUrlProvider - [Thread 19] Couldn't find any page with nodeId=13497. This is most likely caused by the page not being published.

    In the database i am seeing this:

    302597 0 13497 2014-12-02 10:08:32.210 UnPublish UnPublish performed by user 302596 0 13497 2014-12-02 10:08:20.037 Open
    302595 0 13497 2014-12-02 10:08:11.923 Save Save Content performed by user 302594 0 13497 2014-12-02 10:08:10.280 New Content 'Test' was created with Id 13497

    Does anybody have any idea what's wrong?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Dec 04, 2014 @ 10:23
    Jan Skovgaard
    0

    Hi Emiiiiiiiiiil

    Have you checked that the UI.xml file is correct? Perhaps it's missing some entries for some reason? Something that has perhaps not been merged in or whatever?

    /Jan

  • Emil Christiansen 66 posts 148 karma points
    Dec 08, 2014 @ 08:11
    Emil Christiansen
    0

    Hi Jaaaaan

    Found a solution on this.

    Apparently there was a custom-eventhandler which had a problem :(

    Thanks!

    /Emil

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Dec 08, 2014 @ 08:23
    Jan Skovgaard
    0

    Hi Emiiiiil

    Ok, cool that you managed to get it fixed - Always those darn customized things that breaks all the stuff :)

    Greet them guys'n'gals, mkay?

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft