[Building Sakai] Gradebook Categories & Weighting

Qu, Yuanhua yq12 at txstate.edu
Tue May 5 09:38:23 PDT 2009


Looks like setting "CATAGORY_TYPE" back to 3 ( Categories & Weighting)  in GB_GRADEBOOK_T table fix the issue.

You will see the problems when the "CATAGORY_TYPE" was 1 in GB_GRADEBOOK_T  while related categories in GB_CATEGORY_T show not removed (REMOVED is 0).

I have no idea how data can result like that inconsistent.  In current version are using  2.5.3,  when I reset back from  "Categories & Weighting"  to "No categories"   in Gradebook Setup page, and save the change, I'll see in GB_CATEGORY_T related categories were marked as removed (REMOVED value is 1).

There might be some change from 2.4.x to 2.5 that cause this, I'm not sure.  Well, at least I know how to fix the problems now. Two ways:

1.  Straightforward:  Do the fix from GB_GRADEBOOK_T like I described above to set back "CATAGORY_TYPE" to be 3 for all those sites that supposed to have "Categories & Weighting" setup.
Or
2.  Need to find out where to change in the code:  Allowing user manually change back to their previous Category & Weight setting.  Need to make the weight fields show the right percentage instead of 0.5 which should be 50 instead.

- Qu



On 5/5/09 9:33 AM, "Qu, Yuanhua" <yq12 at txstate.edu> wrote:

Have anybody experienced following issue when upgrade from 2.4 to 2.5?  I didn't find similar report in Jira and nabble (maybe I missed).  Hope I can hear something from the community.

We have upgraded sakai from 2.4.x to 2.5.3 .  We have seen following 2 problems in Gradebook ->Gradebook Setup ->Categories & Weighting:

 for those sites that already existed in 2.4.x and have  their Categories & Weighting  setup already,  when we go to those sites in 2.5.3 , and go to  Gradebook ->Gradebook Setup looking at lower part of the page for section of "Categories & Weighting"


 1.  We see "No categories" was chosen; ( It should be showing "Categories & Weighting" was chosen instead)
 2.  If we manually choose "Categories & Weighting" , it shows the categories and weights,  but not showing weights correctly; in the weight fields, it all show like 0.5 (which should show as 50), seems that it shows just like what saved in the database table and didn't convert into percentage, thus result running total shows as  1% where actually it should be 100%.

Strange thing is that these two problems don't exist if we setup Categories & Weighting now, everything pulls out correctly.   I guess the key point is converting number to percentage, I didn't see any difference data stored in GB_CATEGORY_T table between the new weights created in 2.5.3 and weights existed in 2.4.x.

Any guide would be highly appreciated.  Thanks.

- Qu




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090505/4a8c40d2/attachment.html 


More information about the sakai-dev mailing list