[Building Sakai] Random blank pages browsing Resources in FCK Editor

Kenwrick Chan kchan at hawaii.edu
Tue Oct 13 13:08:36 PDT 2009


Thanks Murthy,
Deleting those tags solved those issues specific to jforum for our  
campus.

We were still getting period reports of users having that issue with  
mailtool as well.  As it turns out "defer =1" appears in a whole bunch  
of sakai code (we're running 2.5.3.x)

e.g.
cd /usr/local/sakai/webapps/library
find . -exec grep "defer" '{}' \; -print
// <script type="text/javascript" defer="1">chef_setupformattedtextarea 
("MyTextareaID", 640, 480);</script>
./editor/CrossBrowserRichtextEditor/sakai_editor_twinpeaks.js
// <script type="text/javascript" defer="1">chef_setupformattedtextarea 
("MyTextareaID", 640, 480);</script>
./editor/CrossBrowserRichtextEditor/sakai_editor.js
// <script type="text/javascript" defer="1">chef_setupformattedtextarea 
("MyTextareaID", 640, 480);</script>
./editor/FCKeditor/sakai_editor_twinpeaks.js
// <script type="text/javascript" defer="1">chef_setupformattedtextarea 
("MyTextareaID", 640, 480);</script>
./editor/FCKeditor/sakai_editor.js
<SCRIPT defer>
./editor/HTMLArea/popups/old_insert_image.html
   ><span class="function-name">&lt;</span><span class="html- 
tag">script</span> <span class="variable-name">type=</span><span  
class="string">&quot;text/javascript&quot;</span> <span  
class="variable-name">defer=</span><span class="string">&quot;1&quot;</ 
span><span class="function-name">&gt;</span>
./editor/HTMLArea/reference.html
// <script type="text/javascript" defer="1">chef_setupformattedtextarea 
("MyTextareaID", 640, 480);</script>
./editor/HTMLArea/sakai_editor_twinpeaks.js
// <script type="text/javascript" defer="1">chef_setupformattedtextarea 
("MyTextareaID", 640, 480);</script>

....

So we're evaluating what to do at this point (how much to edit).  The  
error doesn't always happen but it seems more likely on a slower  
network connection.

-Kenwrick


On Oct 13, 2009, at 9:51 AM, Murthy Tanniru wrote:

> Karl,
> In  jforum-tool/src/webapp/templates/default/post_form.htm and  
> jforum-tool/src/webapp/templates/default/post_pm.htm there is script  
> tag to load the editor and the tag is as below.
>
> <script type="text/javascript" defer="1">myeditor('message')</script>
>
> Remove the defer attribute on the script tag that loads Fckeditor  
> and that should fix the issue.
>
> Firefox 3.5 started supporting this attribute and that may be reason  
> some times the textarea is not displayed.
>
> --
> https://developer.mozilla.org/en/Firefox_3.5_for_developers
>
> The defer attribute is now supported on script elements
> This attribute indicates to the browser that it may choose to  
> continue to parse and render the page without waiting for the script  
> to finish executing.
>
>
> Thanks
> Murthy
> Karl Forest wrote:
>>
>> Daniel,
>>
>> Have you tried clearing the cache in Firefox, and then reloading  
>> the page? We were finding that the new versions of Firefox would  
>> not show text boxes (in jForum) using the FCK editor, and it is  
>> possible the resource loading page display is similar.
>>
>> Just a thought.
>>
>> Karl
>>
>> On Tue, Oct 13, 2009 at 5:21 AM, Daniel Merino <daniel.merino at unavarra.es 
>> > wrote:
>> Hi all.
>>
>> Some of our users are experiencing issues when loading resources in  
>> the
>> FCK Editor of our Sakai 2.5.3. When they add an image or resource  
>> with
>> the editor and select "Browse server" in the menu, sometimes they see
>> all the resources correctly, sometimes they see a blank page. I  
>> attach
>> two screenshots of the problem.
>>
>> We have tracked the logs and we think that these errors could be
>> related, but we can't be sure because the randomly of the issue.
>>
>> /WARN: fail-safe cleanup (collections) :
>> org.hibernate.engine.loading.CollectionLoadContext 
>> @1ce51<rs=org.apache.commons.dbcp.DelegatingResultSet at a555fee>
>> (2009-10-13 13:41:46,416
>> TP-Processor48_org.hibernate.engine.loading.LoadContexts)
>> WARN: fail-safe cleanup (collections) :
>> org.hibernate.engine.loading.CollectionLoadContext 
>> @6125da57<rs=org.apache.commons.dbcp.DelegatingResultSet at 2edf34f2>
>> (2009-10-13 13:42:01,328
>> TP-Processor41_org.hibernate.engine.loading.LoadContexts)
>> WARN: fail-safe cleanup (collections) :
>> org.hibernate.engine.loading.CollectionLoadContext 
>> @7c21b794<rs=org.apache.commons.dbcp.DelegatingResultSet at 339242ee>
>> (2009-10-13 13:42:01,328
>> TP-Processor41_org.hibernate.engine.loading.LoadContexts)/
>>
>> I have searched in the FCK Editor's JIRA and don't see any issue  
>> with a
>> similar description. Also, I can't test it in a QA Server because I
>> don't know why happens, so I don't know neither if I must make a  
>> JIRA of
>> this.
>>
>> Is this happening to more people? Does anybody know why this happens?
>>
>> Thanks in advance.
>> Best regards.
>>
>>
>>
>>
>>
>>
>> --
>> Daniel Merino
>> daniel.merino at unavarra.es
>> Gestor de teleformación - Centro Superior de Innovación Educativa.
>> Tfno: 948-168489 - Universidad Pública de Navarra.
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org 
>>  with a subject of "unsubscribe"
>>
>>
>>
>> -- 
>> ~~~~~~~~~~~~~~~~~~~~~~~~
>> Please note:
>> NTC’s new main phone number at our Santa Cruz headquarters is  
>> 831.600.2200
>>
>> My e-mail address and phone number have also changed. Thank you for  
>> updating your records!
>>
>> Karl Forest
>> Technology Coordinator || Sakai || Elluminate
>> New Teacher Center
>> 725 Front Street, Santa Cruz, CA 95060
>> www.newteachercenter.org  ||  831.600.2242
>>
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org 
>>  with a subject of "unsubscribe"
>
>
> -- 
> Murthy Tanniru
> Senior Learning Systems Developer
> Etudes Inc
> http://etudes.org
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org 
>  with a subject of "unsubscribe"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20091013/1ecbffdf/attachment.html 


More information about the sakai-dev mailing list