This commit is contained in:
parent
eaba85067c
commit
6573db6c9f
@ -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";
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user