SaaS CMS has officially launched! Learn more now.

CreatingPage event inconsistent?

Vote:
 

Hi!

I am having the same problem as described here:

 

http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=19413

 

However, I am using EPiServer 7.5 and I cannot see if there was ever made a fix to this bug. Is there a reliable way to differentiate between a copy operation and a creapte page operation from within the CreatedPage event?

 

Best regards

Jesper

#85964
May 09, 2014 12:40
Vote:
 

There is a non obvious way to detect if current operation is in copy/import/mirroring context like below:

if (EPiServer.BaseLibrary.Context.Current["CurrentITransferContext"] != null)
{
     //inside copy/import/mirroring
}

#85996
May 09, 2014 22:55
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.