Menu

Exception in P4Record.processArray (with fix)

Help
2011-10-20
2013-04-15
  • Sebastiaan Megens

    Hello,

    The code in P4Record.processArray has a small bug that causes an exception when a perforce command returns a list with a gap in it. For example when a p4 describe command returns fileSize0, fileSize2, it will crash on the line

    list.Add(_allFields[key]);
    

    The fix is very easy, just add

    continue;
    

    just after this line:

    list.Add("");
    

    Cheers,

    SAM

     
  • Sebastiaan Megens

    Hmm, just realized that I probably should have added a tracker. Sorry for that!

    Cheers,

    SAM

     

Log in to post a comment.