• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

problems with jforum 2.1.4 when jforum_posts_text.post_text is null

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jforum throws an exception when jforum_posts_text.post_text is null and don't thisplays the current thread. My be it is a result from sql injection.

My decision is:

update jforum_posts_text
set post_text=''
where post_text is null;

ALTER TABLE jforum_posts_text ALTER COLUMN post_text SET NOT NULL;

My environment - Linux, jdk 1.5, tomcat 5.5.9, postgresql 8.0, jforum 2.1.4


[originally posted on jforum.net by Anonymous]
 
What's that smell? Hey, sniff this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic