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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogCouple of blog issuesCouple of blog issues
Previous
 
Next
New Post
1/24/2006 12:33 AM
 

James,

Did Hans-Peter get back with you?  To me it looks like you are using the wrong version of the blog module. You should use version 3.02.00.  That might fix some of the problems you see.


Paul Davis
 
New Post
1/24/2006 1:10 AM
 

Thanks Adeian.  I just got back to his message, so I haven't done anything yet.  I temporarily fixed the two broken blogs by running "update Blog_Blogs Set UserID=<testUID> where BlogID=<dupeblogID>".

I already have quite a bit of content for the current blog, so is it possible to upgrade to 3.02.00 without loosing info?

 
New Post
1/24/2006 1:51 AM
 

I tested upgrade by just reimporting the module on my test bed.  Looks like the upgrade worked fine, but the core issue does not appear to be fixed.  Here are repro steps for creating duplicate blogs for a user (using either 3.01.21 and 3.02.00).

1) login with user that doesn't have blog, but has permission to create one
2) select create blog
3) fill out info and hit Update
4) hit back button on browser
5) refresh when prompted
6) hit Update again

This can probably happen to users if page happens to time out or they get impatient.  I haven't looked at the blog source, but the create should probably check for an existing row that matches the user ID before adding a duplicate row.

Hope this info helps.

James

 
New Post
1/24/2006 10:19 AM
 

Hmm I bet you are right.  I just spent a week tracking down a race condition that was similar to this (yet is a completly different way.) 

The upgrade should work fine with out any problems but being the pessimist I've turned into I would export the blogs using the modules export method just in case so I didn't loose anything.  You can also use the resulting xml files to delete any duplicate entries before you reimport. 

Other than that I would just delete all the duplicate entries and post a bug in the tracker with the information just as you posted it above.  That way Hans-Peter and Cathal will be sure to know about it if they miss this thread. 


Paul Davis
 
New Post
1/24/2006 10:33 AM
 

Be sure, I didn't miss this thread, and I believe that this is a way (browser back button - hello why should anybody do that) to create more then one main blog for the same user.

And for people who use the browser button for navigation  instead of using the dnn menu and or links I will add some additional error handling.

regards

HP


Best regards
Hans-Peter Schelian
www.schelian.com (English)
German DotNetNuke Community
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogCouple of blog issuesCouple of blog issues


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