Re: Job errors in webui

Adam Tauno Williams <[email protected]>
Newsgroups gmane.comp.cms.opengroupware.user
Message-ID <1212025650.5281.9.camel@aleph>
> I got errors when creating a new task or editing an existing task -- it 
> was sporadic, but very frequent .  I was creating a Job directly (not from 
> inside a project).  I had created a few tasks last week when I was getting 
> the hang of OGO, but didn't see any errors then.  I suppose it is possible 
> that I was using the OGO from your SuSE packages then.

What packages are you using now?  Did you build from source?

> I set the Default you suggested and here's what the log said:
> First I tried to edit an existing task:
> May 28 22:22:45 ogo-webui-1.1 [7575]: CmdCtx[user2]D: Note: committed 
> transaction started at 2008-05-28 22:22:45 -0000 (duration=0.021s)

So the editing a task worked?

> Next I tried to create a new task:
> May 28 22:24:23 ogo-webui-1.1 [7575]: (1D971D9703483DDB2A) command 
> job::new({
>     category = "";
>     completionDate = "";
>     endDate = "2008-06-04 23:59:59 GMT";
>     executantId = 10191;
>     isTeamJob = 0;
>     keywords = "";
>     name = "make pizza";
>     percentComplete = 0;
>     priority = 3;
>     projectId = "";
>     startDate = "2008-05-28 00:00:00 GMT";
> }) failed:
>   name:   ObjcRuntimeException  reason: NSTemporaryString (instance) does 
> not recognize count  info:   <none>
> May 28 22:24:23 ogo-webui-1.1 [7575]: [WARN] (1D971D9703483DDB2A) tx 
> commit failed !
...
> May 28 22:24:23 ogo-webui-1.1 [7575]: [ERROR] LSWJobEditor -[OGoEditorPage 
> saveAndGoBackWithCount:]: could not perform operation!

Something is getting a string (I guess) that is expecting an array or
dictionary [hence the call to count].   That is pretty odd, we create at
least dozens of tasks every day.

> I don't know if it has any relevance, but I hadn't pasted anything to the 
> clipboard nor tried to copy anything from it, despite the first line of 
> this second log excerpt saying something about that.

Nah,  the clipboard message is meaningless.

-- 
OpenGroupware.org Users
[email protected]
http://mail.opengroupware.org/mailman/listinfo/users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.