Hi
I am a student at the University of Sydney doing a project involving dotLRN. I have run into a problem and am hoping to get some ideas/suggestions in solving it.
I created a portlet based on the OpenACS Edit This Page application (ETP) and everything worked wonderfully after I added the applet to a community. However, everything broke down after I added the applet to a second community and the first part of the extensive error message I got is as below:
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: duplicate key violates unique constraint "cr_items_unique_name"
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 "content_folder__new" line 7 at return
SQL:
select content_folder__new('edit-this-page', 'Edit This Page', '', coalesce(etp__get_folder_id('2302'), NULL));
Has anyone run into a similar problem before? Is it at all possible to modify ETP in some way so it can be used by multiple communities without violating database rules such as the applications commonly used by dotLRN like forums and faqs?
Many Thanks!
Zen