Skip to content
This repository has been archived by the owner on Oct 18, 2018. It is now read-only.

A particularly nasty bug that I fixed myself! (all the while learning about GitHub) #7

Closed
wants to merge 60 commits into from

Conversation

jeremy-jameson
Copy link

No description provided.

unknown and others added 14 commits January 30, 2012 14:48
… say, Technorati) by supporting tag URLs without "/default.aspx" on the end
…at it is available to skin controls that want to format the fields differently or show additional fields)
…ial page update (e.g. when custom CAPTCHA control failed validation)
…ed by disabling the full text search engine in Web.config
…in.config file (and treat these CSS references as "remote")
- Error in PROD (i.e. "System.Web.HttpException: The file '/blog/jjameson/Services/Pingback.aspx' does not exist.")
- The "pingback" URL specified in the <link> head element should be an absolute URL (not a relative URL) according to the Pingback 1.0 specification (http://www.hixie.ch/specs/pingback/pingback)
- According to the current Subtext routing functionality, the "pingback" URL needs to include the ID of the post (e.g. "http://www.technologytoolbox.com/blog/jjameson/Services/Pingback/315.aspx")
@haacked
Copy link
Owner

haacked commented Feb 1, 2012

THANKS!!! I'll review this ASAP.

@@ -1126,6 +1126,8 @@ WHERE (c.CategoryID = @CategoryID OR @CategoryID IS NULL)
AND (c.CategoryType = @CategoryType OR @CategoryType IS NULL)
AND (c.BlogId = @BlogId OR @BlogId IS NULL)
AND c.Active <> CASE @IsActive WHEN 0 THEN -1 else 0 END
ORDER BY
c.Title
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's be explicit about ordering. This should probably be:

ORDER BY
    c.Title ASC

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

- Fix #3
- This is required to support the new **staging** deployment slot for technologytoolbox.com
This is a prerequisite for installing the latest MSTest.TestFramework NuGet package.
- Update-Package log4net -Reinstall
- Update-Package Ninject -Reinstall
- Update-Package xmlrpcnet -Reinstall

This resolves a warning in Visual Studio after updating test project to .NET 4.5.
- Install-Package MSTest.TestFramework
- Install-Package MSTest.TestAdapter
- Install-Package Microsoft.NET.Test.Sdk
- While not as "elegant" as the original EmailProvider tests, this is "good enough" for the current test scenarios
jeremy-jameson and others added 16 commits November 20, 2019 18:05
- This is required to avoid errors when building the solution on Azure DevOps hosted agents
This is necessary to avoid an error when running the tests in specific environments (e.g. EXT-VS2017-DEV3).

This assembly is installed in the GAC in some environments (e.g. EXT-VS2013-DEV1) -- presumably due to installing the corresponding version of SQL Server Express.
- Issue #8
- These two tests intermittently fail when executed on Azure DevOps hosted agents (but consistently succeed in various local environments). Change the messages to be unique to identify which assertions are actually failing.
- Fix #8
- This prevents intermittent test failures depending on the speed at which the code is executed (i.e. two entries having the same value in subtext_Content.DatePublishedUtc).
Fix intermittent test failures in Azure DevOps build pipeline
- Fixes #10
- Fixing the bug was easy...trying to create a corresponding unit test turned out to be a nightmare (I eventually punted this due to time constraints)
- The new test currently throws a NullReferenceException in Transformer.GetLinkFromLinkCategory
- TODO: Determine why UrlHelper.GetVirtualPath returns null for category route
    - Fixes #11
    - Fixing the bug was easy...but creating a corresponding unit test...not so much (similar to previous bug fix for category URLs)
@jeremy-jameson jeremy-jameson deleted the branch haacked:master April 25, 2021 21:54
@jeremy-jameson jeremy-jameson deleted the master branch April 25, 2021 21:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants