Forum .LRN Q&A: Re: Re: .LRN Demo Site

Collapse
3: Re: Re: .LRN Demo Site (response to 2)
Posted by Volin Karagiozov on
I had a look at this demo site and even tried to install the evaluation package on my .LRN 2.1.1 at AUBG. I did it from install software, but when I tried to add the evaluation applet I have got an error.

Where can I find your code?

Can you give me some advice?

Regards,
Volin Karagiozov, AUBG
Here is what the system reported:
Server Error
There was a server error processing your request. We apologize.

Here is a detailed dump of what took place at the time of the error, which may assist a programmer in tracking down the problem:

Database operation "0or1row" failed (exception NSDB, "Query was not a statement returning rows.")

ERROR: Cannot insert a duplicate key into unique index acs_objects_pk

SQL:

select evaluation__new_item (
'117537', --item_id
'evaluation_grades_117537',
null,
'1344',
'117522',
current_timestamp,
'172.17.33.97',
'Exams ',
'Exams for students ',
'text/plain',
null,
null,
'text',
'content_item', -- item_subtype
'evaluation_grades' -- content_type
);


while executing
"ns_pg_bind 0or1row nsdb0 {

select evaluation__new_item (
:exams_item_id, --item_id
:exams_item_name,
null,
:creation_use..."
.....