• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic