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...Module Import File List may contain duplicatesModule Import File List may contain duplicates
Previous
 
Next
New Post
12/23/2007 11:16 AM
 

If a Module's ModuleName and FriendlyName are the same, then the Import Module File List will contain duplicate entries.  I have created a Gemini entry DNNP-6888 about this minor bug.  If you are interested in fixing the issue you update the core (not recommended - wait for the fix), or alter the module and friendly name so they are different.

The import still works regardless of which entry choosen, but it does add some confusion on first seeing the duplication.

The addition of a test to check if they are equal will correct this issue.   In /admin/modules/Import.ascx.vb

' legacy support for files which used the FriendlyName
If objFile.Text.IndexOf("content." & CleanName(objModule.FriendlyName) & ".") <> -1 Then
    cboFiles.Items.Add(New ListItem(objFile.Text.Replace("content." & CleanName(objModule.FriendlyName) & ".", ""), objFile.Text))
End If

change to ...

' legacy support for files which used the FriendlyName
If CleanName(objModule.ModuleName) <> CleanName(objModule.FriendlyName) Then
    If objFile.Text.IndexOf("content." & CleanName(objModule.FriendlyName) & ".") <> -1 Then
        cboFiles.Items.Add(New ListItem(objFile.Text.Replace("content." & CleanName(objModule.FriendlyName) & ".", ""), objFile.Text))
    End If
End If

Hope this help - Paul.

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Module Import File List may contain duplicatesModule Import File List may contain duplicates


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