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 ForumsBlogBlogCritical Error while attaching an file to new Entry.Critical Error while attaching an file to new Entry.
Previous
 
Next
New Post
5/18/2006 5:04 AM
 

Hello,

I have an critical error on DNN 3.2.2 while trying to attach an file to new Entry. This is because EntryId for creating an directory for store new file - but I haven't already created Entry.

 

-Thanks, Alexey.

 
New Post
5/18/2006 8:27 AM
 

Alexey,

are you using the the blog upload option?

If yes, what is the error message.

regards

HP


Best regards
Hans-Peter Schelian
www.schelian.com (English)
German DotNetNuke Community
 
New Post
5/18/2006 8:39 AM
 

Yes, I'm used Upload option. This error arise if user doesn't specify Title and Text of entry - then it can't be saved to DB (entry) so attachment also cannot be saved, because EntryId should be used for creating directory for uploaded files. And exception of NullReferenceException type arise in FileController class in Blog module. Function getBlogDir or something like that.

-br, Alexey

 
New Post
5/18/2006 3:21 PM
 

I understand, thanks for the information.

But one question, what is the reason for creating an entry without title and text?

regards

HP


Best regards
Hans-Peter Schelian
www.schelian.com (English)
German DotNetNuke Community
 
New Post
5/19/2006 2:22 AM
 

Thanks You for DNN

Reason - just test this feature, that's why I don't entered Title and text:) Really, You are right, thare are no needs for user to add file without creating Entry(Title and Text), but it seems what user not informed about what when he adds file, his Entry is automatically saved. From newbie viewpoint he can enter title, text and insert files, after that he decided not to add entry - but it was already auto saved. I understand, what it is hard to code (and maybe unnecessary) some temp mechanism for storing temp files, moving them after saving Entry to another directory etc. But maybe just confirmation dialog will be good decision?

-br, Alexey

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogCritical Error while attaching an file to new Entry.Critical Error while attaching an file to new Entry.


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