If it’s in the recycle bin, it ain’t deleted

March 13, 2008

In EPiServer 4.61, you can handle the event for deleting a page and moving it. However, the event for putting a page in the recycle bin is not EPDataFactory.DeletingPage. No, it’s EPDataFactory.MovingPage… since you’re moving it to the bin. When you empty the bin you delete it. It totally makes sense from a developer perspective, but from a human language point of view? Compare it to deleting stuff in Windows.

If you have to keep stuff like that in your head, bugs may occur. I hope you learn from my failure to remember that, it cost me 30 minutes today.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: