-
Committer:
mattgiuca
-
Date:
2008-04-16 16:18:58 UTC
-
Revision ID:
svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:734
tutorial: BEHAVIOUR CHANGE
Now assessable="true" is an attribute of the <worksheet> element of the
subject.xml file, NOT the worksheet XML file!
Reason: This allows you to quickly see at a glance for your subject which
worksheets are assessable, all in the one place.
Also, the worksheet XML files are being auto-generated and it's much
easier to set the assessability in the subject XML file.
Also, the subject XML file is under control of the subject coordinator,
while the worksheet files may be written by other people.
All around a Good Decision(TM).
This involved:
* No longer reads "assessable" in present_worksheet.
* Now the Worksheet class has an assessable attribute.
* In present_subject, every time it runs, it will check the assessable
attribute of each worksheet against the DB to see if it has changed, and if
so, it will update the db. It DOES NOT update the mtime in the DB when it
does this (to make sure the worksheet XML still has a chance to update the
DB).
All above claims are tested and work.