Hello,
Ran across this issue today when importing a V7 site into a brand-new V8 instance. It tried to import a child page before the parent page was imported. (page names changed to protect content)
Here is the output from the error log:
ERROR:@@Error importing document '/Dir1/Dir2/ParentPage/ChildPage'
Message: [ImportProvider.ImportDocuments]: Cannot find parent node for document '/Dir1/Dir2/ParentPage/ChildPage'.
Exception type: System.Exception
Stack Trace:
at CMS.DocumentEngine.DocumentImport.ImportDocuments(SiteImportSettings settings, TranslationHelper th, List1& importedDocumentIDs, TreeProvider tree)
ERROR:@@Error importing documents
Message: [ImportProvider.ImportDocuments]: Cannot find parent node for document '/Dir1/Dir2/ParentPage/ChildPage'.
Exception type: System.Exception
Stack Trace:
at CMS.DocumentEngine.DocumentImport.ImportDocuments(SiteImportSettings settings, TranslationHelper th, List1& importedDocumentIDs, TreeProvider tree)
at CMS.DocumentEngine.DocumentImport.ImportDocumentsData(SiteImportSettings settings, TranslationHelper th)
ERROR:@@Error during import process
Message: [ImportProvider.ImportDocuments]: Cannot find parent node for document '/Dir1/Dir2/ParentPage/ChildPage'.
Exception type: System.Exception
Stack Trace:
at CMS.DocumentEngine.DocumentImport.ImportDocuments(SiteImportSettings settings, TranslationHelper th, List1& importedDocumentIDs, TreeProvider tree)
at CMS.DocumentEngine.DocumentImport.ImportDocumentsData(SiteImportSettings settings, TranslationHelper th)
at CMS.DocumentEngine.DocumentImport.ImportObjectTypeBefore(Object sender, ImportDataEventArgs e)
at CMS.Base.AbstractHandler.CallEventHandler[TArgs](EventHandler'1 h, TArgs e)
at CMS.Base.AbstractHandler.Raise[TArgs](String partName, List'1 list, TArgs e, Boolean important)
at CMS.Base.AdvancedHandler'2.RaiseBefore(TArgs e)
at CMS.Base.AdvancedHandler'2.RaiseBefore(TArgs e)
at CMS.Base.AdvancedHandler'2.StartEvent(TArgs e, Boolean allowEvent)
at CMS.CMSImportExport.ImportProvider.ImportObjectType(SiteImportSettings settings, String objectType, Boolean siteObject, TranslationHelper th, ProcessObjectEnum processType, List'1 importedParentIds)
at CMS.CMSImportExport.ImportProvider.ImportObjectsData(SiteImportSettings settings)