Forum .LRN Q&A: Photo-album question

Collapse
Posted by Jose Agustin Lopez Bueno on
Hello, all!

I am playing a bit with photo album dotlrn applet
and works very well. We want to put it in our installation
but I have one question. Is this applet only for
community/class use or one user can create and put
a particular one in his home page?

If I try to add the applet to dotlrn user template I get
the next error when display:

Error in include template "
/var/lib/aolserver/xxxxxx/packages/photo-album/www/album-chunk":
Transaction aborted: Database operation "0or1row" failed (exception NSDB, "Query was not
a statement
returning rows.") ERROR: null value in column "name" violates not-null constraint
CONTEXT: PL/pgSQL
function "content_item__new" line 85 at SQL statement PL/pgSQL function "
content_folder__new" line
31 at assignment PL/pgSQL function "photo_album__new_root_folder" line 12 at assignment
SQL: select
photo_album__new_root_folder('0') Add photos

Best regards,
Agustin

Collapse
2: Re: Photo-album question (response to 1)
Posted by Alessandro Landim on
Hi Agustin,

I commented this line to correct this error:

set context [pa_context_bar_list $folder_id]

Alessandro Landim