Forum OpenACS Q&A: Re: Mailing-List package released

Collapse
Posted by Bjorn Thor Jonsson on

What version of OpenACS is the mailing-lists package compatible with?

Using the 5.0 branch from cvs I get the following error when choosing *Add a new mailing list* in the mailing-lists administration:

can't read "element(value)": no such element in array
    while executing
"lindex $element(value) 0"
    (procedure "template::widget::category" line 17)
    invoked from within
"template::widget::$element(widget) element $tag_attributes"
    (procedure "template::element::render" line 10)
    invoked from within
"template::element::render mailing_list_form category_ids {  }"
    ("eval" body line 1)
    invoked from within
...

Using cvs head I was able to add a new mailing list. Then when trying Mass Subscribe with a not registered email address this error occurs:

ERROR:  null value in column "username" violates not-null constraint
CONTEXT:  PL/pgSQL function "acs_user__new" line 54 at SQL statement
PL/pgSQL function "acs__add_user" line 21 at assignment
And when trying Mass Subscribe with a registered email address this error occurs:
ERROR:  duplicate key violates unique constraint "parties_email_un"
CONTEXT:  PL/pgSQL function "party__new" line 16 at SQL statement
PL/pgSQL function "person__new" line 14 at assignment
PL/pgSQL function "acs_user__new" line 28 at assignment
PL/pgSQL function "acs__add_user" line 21 at assignment

Then, still on the head installation, when choosing to add a new mailing list (which worked before) or view the existent one, the same error occurs as had on the 5.0 branch.

Collapse
Posted by Malte Sussdorff on
Well ......

The reason the package is in contrib is that we did not have the time so far to make sure it works with the 5-0 branch, as we developed it using the 5-0 HEAD in July 2003.

Timo wanted to work on this, but apparently he did not get around to do it so far.

You might want to contact C.R.Oldham or Brad Duell as they managed to get it installed. They said something about manually installing the dependencies.

In any case, I think we should use this thread to coordinate any work and success we had in getting the package to work with the 5-0 branch. Furthermore, anyone wanting to i18n this, is highly welcome as well (as this would allow us to move it to the offical tree).

Collapse
Posted by Timo Hentschel on
Ok. This seems to be a smaller problem and i will fix it (probably in categories since this is a problem with the categories package expecting the parameters as a ad_form {value}, but mailing-list providing them as {options}).
Collapse
Posted by Ben Chan on
has this error been resolved yet?  After going through /admin/install from OACS repository, it's still the same version from 2003