YAFLogo

broekies
  • broekies
  • 52% (Neutral)
  • YAF Forumling Topic Starter
11 years ago
I just installed the RC1 (build 2013-10-06 by Jaben) and at first glance all seems fine (I upgraded from 1.9.6.0)

But I tried to delete a post and I got an exception (index out of range or something like that).

Killing a user did work (so, deleting all posts of a user)

I tried to delete a post as a moderator (deleting someone elses) and one from my self, but both failed.

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
11 years ago

But I tried to delete a post and I got an exception (index out of range or something like that).

Can you post the full error?

broekies
  • broekies
  • 52% (Neutral)
  • YAF Forumling Topic Starter
11 years ago
Sure:

Specified argument was out of the range of valid values.

Parameter name: index

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: Specified argument was out of the range of valid values.

Parameter name: index

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: Specified argument was out of the range of valid values.

Parameter name: index]

System.Web.UI.ControlCollection.get_Item(Int32 index) +11403974

YAF.Pages.deletemessage.ToogleDeleteStatus_Click(Object sender, EventArgs e) +164

System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +154

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3707

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
11 years ago
Thanks, issue is fixed now with commit a93ce3ed6cfc36ebb7ea544fe0a0c02c3966a0cf