sandeepmohan23 / yfai_data_migration

YFAI Data Migration
0 stars 0 forks source link

Import Error #6

Open bzentgraf opened 7 years ago

bzentgraf commented 7 years ago

When trying to run imports, it generates a pretraverse log but errors out on import with the following error:

Import exit with error Error code : 516007 Import exit with error Failed during Pre Traversal of input object list

See /app/sitcons_testrun2/test_import/part_transfer/ALL_PIECE_ITEMS_DESIGN_9_importer.log for example

sandeepmohan23 commented 7 years ago

@bzentgraf, i found the following error in the syslog:

ERROR - 2017/6/13-15:14:18.931 UTC - NoId - class [Ng4_ProgramSchedule] is neither a registered table nor it is a valid class

I believe we were to leave these objects behind.

Could you check the closure rule to ensure we aren't exporting these?

rajender2k commented 7 years ago

Hi Sandeep & Brian, I looked into the import issue(#6) reported by Brian … From Syslog we noticed ‘Ng4_ProgramSchedule’ class is missing in the target…

After looking closely noticed the issue with the closure rule entries. It seems to be during import it traverses the closure rules for the TransferOptionSet in the TcXML file(YFAISiteConsolidationDefaultTM) During this its evaluating below closure rule and during this process it checking the ‘Ng4_ProgramSchedule’ class in the target and throwing error as we don’t have this source class in the target.

After I removing the ‘Ng4_ProgramSchedule’ closure rule entries ,import is going fine. But I’m still wondering why import is looking only ‘Ng4_ProgramSchedule’ class and not other source classes in the closurerule.

Earlier Brian reported pre traversal error for ‘ALL_PIECE_ITEMS_DESIGN_126.xml’ file.. Now we are not getting this error and import is going fine.

Brian>You can proceed raising a GTAC ticket ,we will get to know why its looking for this class. You can start imports again after Matt allocates space to tablespace.

Thanks Raj