This commit is contained in:
		| @@ -32,6 +32,7 @@ namespace DataLoader | |||||||
| 			if (userid == null || userid == "") userid = "Migration"; | 			if (userid == null || userid == "") userid = "Migration"; | ||||||
|             int tok = -1; |             int tok = -1; | ||||||
| 			//char[] chrarr = { '\x1', '\x2', '\x3', '\x5' }; | 			//char[] chrarr = { '\x1', '\x2', '\x3', '\x5' }; | ||||||
|  | 			Textm = Textm.Replace("\\", "<BackSlash>"); | ||||||
| 			char[] chrarr = { '\x1', '\x2', '\x3' }; | 			char[] chrarr = { '\x1', '\x2', '\x3' }; | ||||||
| 			try | 			try | ||||||
| 			{ | 			{ | ||||||
| @@ -76,7 +77,7 @@ namespace DataLoader | |||||||
| 				//content = Content.MakeContent(null, stptext, 20000 + int.Parse(newstptyp!=null?newstptyp:StepType),null, ManualPagebreak?ci.ToString():null, dts, userid); | 				//content = Content.MakeContent(null, stptext, 20000 + int.Parse(newstptyp!=null?newstptyp:StepType),null, ManualPagebreak?ci.ToString():null, dts, userid); | ||||||
| 				// 20000 flags step type item & 1 adjusts for 'base' in format files. | 				// 20000 flags step type item & 1 adjusts for 'base' in format files. | ||||||
| 				int contenttype = (structtype == "R") ? 20040 : 20001 + int.Parse(newstptyp != null ? newstptyp : StepType); | 				int contenttype = (structtype == "R") ? 20040 : 20001 + int.Parse(newstptyp != null ? newstptyp : StepType); | ||||||
| 				content = Content.New(null, stptext, contenttype, null, ci.ToString(), dts, userid); | 				content = Content.New(null, stptext.Replace("<BackSlash>", "\\\\"), contenttype, null, ci.ToString(), dts, userid); | ||||||
| 				content.MyZContent.OldStepSequence = ProcNumber + "|" + stpseq; | 				content.MyZContent.OldStepSequence = ProcNumber + "|" + stpseq; | ||||||
|  |  | ||||||
| 				// Before we save it, handle RO & Transitions tokens. | 				// Before we save it, handle RO & Transitions tokens. | ||||||
| @@ -136,7 +137,7 @@ namespace DataLoader | |||||||
| 				} | 				} | ||||||
| 				if (txtdirty) | 				if (txtdirty) | ||||||
| 				{ | 				{ | ||||||
| 					content.Text = stptext; | 					content.Text = stptext.Replace("<BackSlash>", "\\\\"); | ||||||
| 					//content.Save(); | 					//content.Save(); | ||||||
| 				} | 				} | ||||||
| 				if (!content.IsSavable) ErrorRpt.ErrorReport(content); | 				if (!content.IsSavable) ErrorRpt.ErrorReport(content); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user