Forum OpenACS Development: Re: Announcement - contacts-heavy application being developed - accepting feature requests

Hi All,

I downloaded contacts package from cvs ( -r oacs-5-1) and all requirements for it. Required packages and its versions

organizations version="0.3d" postal-address version="0.1d" ref-countries version="0.1d" ref-us-counties version="0.1d" ref-us-states version="0.1d" ref-us-zipcodes version="0.1d" telecom-number version="0.1d" ref-language version="0.1d" ref-itu version="0.1d"

were downloaded with -r openacs-5-1-1-final.

All packages ok in oacs-5-1-1-final. I could add a person contact, archive contacts, filters working ok.

When trying install on dotlrn (-r oacs-5-1) organizations package failed with this error:
Error: Failed to install Organization, version 0.3d. The following error was generated: psql:organizations-plsql-create.sql:28: ERROR: duplicate key violates unique constraint "acs_obj_types_pretty_name_un" CONTEXT: PL/pgSQL function "acs_object_type__create_type" line 37 at SQL statement PL/pgSQL function "inline_0" line 3 at perform
I think this error is because I have Ernie's lors package on my dotlrn install. In its datamodel lors package use same pretty_name "Organization" as organization package use to perform "acs_object_type__create_type"

see: http://cvs.openacs.org/cvs/openacs-4/packages/lors/sql/postgresql/lors-imscp-create.sql?rev=1.1.1.1&only_with_tag=HEAD&view=markup and look for "Organization"

and

http://cvs.openacs.org/cvs/openacs-4/packages/organizations/sql/postgresql/organizations-plsql-create.sql?rev=1.3&only_with_tag=openacs-5-1-1-final&view=markup and look for "Organization"

I do not know if contacts and required packages developers have dotln in mind but i think having contact management for classes and communities seems a good feature and of couse scorm/ims features in lors are good too.

Maybe a change in "Organization" pretty_name for one of these packages? Could you Jade or Jon Griffin take a look and evaluate this issue? If you want you can tell me how i could help.
Orzenil,

Thanks for this bug-report. Could you actually post this in the bug-tracker?

I personally don't use the lors package, so I'm not very motiviated to fix this. But it should be on bug-tracker. I wonder if Ernie would be willing to fix it on his end?

It should be a fairly easy fix.

If nobody else fixes it, I'll probably get to it eventually. But let's first get it in bug-tracker.

Hi Jade,

The bug report about it is https://openacs.org/bugtracker/openacs/bug?bug%5fnumber=2069.

Nima added same bug reporting in https://openacs.org/bugtracker/openacs/bug?bug%5fnumber=2074

Nima was in touch with Ernie who is in charge of LORS and he will modify the conflict about duplicate pretty_name in new version of LORS.

See: https://openacs.org/forums/message-view?message_id=198666

Thanks for your attention, Jade.