I see that this bug is listed on gemini as fixed for 03.00.11, but I'm still experiencing it in 03.01.12. I have a site that was created in English, but when viewed in Spanish, the Gallery module gives the classic "Object reference not set to instance of an object". Then if I check the logs I see a module load exception with a message of
DotNetNuke.Services.Exceptions.ModuleLoadException: Error no manejado al agregar el módulo a ContentPane ---> System.InvalidCastException: Conversion from string "2/22/2007" to type 'Date' is not valid. at Microsoft.VisualBasic.CompilerServices.DateType.FromString(String Value, CultureInfo culture) at Microsoft.VisualBasic.CompilerServices.DateType.FromString(String Value) at DotNetNuke.Modules.Gallery.GalleryXML.CreatedDate(String FileName) at DotNetNuke.Modules.Gallery.GalleryFolder.Populate() at DotNetNuke.Modules.Gallery.Utils.PopulateAllFolders(GalleryFolder rootFolder) at DotNetNuke.Modules.Gallery.Config..ctor(Int32 ModuleID) at DotNetNuke.Modules.Gallery.Config.GetGalleryConfig(Int32 ModuleID) at DotNetNuke.Modules.Gallery.Container.Initialize() at DotNetNuke.Modules.Gallery.Container.Page_Init(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.UserControl.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---
I am assuming this is caused by how the date is given 02/22/2007 in English and 22/02/2007 in Spanish. Most likely this is not an error if the date/day stored in the module has an integer value less than 13. I guess one could try to edit the database and change the date value as a workaround.