gustafn
committed
on 26 Dec
strangely, parameter CommDefaultSiteTemplate_p was set on wrong package_id

Before this change, the install from repo on dotlrn led to error… Show more
strangely, parameter CommDefaultSiteTemplate_p was set on wrong package_id

Before this change, the install from repo on dotlrn led to error below.

this change makes sure, that the used "package_id" is the package_id from dotlrn.

:    ERROR:  -20000: The specified package 702 AND/OR parameter CommDefaultSiteTemplate_p do not exist in the system

:    CONTEXT:  PL/pgSQL function apm__id_for_name(integer,character varying) line 13 at RAISE

:    PL/pgSQL function apm__set_value(integer,character varying,character varying) line 6 at assignment

oacs-5-10=# select * from apm_packages where package_key like '%dotlrn%';

package_id |       package_key       |       instance_name        | default_locale

------------+-------------------------+----------------------------+----------------

      1843 | dotlrn-bm               | dotLRN Bulk Mail Applet    |

      1850 | dotlrn-faq              | dotLRN FAQ Applet          |

      1868 | dotlrn-forums           | dotLRN Forums Applet       |

      1886 | dotlrn-fs               | dotLRN File Storage Applet |

      1933 | dotlrn-news             | dotLRN News Applet         |

      1981 | dotlrn-portlet          | dotLRN Portlet             |

      1998 | dotlrn-assessment       | dotLRN Assessment Applet   |

      2040 | dotlrn-bootstrap3-theme | dotLRN Bootstrap 3 Theme   |

oacs-5-10=# select * from apm_packages where package_id = 702;

package_id | package_key |     instance_name      | default_locale

------------+-------------+------------------------+----------------

       702 | acs-subsite | #acs-kernel.Main_Site# |

Show less