This project is read-only.
3
Vote

Base sitemap provider Brings Down DNN 07.04.00 websites!

description

STEPS
Install base sitemap provider (optionally set useCachedSitemap="false").
Point browser to SearchEngineSitemap.aspx
Then point brower to home page.

ACTUAL
All modules show "Module Expired - 1/1/0001 12:00:00 AM". All modules disappear.
So everytime your site is crawled it will go down!

TO TEMPORARY FIX THIS:
Log in as host and goto Tools -> Clear Cache.

TO PERMANENTLY FIX THIS:
Remove it :(

Thanks...

file attachments

comments

JoeAucoin wrote Mar 28, 2015 at 12:19 PM

I'm having the same issue . . .It's a new install of 07.04.00 (353)

Aricie wrote Apr 30, 2015 at 8:53 PM

The bug is located in SearchEngineSiteMapProvider,

In method GetModuleSpecificPages(...) the following line is responsible:
ti.Modules = modCtl.GetPortalTabModules(portalAlias.PortalID, ti.TabID);
the Modules property from the tab parameter should not be + the target method is obsolete.
Either rely on the property's lazy loading getter, or instantiate a distinct variable with a call to the non deprecated method:
var dicModules = modCtl.GetTabModules(ti.TabID);
                if (dicModules != null)
...