job000527

norman_morse (Norman Morse)
Norman Morse created this job , modified by Perforce maintenance
Closed
Duplicate of job000174. 
Already fixed.
Problem parsing FileAction enum in ParseFilesCmndTaggedData()

Tagged data is incorrectly parsed in this code at line 78 of File.cs

if (obj.ContainsKey("action"))
{
         StringEnum<FileAction> Action = obj["action"];
}

With this code the local variable Action is not stored in the
class correctly.  It needs to be changed to:

if (obj.ContainsKey("action"))
{
         StringEnum<FileAction> seAction = obj["action"];
        Action = seAction
}
  • Details
  • Comments -
Status
Closed
Project
perforce-software-p4api-net
Severity
A
Reported By
Norman Morse
Reported Date
Modified By
Perforce maintenance
Modified Date
Owned By
norman_morse
Type
Bug