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.