expertiza/expertiza — Issue #184: New bug: MediaWiki assignment can't be reviewed
Author: efg
Created: 2012-01-31 03:51:11+00:00
State: open

If the "Wik type" for an assignment (on the assignment-creation page) is set to MediaWiki, someone attempting to review gets a Rails error, "No path needed."

This comes from line 291 in assignment.rb. This line checks whether the wiki type is not equal to 1; a type not equal to 1 means that some kind of wiki is in use. If a wiki is in use, it executes "raise PathError, "No path needed"". What this means is that if a wiki is in use, a submission directory is not needed (because student work is found on the wiki, not in submitted files). So it would make sense if the assignment actually contained a directory pathname. But in the case of the "Wiki A" assignment for CSC/ECE 506, it does not have a directory pathname, and the error is still raised.

This error must be fixed if the wiki spider is to find wiki pages without the students having to submit links to them.