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  |  

telerik -- supercharge your DNN websites
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Biz Modules provides professional business modules and solutions for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
FCKeditor Project
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Feedback Module...  Hide Subject - causes error when hide subject radio is selected
Previous Previous
 
Next Next
New Post 2/5/2008 3:57 AM
User is offline Sanjay Mehrotra
402 posts
www.acuitisolutions.com
8th Ranked




Re: Hide Subject - causes error when hide subject radio is selected 

ok, so here's what's happening - and unfortunately this has been the case since version 4.4.2 so a little surprised as to why this didn't bubble up before this.

The subject value is being stored in the module settings instead of the List ID  - in the case of the categories, the ID is being stored correctly and is translated correctly on the feedback form or in the view comments.

When I was doing the testing, I was creating lists for subjects like
Name: Test 1
Value: 1

Name: Test 2
Value: 2

If you do create subjects like this - you will not get an error even if you hide or show the subject field.

However in the case of the examples you guys have provided, it is obvious that you are setting the values as some text values too. In this case, the module was trying to load the correct List ID by converting the string into a number and trying to load that list item. This resulted in the error.  

Solution:
There is one line of code that needs to be changed in settings.ascx.vb  (go to line 104)
Change
.cboSubject.DataValueField = "ListValue"
to
Me.cboSubject.DataValueField = "ListID" 

Recompile the module once the changes have been made and your error should now go away plus the correct subject is sent in the email generated. I apologize for the problems this has caused and take 100% of responsiblity for this particular issue.
I would like to issue a 4.4.4 release to address this issue and can still do so but do not expect that to be released within the next couple of days which will obviously not work for you guys. Additionally I've already converted all of the code for 5.0.0 and am getting ready to send that out for beta testing shortly and would prefer if this fix can be included as part of that fix. Towards that end, I can do the following
a) provide a link for the updated dll which simply needs to be replaced in the bin folder to solve this issue.
b) send over the fixed dll to anyone who needs it via an email.

Again, my apologies for the problems this has caused and please feel free to send me an email if you need the modified version of the dll. Once I make this post, I am going to try and see if I can upload the revised dll on dotnetnuke.com itself, otherwise I will find some alternative location to host the file for users to download. (Will provide the link once I can figure out where it should reside)..


Sanjay

 

 


AcuitiDP - Oracle Data Provider for DotNetNuke
 
New Post 2/5/2008 4:38 AM
User is offline Sanjay Mehrotra
402 posts
www.acuitisolutions.com
8th Ranked




Re: Hide Subject - causes error when hide subject radio is selected 

Uploaded the "fixed" dll on the Project Downloads Page 
http://www.dotnetnuke.com/Products/Development/Forge/ModuleFeedback/Downloads/tabid/859/Default.aspx

It should be located under Other Project Files.

Thanks

Sanjay


AcuitiDP - Oracle Data Provider for DotNetNuke
 
New Post 2/5/2008 9:31 AM
User is offline Ton Hermes
202 posts
www.watermansite.com
9th Ranked


Re: Hide Subject - causes error when hide subject radio is selected 

Hi Sanjay,

I downloaded the zip file and extractet it on my pc.
There are a lot of files in it.
Where I have to place them?
In the bin folder, with all the other files?
Do I have to make a seperate folder in the bin folder?

With regards, Ton Hermes.

PS, again thanks for this great module, I have a lot of fun with it.


Art is hard work, inspiration is the cream on top of it. See my watercolors at www.watermansite.com
 
New Post 2/5/2008 4:14 PM
User is offline Sanjay Mehrotra
402 posts
www.acuitisolutions.com
8th Ranked




Re: Hide Subject - causes error when hide subject radio is selected 

Tom, not sure what  you downloaded but it should be just a dll file located inside a zip file.

Here's a link to the file directly. http://www.dotnetnuke.com/LinkClick.aspx?fileticket=k4I1PVdgC%2bw%3d&tabid=859&mid=2494

You would simply copy and replace the existing dll in your bin folder with the new one...

 

Thanks

Sanjay


AcuitiDP - Oracle Data Provider for DotNetNuke
 
New Post 2/5/2008 11:25 PM
User is offline Ton Hermes
202 posts
www.watermansite.com
9th Ranked


Re: Hide Subject - causes error when hide subject radio is selected 

Hi Sanjay,

Works perfect !!!

With regards, Ton Hermes


Art is hard work, inspiration is the cream on top of it. See my watercolors at www.watermansite.com
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Feedback Module...  Hide Subject - causes error when hide subject radio is selected
 


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.

 


DNN Photo Gallery
DNN Photo Gallery is a truly unique photo management module released January 1st 2006. With DNN Photo Gallery you can REALLY integrate images into your existing portal and make them look like they were designed for your site.
DNN Photo Gallery
Swirlhost Inc.
Affordable DotNetNuke Hosting, Skin Development, Custom Module Development, and DotNetNuke Consulting. We will install your preference of DNN and now host with us and get a free license for the Swirl AJAX Chatroom Module.
www.swirlhost.com
Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com

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