• johans
  • 51.8% (Neutral)
  • YAF Lover Topic Starter
10 years ago
Found a bug. LegacyDb.message_getRepliesList() is missing column DeleteReason.

Just make a thread with at least 3 messages. Delete two of them. Then undelete the first one.
Deletemessage.asxc.cs Page_Load() loads a preview of the other messages in the thread using:
DataTable tempdb = LegacyDb.message_getRepliesList(this.Get<HttpRequestBase>().QueryString.GetFirstOrDefault("m"));

That tempdb is loaded into a MessagePostData object which in RenderMessage() checks for
var deleteText =
                        ? this.Get<IFormatMessage>().RepairHtml((string)this.DataRow["DeleteReason"], true)
                        : this.GetText("EDIT_REASON_NA");

YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button