click here for details... Sakai Executive Director Position Search now open
Issue Details (XML | Word | Printable)

Key: SAK-6291
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Margaret Petit
Reporter: Margaret Petit
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Sakai

total scores pages for assessments get mixed up

Created: 12-Sep-2006 16:05   Updated: 23-Oct-2008 11:09
Component/s: Tests & Quizzes (Samigo)
Affects Version/s: 2.1.2, 2.1.x, 2.2.0, 2.2.1, 2.2.2, 2.2.3
Fix Version/s: 2.3.0

Time Tracking:
Not Specified

File Attachments: 1. File 9.12.grading-comments.rtf (8 kB)
2. File sam_patch_2.1.x_JIRA_6291.tar (50 kB)


2.6.x Status: None
2.5.x Status: None
2.4.x Status: None


 Description  « Hide
Reproduced on nightly instances and on qa1-uk. If you view the total score page for multiple assessments in succession, you'll see the first one you looked at every time


Steps to reproduce:

1) Go to Tests&Quizzes for a site that has multiple assessments with scores.
(example: oracle nightly, site "Oracle 1 1 Su06")

2) Make sure there are at least 2 assessments with scores. Inactive or active, doesn't matter.

3) Click on the Scores link for one of the assessments.

4) Make a note of what you see on the total score page - adding a comment to each submission is a good marker.

5) Go back to the assessments list and click on the Scores link for a different assessment.
You will see the submissions for the first assessment you looked at "overlaid" onto the current one. The header is for the current one.

6. If assessment 2 has more submissions than assessment 1, you will see the "overlaying". I don't know how else to describe it.

7. Change something in assessment 2 - make a comment and update. Your change will vanish and the page will reset.

8. Type in the change again and click Update. This time it works.

9. Now view the scores for assessment 1 - this time you see the scores for assessment 2, including the change you just made.


Question scores do not immediately appear to be affected. Still investigating.





 All   Comments   Work Log   Change History   Subversion Commits   git Commits      Sort Order: Ascending order - Click to sort in descending order
Lydia Li added a comment - 12-Sep-2006 16:10
If you click on 'questionscore' link and then go back to 'totalscore' link, the page will be refreshed with correct content. TotalscoresBean needs to be reset somewhere.

Margaret Petit added a comment - 12-Sep-2006 16:24
This error appeared in the logs while I was adding comments to submissions in the totalscores and question scores, trying to verify mixups. Am figuring it's related.

Karen Tsao added a comment - 13-Sep-2006 12:21
I cannot reproduce the error in the log on my local instance. Following is the fix for the original issue:

$ svn commit -m "SAK-6291" authorIndex.jsp
Sending authorIndex.jsp
Transmitting file data .
Committed revision 14545.

After the nightly is built tonight, we can check to see if the error is gone.

Karen Tsao added a comment - 13-Sep-2006 15:50
Margaret,
I have rebuilt the mysql nightly and the score page is refreshed every time. I also updated the comment field of some assessment. I didn't see any error in the log file. Could you please verify this?
Thanks,
Karen

Lydia Li added a comment - 25-Sep-2006 13:45
Just to clarify, this problem appears to only affect inactive assessments. For example, if you go from an active or inactive assessment, to an Inactive assessment, the inactive assessment will show the last assessment you see, until you hit some other links, like the Question Scores link to reset the bean. However, if you go to an active assessment instead, the scores show up correctly.

Derek Ramsey added a comment - 06-Oct-2006 12:26
Tested and verified...closing

Daisy Flemming added a comment - 14-Nov-2006 15:18
Brian,

check check in this patch to 2.1.x. Tahnks.

daisy