[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: seeming inconsistency in class_assign_course
- To: uu@total-knowledge.com
- Subject: Re: seeming inconsistency in class_assign_course
- From: Alexey Parshin <alexeyp@gmail.com>
- Date: Thu, 28 May 2009 18:53:16 +1000
- Delivered-to: mailing list uu@total-knowledge.com
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=opVb6nRqeNsf+2OQFooiK9SY7t/hVyq/MgFGlm11O2s=; b=G1BqPjIxSxyayxLJcuvbAWW7TDfCGTkrwvBHl90KIi91RKvu44gW0GX8pYPx5XR2yi omNkqKRNZaIqFq6YAJFrfdnD4eulCLXzSb8QnyX/ugRwM5HGHVrY1uRT/UHPD+Y+8lnv H/Cm8KsNbNdtvnWPqKGAOHul2BF/u7GWZsZe8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=XXxDTiV+44FvHp3PKVZHx7SqqEwBtfxUqA13GK/FtamO1yy3ya9O0UZmY7xASdxzpx b5txR2oyOvcwrGQ9yRoKhAb4NGFW9Th2K8rnS5mr7fG/VdrWbumHLQdWUEcqMD7ieQcv edo+P4WgKPx50u2VuKq42n/i31/nV6uiqq/YI=
- In-reply-to: <4A1D64B3.6060003@total-knowledge.com>
- Mailing-list: contact uu-help@total-knowledge.com; run by ezmlm
- References: <4A1D64B3.6060003@total-knowledge.com>
p_course_id is umo version id.
2009/5/28 Ilya A. Volynets-Evenbakh <ilya@total-knowledge.com>
> In the beginning of the above-mentioned function:
> IF NOT is_published(object_type_id('COURSE'),p_course_id) THEN
> RAISE EXCEPTION 'The course id=% must be published', p_course_id;
> END IF;
>
> Now, as far as I understand, is_published testes umo_version,
> while p_course_id would be umo_base. Am I missing something?
>
> --
> Ilya A. Volynets-Evenbakh
> http://www.total-knowledge.com
>
>
--
Alexey Parshin,
http://www.sptk.net