[Building Sakai] Clog 0.9.1 ERROR: TypeError: posts is null; posts is null

Wolfgang Rohregger Wolfgang.Rohregger at mci.edu
Thu Dec 15 06:26:22 PST 2011


We've been able to fix the bug locally. It is a problem with JSON unmarshaling of posts containing UTF-8 non-printable characters. I've opened a bug report: https://jira.sakaiproject.org/browse/CLOG-77
We are preparing a patch.

Wolfgang



Von: sakai-dev-bounces at collab.sakaiproject.org [mailto:sakai-dev-bounces at collab.sakaiproject.org] Im Auftrag von Wolfgang Rohregger
Gesendet: Mittwoch, 14. Dezember 2011 11:56
An: Adrian Fish
Cc: sakai-dev at collab.sakaiproject.org
Betreff: Re: [Building Sakai] Clog 0.9.1 ERROR: TypeError: posts is null; posts is null

Hi,

the error happens in clog_utils.js:226 (as of version 0.9.1). Two of the course sites that show this problem have JSON result sets of 785KB and 4,5 MB size. The query itself works when launched from a browser, but the ajax request doesn't get a success.

Cheers,

Wolfgang


Von: sakai-dev-bounces at collab.sakaiproject.org<mailto:sakai-dev-bounces at collab.sakaiproject.org> [mailto:sakai-dev-bounces at collab.sakaiproject.org]<mailto:[mailto:sakai-dev-bounces at collab.sakaiproject.org]> Im Auftrag von Wolfgang Rohregger
Gesendet: Mittwoch, 07. Dezember 2011 11:44
An: Adrian Fish
Cc: sakai-dev at collab.sakaiproject.org<mailto:sakai-dev at collab.sakaiproject.org>
Betreff: Re: [Building Sakai] Clog 0.9.1 ERROR: TypeError: posts is null; posts is null

Hi Adrian,

it happens in a course site. Im already sure that it depends on the Clog data of the course because it happened to several sites after some time of usage.

Cheers,

Wolfgang



Von: sakai-dev-bounces at collab.sakaiproject.org<mailto:sakai-dev-bounces at collab.sakaiproject.org> [mailto:sakai-dev-bounces at collab.sakaiproject.org]<mailto:[mailto:sakai-dev-bounces at collab.sakaiproject.org]> Im Auftrag von Adrian Fish
Gesendet: Dienstag, 06. Dezember 2011 10:32
An: sakai-dev at collab.sakaiproject.org<mailto:sakai-dev at collab.sakaiproject.org>
Betreff: Re: [Building Sakai] Clog 0.9.1 ERROR: TypeError: posts is null; posts is null

Hi Wolfgang,

Does it not happen in a project site?

Cheers,
Adrian.

On 05/12/2011 16:58, Wolfgang Rohregger wrote:
Hi,

I've got an error with Clog 0.9.1

When a user tries to open Clog within a course site instead of showing the posts the following error message is displayed:

Failed to get posts. Reason: undefined

After clicking the Ok button oft the message the following error is displayed in the "All posts for this worksite" area:

[ERROR: TypeError: posts is null; posts is null]

The log produces a lot of

2011-12-05 17:43:38,687  INFO TP-Processor35 org.sakaiproject.clog.impl.PersistenceManager - getAutosavedPost: Unable to find post with id:7006404a-0ad7-4db1-9c11-241ce55b68c4

messages (with different IDs of course).

Local database used by Sakai is MySQL.

Cheers,

Wolfgang



_______________________________________________

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"


--

==================================

Adrian Fish

Software Engineer

B66 Management School

Lancaster University

Lancaster

LA1 4YW



http://www.sakaiproject.org

http://confluence.sakaiproject.org/display/YAFT/Yaft

http://confluence.sakaiproject.org/display/CLOG/Home

http://confluence.sakaiproject.org/display/BBB/Home
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20111215/d4e82f64/attachment.html 


More information about the sakai-dev mailing list