Can't remove blocks to trash

Vote:
 

It's possible to remove Pages and files but if I try to remove Blocks nothing happens. I get the alerts and everything says it wont be visible on the site anymore. And then nothing happens. The block is still there and is not moved to the trashcan. And if I try to remove a folder with the block in it it says "Failed to remove the folder x under the recycle bin. I can copy paste and move around the blocks but I can't cut and paste. Anybody know's this issue? Or have a tip on how I can troubleshoot this prob? 

(One time I got a alert in the Console, but thats all. Sayin "Cannot rad property 'isWastebasket' of undefined")

Please help, I dono what to do! I've read every single post here and I'm lost.

#70499
Apr 22, 2013 13:21
Vote:
 
{}&&{"isSuccess":false,"isPartialSuccess":false,"message":"Failed to move the content \"TestSmäll\" beneath the content \"Recycle Bin\".","extraInformation":null}

SO it fails. Why? I'm very new to epi so sorry if im confusing.

#70511
Apr 22, 2013 14:37
Vote:
 

Did you solve this? I cant remove blocks either. And if I try to cut paste I get a popup error: Det gick inte att flytta innehållet "Deluxetest" till en plats under innehållet "Ny katalog". Basically I cant move the block named "Deluxetext" to a place under the folder "Ny katalog".

All I see in the log is this:

2013-05-03 09:48:31,017 [90] DEBUG EPiServer.Shell.Web.Routing.ModuleRouteCollection: Not routing '~/episerver/cms/Stores/contentreferences/32' since it doesn't start with '~/episerver/Shell/1.0.456'
2013-05-03 09:48:31,024 [90] DEBUG EPiServer.Shell.Web.Routing.ModuleRouteCollection: Not routing '~/episerver/cms/Stores/contentreferences/32' since it doesn't start with '~/episerver/EPiServer.Packaging.UI/1.0.1092'
2013-05-03 09:48:31,032 [90] DEBUG EPiServer.Shell.Web.Routing.ModuleRouteCollection: Not routing '~/episerver/cms/Stores/contentreferences/32' since it doesn't start with '~/episerver/CMS/1.0.431'
2013-05-03 09:48:31,036 [90] DEBUG EPiServer.Shell.Web.Routing.ModuleRouteCollection: Not routing '~/episerver/cms/Stores/contentreferences/32' since it doesn't start with '~/modules'
2013-05-03 09:48:31,040 [90] DEBUG EPiServer.Shell.Web.Routing.ModuleRouteCollection: Found route with values for path:~/episerver/cms/Stores/contentreferences/32
2013-05-03 09:48:31,047 [90] DEBUG EPiServer.DataAccess.ContentSaveDB: Checking referencing content for Delete 32
2013-05-03 09:48:31,051 [90] DEBUG EPiServer.DataAccess.ContentSaveDB: Retreiving data with query
2013-05-03 09:48:31,055 [90] DEBUG EPiServer.DataAccess.ContentSaveDB: 
editDeletePageCheck
@PageID = 32,
@IncludeDecendents = False
2013-05-03 09:48:32,032 [89] DEBUG EPiServer.Shell.Web.Routing.ModuleRouteCollection: Not routing '~/episerver/cms/Stores/contentstructure/32' since it doesn't start with '~/episerver/Shell/1.0.456'
2013-05-03 09:48:32,040 [89] DEBUG EPiServer.Shell.Web.Routing.ModuleRouteCollection: Not routing '~/episerver/cms/Stores/contentstructure/32' since it doesn't start with '~/episerver/EPiServer.Packaging.UI/1.0.1092'
2013-05-03 09:48:32,047 [89] DEBUG EPiServer.Shell.Web.Routing.ModuleRouteCollection: Not routing '~/episerver/cms/Stores/contentstructure/32' since it doesn't start with '~/episerver/CMS/1.0.431'
2013-05-03 09:48:32,053 [89] DEBUG EPiServer.Shell.Web.Routing.ModuleRouteCollection: Not routing '~/episerver/cms/Stores/contentstructure/32' since it doesn't start with '~/modules'
2013-05-03 09:48:32,058 [89] DEBUG EPiServer.Shell.Web.Routing.ModuleRouteCollection: Found route with values for path:~/episerver/cms/Stores/contentstructure/32

     

 

#70893
Edited, May 03, 2013 9:49
Vote:
 

I checked the same on a demo site. This is the result from the logfile:

 

2013-05-06 09:17:29,504 [98] DEBUG EPiServer.Shell.Web.Routing.ModuleRouteCollection: Not routing '~/hemligt/UI/cms/Stores/contentreferences/95' since it doesn't start with '~/hemligt/UI/Shell/1.0.456'
2013-05-06 09:17:29,536 [98] DEBUG EPiServer.Shell.Web.Routing.ModuleRouteCollection: Not routing '~/hemligt/UI/cms/Stores/contentreferences/95' since it doesn't start with '~/hemligt/UI/EPiServer.Packaging.UI/1.0.1092'
2013-05-06 09:17:29,536 [98] DEBUG EPiServer.Shell.Web.Routing.ModuleRouteCollection: Not routing '~/hemligt/UI/cms/Stores/contentreferences/95' since it doesn't start with '~/hemligt/UI/CMS/1.0.431'
2013-05-06 09:17:29,536 [98] DEBUG EPiServer.Shell.Web.Routing.ModuleRouteCollection: Found route with values  for path:~/hemligt/UI/cms/Stores/contentreferences/95
2013-05-06 09:17:29,536 [98] DEBUG EPiServer.DataAccess.ContentSaveDB: Checking referencing content for Delete 95
2013-05-06 09:17:29,536 [98] DEBUG EPiServer.DataAccess.ContentSaveDB: Retreiving data with query
2013-05-06 09:17:29,536 [98] DEBUG EPiServer.DataAccess.ContentSaveDB: 
editDeletePageCheck
	@PageID = 95,
	@IncludeDecendents = False
2013-05-06 09:17:31,002 [94] DEBUG EPiServer.Shell.Web.Routing.ModuleRouteCollection: Not routing '~/hemligt/UI/cms/Stores/contentstructure/95' since it doesn't start with '~/hemligt/UI/Shell/1.0.456'
2013-05-06 09:17:31,002 [94] DEBUG EPiServer.Shell.Web.Routing.ModuleRouteCollection: Not routing '~/hemligt/UI/cms/Stores/contentstructure/95' since it doesn't start with '~/hemligt/UI/EPiServer.Packaging.UI/1.0.1092'
2013-05-06 09:17:31,002 [94] DEBUG EPiServer.Shell.Web.Routing.ModuleRouteCollection: Not routing '~/hemligt/UI/cms/Stores/contentstructure/95' since it doesn't start with '~/hemligt/UI/CMS/1.0.431'
2013-05-06 09:17:31,002 [94] DEBUG EPiServer.Shell.Web.Routing.ModuleRouteCollection: Found route with values  for path:~/hemligt/UI/cms/Stores/contentstructure/95
2013-05-06 09:17:31,018 [94] DEBUG EPiServer.DataAccess.ContentSaveDB: Executing database query
2013-05-06 09:17:31,018 [94] DEBUG EPiServer.DataAccess.ContentSaveDB: 
netContentMove
	@ContentID = 95,
	@DestinationContentID = 2,
	@WastebasketID = 2,
	@Archive = 0,
	@DeletedBy = 'ENERGI\ex231',
	@DeletedDate = '5/6/2013 9:17:31 AM'

    

#70950
May 06, 2013 9:28
Vote:
 

So my development site is not running the netContentMove stored procedure. We have been able to delete blocks before so we would very much like to know what it was we did that made it stop working. Permission on wastebasket was one theory. But it doesnt work to cut and paste blocks from folder to folder either - any clues?

#70951
May 06, 2013 9:31
Vote:
 

We can copy and paste blocks

#70952
May 06, 2013 10:02
Vote:
 

I've noticed a similar (or maybe same) issue in 7.1 - When deleting or moving a block, I receive the error that states the action failed and coudln't delete or move the block.  But it DOES work - the message is false.  Upon refreshing, the block is either moved to trash, or moved under the specified folder.  This only occurs with blocks, pages work properly.

#70990
May 07, 2013 2:01
Vote:
 

I can confirm that for us, this was a bug in Siteseeker. (pre Version 4.2.75.1)

Excerpt from the changelog

"Fixed issue with inability to delete EPiServer 7 blocks in edit mode after installing SiteSeeker.EPiServer module. (#5632)"

Upgrading to latest version of SiteSeeker fixed it.

#71460
May 20, 2013 11:05
Vote:
 

Hi, we are experiencing this problem on a site. Site Seeker is not installed and the block is not deleted either. Anyone got any ideas?

#81904
Feb 28, 2014 10:53
Vote:
 

Looks like the problem was in the site's codebase. It seems that the DataFactory.MovingPage event is also called for blocks too (anything inheriting ContentData presumably). We had code that assumed the content being moved inherited PageData and therefore the handler threw a TypeMismatchException which broke the call chain.

I can only assume SiteSeeker had something similar in their codebase.

#81912
Edited, Feb 28, 2014 12:19
Vote:
 

I can confirm that the Moving/MovedPage-events are actually triggered for other content than just pages. Most other page-events are just triggered for pages but for these events, we actually don't have an instance of the content, just the reference, and therefore these are currently triggered for all content. We are investigating if we can fix this glitch...

#81917
Feb 28, 2014 13:01
Vote:
 

I can concur with Paul's issue - I made the same mistake, where an exception was being thrown in the MovedPage event. Thanks!

#83242
Mar 28, 2014 1:42
Vote:
 

Can we follow the progress in this issue in som way? Bug report, support case etc?

#86978
Jun 05, 2014 14:03
AL
Vote:
 

Can somebody update link to the bug? Provided link don't exist anymore. Is it solved?

 

#119923
Apr 07, 2015 16:39
Vote:
 

http://world.episerver.com/support/Bug-list/bug/112768

#119925
Apr 07, 2015 17:14
Vote:
 
private void MovingContent(object sender, ContentEventArgs e)
{
    var contentType = ContentRepository.Get<ContentData>(e.ContentLink);

    var pageData = contentType as PageData;
    if (pageData != null)
    { 
	DO YOUR LOGIC
    }

}
#150474
Jun 20, 2016 12:54
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.