Url Manager Search Bug

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
6/17/2010 8:35:31 AM
Gravatar
Total Posts 72

Url Manager Search Bug

Joe,

Parameter count should be 4.

Diff below:

diff --git a/mojoPortal.Data.MSSQL/dbFriendlyUrl.cs b/mojoPortal.Data.MSSQL/dbFriendlyUrl.cs
--- a/mojoPortal.Data.MSSQL/dbFriendlyUrl.cs
+++ b/mojoPortal.Data.MSSQL/dbFriendlyUrl.cs
@@ -306,7 +306,7 @@
}

}

 

- SqlParameterHelper sph = new SqlParameterHelper(GetConnectionString(), "mp_FriendlyUrls_SelectSearchPage", 34);

+ SqlParameterHelper sph = new SqlParameterHelper(GetConnectionString(), "mp_FriendlyUrls_SelectSearchPage", 4);

sph.DefineSqlParameter("@SiteID", SqlDbType.Int, ParameterDirection.Input, siteId);

sph.DefineSqlParameter("@SearchTerm", SqlDbType.NVarChar, 255, ParameterDirection.Input, searchTerm);

sph.DefineSqlParameter("@PageNumber", SqlDbType.Int, ParameterDirection.Input, pageNumber);

6/17/2010 8:41:45 AM
Gravatar
Total Posts 18439

Re: Url Manager Search Bug

Thanks for the bug report and fix Ben! Just in time as I'm on the verge of a new release.

Best,

Joe

6/17/2010 9:05:37 AM
Gravatar
Total Posts 72

Re: Url Manager Search Bug

Great stuff.

While your there, don't suppose you could get rid of this line break. Such things are hard to fix with just css :)

 

diff --git a/mojoPortal.Features.UI/Blog/Controls/BlogViewControl.ascx b/mojoPortal.Features.UI/Blog/Controls/BlogViewControl.ascx
--- a/mojoPortal.Features.UI/Blog/Controls/BlogViewControl.ascx
+++ b/mojoPortal.Features.UI/Blog/Controls/BlogViewControl.ascx
@@ -92,8 +92,6 @@
<asp:Literal ID="litComment" runat="server" EnableViewState="false" Text='<%# DataBinder.Eval(Container.DataItem, "Comment").ToString() %>' />

 

</NeatHtml:UntrustedContent>

-

- <br />

</div>

</ItemTemplate>

</asp:Repeater>

6/17/2010 9:11:57 AM
Gravatar
Total Posts 72

Re: Url Manager Search Bug

Ignore that Joe (unless of course it shouldn't be there).

There's another <br/> tag that seems to be rendered above the feed links but I can't find it in the code.

You must sign in to post in the forums. This thread is closed to new posts.