Caucho Forums  

This forum is permanently closed because of spam. For free community support, please visit Google Groups:


Go Back   Caucho Forums > Quercus

Reply
 
Thread Tools Display Modes
  #1  
Old 11-15-2010, 02:04 AM
Yermo Yermo is offline
Junior Member
 
Join Date: Nov 2010
Location: College Park, Md. USA
Posts: 2
Default Preview Post throws Java Exception

Thought you'd like to know, clicking preview post here in the forum post screen throws a java exception sometimes, but I'm not sure under what circumstances.

I clicked preview on my xml_parse() question and got an exception. Clicking preview here seems to work, however. For what it's worth.
Reply With Quote
  #2  
Old 12-29-2010, 12:26 PM
ksandeep ksandeep is offline
Junior Member
 
Join Date: Dec 2010
Posts: 4
Default Some of the conditions of exception

I am also getting same problem.
It seems that under following conditions 'Preview Post' is throwing exception :

1. Applying style such as bold/italic/underline/adding smiley to the message text.
2. Adding [code] and closing code tag to your message while posting code snippets.

Anyone having same issue and knowing the solution please reply.

Thanks.

Last edited by ksandeep; 12-29-2010 at 12:30 PM.
Reply With Quote
  #3  
Old 01-09-2011, 04:14 PM
domdorn domdorn is offline
Administrator
 
Join Date: Dec 2009
Location: Vienna / Austria
Posts: 97
Default

We're looking into this now.
Reply With Quote
  #4  
Old 01-10-2011, 04:17 PM
domdorn domdorn is offline
Administrator
 
Join Date: Dec 2009
Location: Vienna / Austria
Posts: 97
Default

Please try to uncomment the lines as shown in this patch and tell me if this works for you.

Code:
diff --git a/includes/class_bbcode_alt.php b/includes/class_bbcode_alt.php
index 8da71b7..f37d58b 100755
--- a/includes/class_bbcode_alt.php
+++ b/includes/class_bbcode_alt.php
@@ -467,7 +467,7 @@ class vB_BbCodeParser_ImgCheck extends vB_BbCodeParser
                {
                        if (isset($this->tag_list['option']["$tagname"]))
                        {
-                               $this->tag_list['option']["$tagname"]['callback'] = 'handle_unparsable';
+//                             $this->tag_list['option']["$tagname"]['callback'] = 'handle_unparsable';
                                unset($this->tag_list['option']["$tagname"]['html']);
                        }
                }
@@ -476,7 +476,7 @@ class vB_BbCodeParser_ImgCheck extends vB_BbCodeParser
                {
                        if (isset($this->tag_list['no_option']["$tagname"]))
                        {
-                               $this->tag_list['no_option']["$tagname"]['callback'] = 'handle_unparsable';
+//                             $this->tag_list['no_option']["$tagname"]['callback'] = 'handle_unparsable';
                                unset($this->tag_list['no_option']["$tagname"]['html']);
                        }
                }
Reply With Quote
Reply

Tags
exception, forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:15 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.