Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AspDotNetStoreFront
  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Problem with Module Uploader
Previous Previous
 
Next Next
New Post 6/15/2008 10:08 AM
Unresolved
User is offline r_honey
133 posts
9th Ranked


Problem with Module Uploader 

I believe, I have found a problem (a bug) with Module Uploading process. I am discussing it here, just in case this has already been submitted, and I could not find it on the Bug Submission page.

 Suppose, I have two files with the same name, a1.ascx in my module. The difference is that  they are in different folders, like.

/MyModule/a1.ascx

/MyModule/folder/a1.ascx

Then, after the manifest is parsed, and the module is installed, DNN creates this file in only that place which appears later in the manifest (/MyModule/folder/a1.ascx in this case). The other file is simply not created, and obviously causes Run-time errors in the module.

I believe, that when a manifest is parsed, the installer caches the FileNames with their destination directories in some sort of a HashTable (or Dictionary), with the FileName being the key into the dictionary, thus leading the later definition to overwrite the earlier file definition (as the filenames are same). As a result, only the last file with that name is created.

Has somebody faced similar situation?? I have retried & confirmed that this problem exists!!!

 
New Post 6/16/2008 9:04 AM
Online now... Mitch Sellers
5708 posts
www.mitchelsellers.com
3rd Ranked




Re: Problem with Module Uploader 

Yes, I have noticed this behavior, however, since you cannot have two different files, I have always just created my modules in a way that didn't have any duplicate content.


-Mitchel Sellers
MCITP, MCPD, MCTS
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 Consulting Quotes, and DNN Technical Support Services

I reccomend 3Essentials for shared hosting and BaseCamp for project management
 
New Post 6/16/2008 11:14 AM
User is offline r_honey
133 posts
9th Ranked


Re: Problem with Module Uploader 

I faced this situation while creating a custom Member Management module.

It had 2 controls named User.ascx, in different directories, each presenting a different aspect of a Registered User. There I faced this problem first time. Had no option, but to rename one of the controls.

At a second time, in the same module, I had 2 images named default.jpg, again in different folders, each of which was to be presented as the default image in different situations.

Clearly, you cannot always assume, that a module cannot have 2 files with same name, and same name does not necessarily mean duplicate content!!!

 
New Post 6/17/2008 9:24 AM
Online now... Mitch Sellers
5708 posts
www.mitchelsellers.com
3rd Ranked




Re: Problem with Module Uploader 

I personally would disagree with that statement, if inside my module I had two controls, files, images, etc with the same name I would find it confusing and hard to manage.  if they are different aspects of something I would name them differently to keep them unique, not only for the DNN module packaging process but to keep my code easy to maintain.  At least that is my opinion.


-Mitchel Sellers
MCITP, MCPD, MCTS
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 Consulting Quotes, and DNN Technical Support Services

I reccomend 3Essentials for shared hosting and BaseCamp for project management
 
New Post 6/17/2008 11:12 AM
User is offline Sebastian Leupold
15158 posts
www.deutschnetnuke.de
1st Ranked












Re: Problem with Module Uploader 

DNN 5 will come with a new installer and new packaging format, that AFAIK will no longer have this limitation.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Problem with Module Uploader
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Bring2mind
Document Centric DNN Module Solutions
www.bring2mind.net
WEBPC™ DotNetNuke® sites for Small Business
WEBPC™ are internet consultants and web hosters catering to the small business market.
www.webpc.biz
Perpetual Motion Interactive Systems Inc.
A solutions company specializing in Microsoft enterprise technologies.
www.perpetualmotion.ca

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP