Facing problem while copying the folder with childs

Naresh Ede asked on January 9, 2018 11:55

Hi Guys

I'm facing an issue while copying the folder into another folder , folder/file copy is not working in my site.

An exception was showing in the alert like this

Image Text

Image Text

This is what i'm getting the error.

Help me !

Correct Answer

Vinod Vutla answered on April 30, 2018 06:44

Hey Naresh,

I am sure the issue is with your code. Ideally you dont find this issue in a fresh Kentico instance.

Try finding out the Document Events like insert before or after attached to a handler was not written properly. Check this out https://docs.kentico.com/k10/custom-development/handling-global-events

Documents.Insert.After= somehandler;
0 votesVote for this answer Unmark Correct answer

Recent Answers


David te Kloese answered on January 9, 2018 12:07

Hi,

some things to check

  • Can you copy just 1 page?
  • Can you copy the complete set in the same location?
  • check if all pages you copy have a page type that is allowed under the new location
  • check if these types are assigned to the current site?
1 votesVote for this answer Mark as a Correct answer

Naresh Ede answered on January 9, 2018 13:18 (last edited on January 9, 2018 13:19)

Hi David

  1. Tried to copy single file

    output : file copied but got the same error alert

  2. Tried to copy the complete set in same location

    output : file copied and child files were not copied , got the same error in alert

  3. Checked the parent and child allowed types of page types i'm copying

    output : Configured correctly

  4. Already assigned the current site to all page types.

I didn't understand what that error in alert inferring.

0 votesVote for this answer Mark as a Correct answer

Naresh Ede answered on April 30, 2018 06:50

Thanks Vinod

It solved my problem.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.