Project extensions cannot be granted without a submission

Bug #492549 reported by Nick Chadwick
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IVLE
Invalid
Medium
Nick Chadwick

Bug Description

Currently project extensions are granted on a per-assesed basis.

Assessed objects are only created once a submission is made.

This means that only groups or users which have already submitted something
can be granted an extension.

The solution to this is to create an assessed with no submissions as soon
as a project is created.

Revision history for this message
William Grant (wgrant) wrote :

I don't think it's productive to create Assesseds immediately on project creation;
that's expensive, makes it harder to delete projects later, and causes problems if a
group is created or a student joins after the project is created!

You'll note that Assessed has a static method 'get'. You should be using that when
granting an extension, as it will create the correct Assessed if it doesn't already
exist.

The way I envisage it working is that the the 'Grant extension' link will point to
something like /subjects/info1/2009/1/+projects/phase1/wgrant/+grantextension.
ExtensionView's __init__ will call Assessed.get(stuff, from, url), and everybody will
be happy.

That just means that you have to generate the table of Assesseds that have not yet
submitted the project without having the Assessed objects themselves. You could craft
a Storm query to get that information easily enough, although things would be easier
if we didn't have Assessed in the first place.

Revision history for this message
Nick Chadwick (chadnickbok) wrote :

Ah, in that case, I'm marking this as invalid.

For the record, I am generating the table of 'assigned objects' correctly, that is,
it does not rely on the assesseds, rather the groups/users assigned to the projectset.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.