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.
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?
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
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?
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
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
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
Hi Emiiiiiiiiiiiiiiiil!
Hmm, I don't suppose that the /app_data/logs file reveal anymore information that what you have already posted above?
/Jan
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?
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
Hi Jaaaaan
Found a solution on this.
Apparently there was a custom-eventhandler which had a problem :(
Thanks!
/Emil
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
is working on a reply...