[Building Sakai] Random blank pages browsing Resources in FCKEditor

Daniel Merino daniel.merino at unavarra.es
Wed Oct 14 01:45:50 PDT 2009


Hi, Murthy and Karl. Thanks for your answers.

I have tracked the defer attribute in our 2.5.3 and I can see it in many 
vm, js and htm files.

The editor that fails for us is the one that is launched when you are in 
Resources and click on "Actions / Edit Content" for an html file.

I think that the implied files with the defer attribute are these:

velocity/tool/src/templates/VM_chef_library.vm
access/web-tool/src/webapp/VM_chef_library.vm

I have removed the defer attribute and deployed the tools. Now I must 
wait news of the teachers. Better said, I must wait to have no news of 
them... ;-)

Thanks and best regards.

Murthy Tanniru escribió:
> Daniel,
>
> 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 <mailto: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 at 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 at 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 at 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 <mailto: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
>>     <mailto: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
>>     <mailto: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 <http://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

-- 
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.


More information about the sakai-dev mailing list