DotNetNuke ® Portal and Module Development - www.schelian.com

 Search



Forum


 Forum update Minimize

Today: 09/12/2005 we have setup our new dedicated English forum.

From today on, please use this forum instead of the English forums on DNNPortal.DE.

I will lock the English forums on DNNPortal.DE.



 Forum Minimize
SearchForum Home
     
  DNNPortal-Download  Developing the DNNPortal-Download  ISearchable Exc...
 ISearchable Exception - Version 1.00.13
 
imgOfflineSchelianHP
118 posts
5th
Joined
12/3/2004





ISearchable Exception - Version 1.00.13
Posted: 14 Oct 05 8:06 AM (Germany)

I have seen that under some circumstances the ISearchable implementation in the DNNPortal-Download module creates a lot of exceptions.

The problem is as follows:

The following line in the methos ISearchable did not work nder all cisumstances, I don't no why, but I have tested the alternative solution and it will work.

Here the original line in version 1.00.13:

userInfo = userController.GetUserByUsername(ModInfo.PortalID,objDownload.CreatedByUser);

You can replace this line of code with the following:

userInfo = (UserInfo)CBO.FillObject(DotNetNuke.Data.DataProvider.Instance().GetUserByUsername(ModInfo.PortalID,objDownload.CreatedByUser),typeof(UserInfo));

I have allready fixed that problem for the next version.

If you don't like make the change by yourself, you can download the attached dll patch for that issues.

Download the file, unzip and copy it to the bin folder to your DotNetNuke application.


Best regards
Hans-Peter Schelian
www.schelian.com (English)
www.schelian.de (Deutsch)
German DotNetNuke Community
HPS.DNNPortal.Download.zip 
  DNNPortal-Download  Developing the DNNPortal-Download  ISearchable Exc...


Page generated in 0.453125 seconds.