[Contrib: Evaluation System] Question about reopening evaluation and stop-date

Aaron Zeckoski azeckoski at unicon.net
Mon Apr 30 14:52:49 PDT 2012


Matt,
1) That wouldn't be reopening a closed eval then. That would reopening
an open eval. But in this case, a viewable and closed eval are both
going to pass that check so that check would not stop the eval from
being able to be reopened. I think you might have the wrong cause for
your issue. There were other issues related to closed evals not being
able to be reopened in 1.4.

https://jira.sakaiproject.org/browse/EVALSYS-1230
https://jira.sakaiproject.org/browse/EVALSYS-1135


2) Null dates are translated when the eval object is loaded from the
database and converted into actual dates. That is the right way to
handle this and populating the database with dates which will not be
updated later if the option is turned back off could lead to some
pretty ugly bugs.
I think the real issue here is that something changed in the recent
version of RSF or perhaps the date picker or some code related to it
which means there are a few issues with dates and the way they are now
processing (most notably around the fact that RSF seems to load the
date data straight from the DB instead of using the values in the
object and that it also saves the values directly back to the DB at
the end of the request cycle even if the actual services were never
called. This only happens with the dates so and not with other data on
the page and I haven't had a chance to dig into it more but it seems
like the right fix here is to drop the RSF date picker and use the
jquery one which is being suggested for use by the rest of the Sakai
community (kill 2 birds with one stone).

-AZ


On Mon, Apr 30, 2012 at 3:48 PM, Matthew Jones <matthew at longsight.com> wrote:
> 1) We had an issue where an instructor couldn't re-open an evaluation that
> was "apparently closed" come up. The problem was that it past the "due and
> stop dates" but not yet viewable. (For another week, for whatever reason)
>
> In the code it has:
>
>                 // check if already active, do nothing if not closed
>                 if (EvalUtils.checkStateAfter(currentEvalState,
> EvalConstants.EVALUATION_STATE_CLOSED, false)) {
>
> However the state order is      * States: Partial -> InQueue -> Active ->
> GracePeriod -> Closed -> Viewable (-> Deleted)
>
> Does anyone else think that it should be "checkStateAfter
> EVALUATION_STATE_GRACEPERIOD ", which would catch the closed and viewable
> states?
>
> 2) In the administration interface you can set the option
> " Use stop date (grace period) for evaluations, otherwise just use the due
> date "
>
> If later you decide to remove this, all of the stop dates are "NULL" in the
> database, and the UI looks kind of funky for displaying this field on
> previous evaluations.
>
> It seems like it this is enabled either two things should happen.
>
>   - The system should update the database and set all STOP_DATE values that
> are NULL to be equal to the DUE_DATE.
>   - If the STOP_DATE is NULL and this option is selected, display the
> DUE_DATE instead (instead of an empty area, incorrect date)
>
> I didn't want to file these as issues in-case there was a reason for them,
> but would be happy to write them up.
>
> _______________________________________________
> evaluation mailing list
> evaluation at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/evaluation
>
> TO UNSUBSCRIBE: send email to evaluation-unsubscribe at collab.sakaiproject.org
> with a subject of "unsubscribe"



-- 
Aaron Zeckoski - Software Architect - http://tinyurl.com/azprofile


More information about the evaluation mailing list