diff --git a/PROMS/DataLoader/TransitionFixer.cs b/PROMS/DataLoader/TransitionFixer.cs index b228e7bc..6d52cd88 100644 --- a/PROMS/DataLoader/TransitionFixer.cs +++ b/PROMS/DataLoader/TransitionFixer.cs @@ -55,9 +55,11 @@ namespace DataLoader { get { return _MyStepRTB; } } - public TransitionFixer(StepRTB myStepRTB) + private string _LogPath; + public TransitionFixer(StepRTB myStepRTB,string logpath) { _MyStepRTB = myStepRTB; + _LogPath = logpath; } public TimeSpan Process() { @@ -78,8 +80,8 @@ namespace DataLoader MyStepRTB.ViewRTB = false; string originalText = item.MyContent.Text; string updatedText = item.MyContent.Text; - if (item.ItemID == 1850) - Console.WriteLine("HERE"); + //if (item.ItemID == 1850) + // Console.WriteLine("HERE"); if (item.ItemDocVersionCount != 0 || item.MyPrevious != null || item.MyParent != null) { if (item.MyContent.ContentTransitionCount > 0) @@ -110,7 +112,8 @@ namespace DataLoader } Status = "Saving problems"; ErrorCount = myProblems.RTBProblems.Count; - myProblems.Save(@"C:\temp\RTBProblems.xml"); + //myProblems.Save(@"C:\temp\RTBProblems.xml"); + myProblems.Save(_LogPath + @"\RTBProblems.xml"); Status = "Done comparing"; }