Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...How to report this defect?How to report this defect?
Previous
 
Next
New Post
8/3/2009 11:04 AM
 

I have what I think is a defect in all modules and in the Starter Kit.  The following code snippet exists in most, if not all, data providers for modules and in the starter kit.

            If objProvider.Attributes("connectionStringName") <> "" AndAlso _
            System.Configuration.ConfigurationSettings.AppSettings(objProvider.Attributes("connectionStringName")) <> "" Then
                _connectionString = System.Configuration.ConfigurationSettings.AppSettings(objProvider.Attributes("connectionStringName"))
            Else
                _connectionString = objProvider.Attributes("connectionString")
            End If

It seems to me that this code should be replaced with the following single line

_connectionString = DotNetNuke.Common.Utilities.Config.GetConnectionString()

I would like to report a bug, but I have no idea how to properly do this so that it gets accepted. IMO, this is a very serious defect as each module should not be reading from Web.config directly for something common like the connection string.

 
New Post
8/3/2009 2:29 PM
 

Michael,

You are 100% correct that this is a bug, something that introduces new dependencies on the old "AppSettings" method of storing config information.

The proper channel for this is to submit a bug via Gemini (support.dotnetnuke.com).


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
8/4/2009 9:35 AM
 

Mitch Sellers wrote

Michael,

You are 100% correct that this is a bug, something that introduces new dependencies on the old "AppSettings" method of storing config information.

The proper channel for this is to submit a bug via Gemini (support.dotnetnuke.com).

Thanks Mitch.  One thing I have noticed after further research is that some of the newly updated core modules do in fact use the proper method.  So, maybe the new starter kit does not have the issue.  However, I think all of the core modules should at least be updated to use this method (unless it would make all modules require DNN 5.x).

 
New Post
8/4/2009 11:01 AM
 

It'd be nice to see a core developer blog about this to try to get the word out to other module developers....

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...How to report this defect?How to report this defect?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out