Bug: exception when viewing history of deleted item from web

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
onovotny
Posts: 33
Joined: Fri Mar 19, 2004 9:54 am

Bug: exception when viewing history of deleted item from web

Post by onovotny » Wed Mar 31, 2004 9:06 pm

If you delete a file from the vault and then go to the vault web and select "recent checkins" and then on the file/folder that's deleted, click it... it'll give an exception saying:

Server Error in '/VaultService' Application.
--------------------------------------------------------------------------------

Length cannot be less than zero. Parameter name: length
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentOutOfRangeException: Length cannot be less than zero. Parameter name: length

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length]
System.String.Substring(Int32 startIndex, Int32 length) +172
VaultService.VaultWeb.VaultHistory.Page_Load(Object sender, EventArgs e) +281
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Wed Mar 31, 2004 9:35 pm

Thanks for the report - we've added it to the bug list.

Post Reply