[LON-CAPA-admin] No Cloning for ...

Stuart Raeburn raeburn at msu.edu
Wed Jul 28 10:26:20 EDT 2010


Hon Kie,

I don't see a typo there, but since 2.9.0 included the following:

lond rev 1.442
lonpickcourse.pm 1.93
lonnet.pm 1.1056.2.4 (branched at 1.1056).

replacing these with lond 1.445, lonnet.pm 1.1071 and lonpickcourse.pm  
1.98 will cause things to break, because of changes unrelated to  
cloning rights checking (especially for lonnet.pm) between these  
versions and those in the 2.9 "branch".

If the changes from 6/25  
(http://mail.lon-capa.org/pipermail/lon-capa-cvs/Week-of-Mon-20100621/021011.html) are to be included in the 2.9 branch, to address Mark's concerns pre-2.10, then I will need to backport the appropriate changes (which would then be incorporated in a 2.9.1  
release).

That said you had encountered an issue when creating a course via  
Autocreate.pl (i.e., from an XML course description file).

> I am running into the same problem when I tried to create a course in the
> fsuK12 domain. Is there any checking when cloning a course using a separate
> course request script? The script writes an xml file - does
> autocreate.pl check when trying to create a course?

Although checking for cloning rights is done in that case, in 2.9.0  
this mechanism already supports cloning of any course within the  
domain when a username and domain for a user with an active DC role is  
either:

(a) included as arguments in the call to Autocreate.pl, i.e.,

./Autocreate.pl <coursedomain  username:domain>

or if no arguments are included,

(b) are defined in the Domain Configuration for the domain of the course:

Set domain configuration -> Auto-course creation settings -> XML files  
processed as: (choose Dom. Coord.)


Hence applying the diffs from 6/25 noted above will not solve the  
issue you encountered. This must have a different cause.

Stuart Raeburn


Quoting hkng <hkng at fsu.edu>:

> Thanks Stuart, however when I do
>
> wget -O lond '
> http://source.loncapa.org/cgi-bin/cvsweb.cgi/~checkout~/loncom/lond?rev=1.445;content-type=text/plain
> '
>
> wget -O lonnet.pm '
> http://source.loncapa.org/cgi-bin/cvsweb.cgi/~checkout~/loncom/lonnet/perl/lonnet.pm?rev=1.1071;content-type=text/plain
> '
>
> HTTP request sent, awaiting response... 403 Forbidden
> 2010-07-28 08:55:28 ERROR 403: Forbidden.
>
> But
> wget -O lonpickcourse.pm '
> http://source.loncapa.org/cgi-bin/cvsweb.cgi/~checkout~/loncom/interface/lonpickcourse.pm?rev=1.98;content-type=text/plain
> '
>
> works.
>
> Can't spot where the typo is? Any ideas?
>
> -hk
>
>
> On Wed, Jul 28, 2010 at 8:45 AM, Mark Lucas <lucasm at ohio.edu> wrote:
>
>> Thanks! Will this be in the new release?
>>
>> Mark
>>
>> On Jul 28, 2010, at 8:23 AM, Stuart Raeburn wrote:
>>
>> Mark,
>>
>> Changes in lond (rev 1.445), lonpickcourse.pm (rev 1.98) and   
>> lonnet.pm(rev 1.1071) -- from June 25:
>>
>> (see
>>
>> http://mail.lon-capa.org/pipermail/lon-capa-cvs/Week-of-Mon-20100621/021011.html
>> for details),
>>
>> allow a DC to override cloning rights for an existing course (in the same
>> domain) when a DC creates a single course on behalf of the owner of the new
>> course via "Create a single course".
>>
>> The Domain Coordinator can specify cloning of any course in the domain when
>> creating a new course regardless of who will own the new course, and whether
>> they owned the existing course, had an active CC role in the existing
>> course, or otherwise had rights to clone it.
>>
>> Stuart Raeburn
>>
>>
>> Quoting Mark Lucas <lucasm at ohio.edu>:
>>
>>
>> On Jun 24, 2010, at 12:18 PM, Stuart Raeburn wrote:
>>
>>
>> The aim with 2.9 has actually been to reduce the administrative  tasks
>> which a Domain Coordinator must perform, by devolving  responsibility for
>> course creation to the faculty who will be  teaching the course.
>>
>>
>> In the future, this trend will continue by making cloning more  granular,
>> and also making cloning something that a Course  Coordinator can do directly
>> into a course that has already been  created (see:
>> http://bugs.loncapa.org/show_bug.cgi?id=6039)
>>
>>
>>
>> With respect, this is a royal pain in the butt for a smaller  installation
>> (though still somewhat big) like mine,
>>
>> where it is more desirable for me to take care of the cloning and  creation
>> of courses than to have other
>>
>> people creating courses and screwing up.
>>
>>
>> At this point instead of just creating the course, I have to find  each
>> course that I want to clone, enter it, add the
>>
>> new owner,  then go create the course. I realize this doesn't seem  like
>> much, but it roughly doubles or more the
>>
>> time it takes for me to set up courses for a quarter.
>>
>>
>> Mark
>>
>>
>>
>> --
>>
>> Mark Lucas     email: lucasm at ohiou.edu
>>
>> 252D Clippinger Lab   phone: (740)597-2984
>>
>> Department of Physics and Astronomy fax: (740)593-0433
>>
>> Ohio University
>>
>> Athens, OH 45701
>>
>>
>>
>>
>> _______________________________________________
>> LON-CAPA-admin mailing list
>> LON-CAPA-admin at mail.lon-capa.org
>> http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
>>






More information about the LON-CAPA-admin mailing list