DNN Blog

Jun 28

Posted by: Scott Willhite
6/28/2006 12:00 AM  RssIcon

I'm not going to make any attempts to wordsmith or be elegant in this series of posts.  Simply too busy for that at the moment.  But I did want to get a little information out there about my experiences in upgrading directly from 3.2.2 ==> 4.3.1.

All in all... this is a very good trip!  I think it's important to state that upfront as the remainder of this will all be about "what's broke" and "what's behaving oddly", etc.  You have to remember that we're still in stabilization mode on the 4.3 series... and by the time it's completely final it's going to be stupendous!

In no particular order... here's a few things I've encountered so far.  Some are core related, and some are module related.

  • When upgrading the HTML/Text module, if you have an "empty" module ( an instance to which no text has been added ) it will throw an error to a non-admin user.  So, for example, on the site here there is an HTML/Text module on each project page which identifies "Team Members" ( left column, middle of page ).  I've left one of the pages in error so that you can see what that looks like, here.  If you're logged in as admin, you get the nice message "Click Here To Enter Your Content".

    By the way... the edit in place on both the content and the module title is AWESOME!  However, be advised that there is some caching strangeness going on with it still.

  • Let's talk files & folders.  When I first attempted the upgrade... it left all the entries in the folders table with a trailing slash ( e.g. "subfolder/subfolder//" ).  This can cause a little confusion for all the modules ( and the core ) which reference files... so there's probably a LOT of additional problems with this at the root of them ( pun intended *grin* ).  So you'll see the entries with the double slash in the standard file picker... and if you are silly enough to try to synchronize files... you'll get double entries ( ones with double slashes and ones without ) which won't fix the issue.  It will just cause duplicate entries in the folders table which will then need to be deleted.  You need to FIX the double slashes first, and THEN resynch.  Here's a little SQL to update your folder table:

    UPDATE Folders
    SET FolderPath = REPLACE( FolderPath, '//', '/' )
    WHERE PATINDEX( '%//%', FolderPath ) > 0


    But that's not the WHOLE deal... Only run your file synch on the Portal Root.  Because if you run it against a subfolder it will INJECT the double slash in the middle instead of the original error at the end *grin*.  So you'd end up with something that looks more like this "subfolder//subfolder/"... by the way, the correct format for entries in the folders table is "subfolder/subfolder/".

This post was originally started on 6/23.  More to come...

Tags:
Categories:
Location: Blogs Parent Separator Scott Willhite

6 comment(s) so far...


Re: Tasting a little dogfood, part 1 of...

Note that, thanks to Scott's work on the upgrade of dnn.com, most of the above "issues" and many more that have been identified have been fixed in the code repository and should be in the next stabilization release.

By cnurse on   6/30/2006 3:10 PM

Re: Tasting a little dogfood, part 1 of...

Hi Scott,

I did an install of 4.3.2 onto a clean sql2000 database and a clean file system this morning. All appeared to go well.

Although, it looks like I have hit the Text/HTML problem you mention in your blog. Your description of the error lead me to add some content so it's not "empty" and doesn't contain "Click Here To Enter Your Content".

But, still no joy, as can be seen here..http://www.ibbd-fasthosts.co.uk/chemcorp/Home/tabid/70/portalid/2/Logoff.aspx

Hope that might help with the debugging...

Trev

By trevorjdaniel on   7/4/2006 1:50 PM

For Trevor...

Hey... looked at your site and seems OK?

By mrswoop on   7/4/2006 1:55 PM

Re: Tasting a little dogfood, part 1 of...

This is now version 4.3.5. I upgraded from 4.0.2 (that was an original install). I have duplicated this problem each time. When will the stabilization release to fix this be available? I have 40 more portals to upgrade. :)

By hismightiness on   10/1/2006 1:50 PM

Re: Tasting a little dogfood, part 1 of...

My experience (and that of many others) indicates that both of these issues have been dealt with some time ago. It IS possible that if you have been continuously trying the incremental upgrades that you have some potential DB integrity issues ( it is not clear which of the aforementioned issues you are asking about ). In intermediate releases ( prior to general release ) we do reach back and fix items in previous upgrade scripts. If you just kept "moving forward"... you could be left with remants from those issues that were fixed retroactively. I would recommend using a backup of one of your other 40 portals (presumably on 4.0.2) as a testbed for the upgrade using the current release package. And post about your experience doing so (plenty of help is about). Cheers.

By mrswoop on   10/1/2006 2:02 PM

Re: Tasting a little dogfood, part 1 of...

Sorry that I was not clear. I was referencing the Folder Name issue. I have created a process or checklist to correct all of the upgrade flaws that I have found so far. However, it would be nice to not need to do that. In the posts so far, it appears that many people are having the same experience as me, and we simply reference your VERY HELPFUL dogfood blogs. :)

The latest "bug" I found (which I have been posting about) is where the AddFile StProc would not allow a file to overwrite another one. There is already something in Gemini about it and Anthony Glenwright has verified the fix which I began applying this morning.

Thank you for blogging your fixes and views. It is truly appreciated!

By hismightiness on   7/13/2007 1:22 PM
Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft .NET. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.