This commit is contained in:
@@ -281,14 +281,28 @@ namespace DataLoader
|
||||
//recdirty |= AddContentDetail(content, STP_LNK_SEQ, TextConvert.ConvertSeq(tkstring.Substring(nxttok + 1)));
|
||||
tkstring = tkstring.Substring(0, nxttok);
|
||||
}
|
||||
|
||||
if ((nxttok = tkstring.IndexOf("\x2")) > -1) // Multiple Change Ids
|
||||
// verify that there are format flags for doing multiple change ids (DoMultipleChangeIDs) &
|
||||
// getting the change bar message from the editor (ChgBarMessageFromEdit), if these
|
||||
// two flags aren't set, don't migrate the data.
|
||||
// This was put in to fix B2012-258. An extensive search/debug session was done in 16bit to
|
||||
// see how these format flags and the data interracted. For OHLP/HLP, which only has
|
||||
// ChgBarMessageFromEdit flag, the data after the Multiple change id token was not used in
|
||||
// 16bit, at least anywhere that could be found when running the program through the debugger.
|
||||
if (fmt.PlantFormat.FormatData.ProcData.ChangeBarData.ChgBarMessageFromEdit &&
|
||||
fmt.PlantFormat.FormatData.ProcData.ChangeBarData.MultipleChangeIds)
|
||||
{
|
||||
//Console.WriteLine("Multiple Change ID: {0}", tkstring.Substring(nxttok + 1));
|
||||
ci.AddItem("Step", "MultipleChangeID", tkstring.Substring(nxttok + 1));
|
||||
recdirty = true;
|
||||
//recdirty |= AddContentDetail(content, STP_MULT_CHGID, tkstring.Substring(nxttok + 1));
|
||||
tkstring = tkstring.Substring(0, nxttok);
|
||||
if ((nxttok = tkstring.IndexOf("\x2")) > -1) // Multiple Change Ids
|
||||
{
|
||||
string tmpchgid = tkstring.Substring(nxttok + 1);
|
||||
if (tmpchgid.Length > 0)
|
||||
{
|
||||
//Console.WriteLine("Multiple Change ID: {0}", tkstring.Substring(nxttok + 1));
|
||||
ci.AddItem("Step", "MultipleChangeID", tkstring.Substring(nxttok + 1));
|
||||
recdirty = true;
|
||||
//recdirty |= AddContentDetail(content, STP_MULT_CHGID, tkstring.Substring(nxttok + 1));
|
||||
}
|
||||
tkstring = tkstring.Substring(0, nxttok);
|
||||
}
|
||||
}
|
||||
|
||||
if ((nxttok = tkstring.IndexOf("\x1")) > -1) // Comment
|
||||
|
Reference in New Issue
Block a user