|
|
Subject: Custom Grading Scales: Student Status - msg#00524
List: cms.sakai.devel
I've been working with adding Custom grade mapping. I've been able
to add two different scales, one for Undergraduate and Graduate. I'm
having problems with status type messages in this. For example:
* Incomplete
* Withdraw
* Withdraw Passing
* Withdraw Failing
* Extension
It would be nice to add these options to the list after F or even to
create a new summary field for student status in the gradebook. I've
tried to modify the grade mapping.
grades.add("F");
grades.add("W");
grades.add("WP");
grades.add("WF");
defaultValues.add(new Double(03));
defaultValues.add(new Double(02));
defaultValues.add(new Double(01));
defaultValues.add(new Double(00));
No matter if I create these with 00 for all four or as I did it here,
it does not work properly. It seems to work properly when I just
have W and 00 as a defualtValues. However it would be nice to do
more than we have.
What options do I have to work on this?
What problems would I have if I left one extra field that seems to
work? [grades.add("W"); defaultValues.add(new Double(00));]
Jeremy
Jeremy Peterson, MACS
Automation Systems Administrator
Crowell Library
Moody Bible Institute
820 N. LaSalle Drive
Chicago, IL, 60610
Email: jpeterso@xxxxxxxxx
Phone: 312.329.8081
Fax: 312.329.8959
[see attachment: "message0.html", size: 2193 bytes]
Attachments:
message0.html
http://collab.sakaiproject.org/access/content/attachment/b64db0df-cd58-4a69-80ac-ea8b4ad25234/message0.html
----------------------
This automatic notification message was sent by Sakai Collab
( http://collab.sakaiproject.org/portal) from the DG: Development site.
You can modify how you receive notifications at My Workspace > Preferences.
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: Unisa Email Problem
Ok, so, I log in, get to the point where I am literally just about to
post an announcement, go back to eclipse, add a exception breakpoint on
java.lang.Exception, do a post, and viola!
I get a class not found exception for the class
org.sakaiproject.service.legacy.notification.cover.NotificationService
Somehow, this exception is ignored down the line, not logged, and
therefore I guess the notification is just never sent...
So, obviously I have something wrong with my jars in the wrong place or
jars missing, but I can't think why! The class mentioned is absolutely
available through the shared/lib/sakai-legacy-service-2.0.1.jar:
[vdberj@pc-2370336 lib]$ jar tvf sakai-legacy-service-2.0.1.jar | grep
NotificationService
860 Tue Mar 28 07:30:22 SAST 2006
org/sakaiproject/service/legacy/notification/NotificationService$1.class
4196 Tue Mar 28 07:30:22 SAST 2006
org/sakaiproject/service/legacy/notification/cover/NotificationService.class
2247 Tue Mar 28 07:30:22 SAST 2006
org/sakaiproject/service/legacy/notification/NotificationService.class
[vdberj@pc-2370336 lib]$ pwd
/home/vdberj/sakai/jakarta-tomcat-5.5.9/shared/lib
Below is the stack trace.
Thread [http-8080-Processor21] (Suspended (exception
ClassNotFoundException))
URLClassLoader$1.run() line: 199 [local variables unavailable]
AccessController.doPrivileged(PrivilegedExceptionAction,
AccessControlContext) line: not available [native method]
Launcher$ExtClassLoader(URLClassLoader).findClass(String) line: 187
Launcher$ExtClassLoader(ClassLoader).loadClass(String, boolean) line:
289
Launcher$AppClassLoader(ClassLoader).loadClass(String, boolean) line:
282
Launcher$AppClassLoader.loadClass(String, boolean) line: 274
Launcher$AppClassLoader(ClassLoader).loadClass(String) line: 235
WebappClassLoader.loadClass(String, boolean) line: 1247
WebappClassLoader.loadClass(String) line: 1181
WebappClassLoader(ClassLoader).loadClassInternal(String) line: 302
AnnouncementAction.doPost(RunData, Context) line: 1905
NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not
available [native method]
NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
Method.invoke(Object, Object[]) line: 324
AnnouncementAction(VelocityPortletPaneledAction).actionDispatch(String,
String, HttpServletRequest, HttpServletResponse) line: 521
AnnouncementAction(VelocityPortletPaneledAction).processAction(HttpServletRequest,
HttpServletResponse) line: 459
AnnouncementAction(ToolServlet).doGet(HttpServletRequest,
HttpServletResponse) line: 152
AnnouncementAction(VelocityPortletPaneledAction).doGet(HttpServletRequest,
HttpServletResponse) line: 929
AnnouncementAction(ToolServlet).doPost(HttpServletRequest,
HttpServletResponse) line: 127
AnnouncementAction(HttpServlet).service(HttpServletRequest,
HttpServletResponse) line: 709
AnnouncementAction(ComponentServlet).service(HttpServletRequest,
HttpServletResponse) line: 62
AnnouncementAction(HttpServlet).service(ServletRequest,
ServletResponse) line: 802
ApplicationFilterChain.internalDoFilter(ServletRequest,
ServletResponse) line: 252
ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line:
173
RequestFilter.doFilter(ServletRequest, ServletResponse, FilterChain)
line: 497
ApplicationFilterChain.internalDoFilter(ServletRequest,
ServletResponse) line: 202
ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line:
173
ApplicationDispatcher.invoke(ServletRequest, ServletResponse) line: 672
ApplicationDispatcher.processRequest(ServletRequest, ServletResponse)
line: 463
ApplicationDispatcher.doForward(ServletRequest, ServletResponse) line:
359
ApplicationDispatcher.forward(ServletRequest, ServletResponse) line:
301
ActiveToolComponent$MyActiveTool.forward(HttpServletRequest,
HttpServletResponse, Placement, String, String) line: 488
CharonPortal.forwardTool(ActiveTool, HttpServletRequest,
HttpServletResponse, Placement, String, String, String) line: 1051
CharonPortal.doTool(HttpServletRequest, HttpServletResponse, Session,
String, String, String) line: 1009
CharonPortal.doPost(HttpServletRequest, HttpServletResponse) line: 760
CharonPortal(HttpServlet).service(HttpServletRequest,
HttpServletResponse) line: 709
CharonPortal(HttpServlet).service(ServletRequest, ServletResponse)
line: 802
ApplicationFilterChain.internalDoFilter(ServletRequest,
ServletResponse) line: 252
ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line:
173
RequestFilter.doFilter(ServletRequest, ServletResponse, FilterChain)
line: 528
ApplicationFilterChain.internalDoFilter(ServletRequest,
ServletResponse) line: 202
ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line:
173
StandardWrapperValve.invoke(Request, Response) line: 213
StandardContextValve.invoke(Request, Response) line: 178
StandardHostValve.invoke(Request, Response) line: 126
ErrorReportValve.invoke(Request, Response) line: 105
StandardEngineValve.invoke(Request, Response) line: 107
CoyoteAdapter.service(Request, Response) line: 148
Http11Processor.process(InputStream, OutputStream) line: 856
Http11Protocol$Http11ConnectionHandler.processConnection(TcpConnection,
Object[]) line: 744
PoolTcpEndpoint.processSocket(Socket, TcpConnection, Object[]) line:
527
LeaderFollowerWorkerThread.runIt(Object[]) line: 80
ThreadPool$ControlRunnable.run() line: 684
ThreadWithAttributes(Thread).run() line: 534
On Thu, 2006-03-30 at 16:51 +0200, Johan van den Berg wrote:
> Here's what I've figure out thus far:
>
> By placing a breakpoints in the BaseNotification service, I can see that
> 3 transient notifications are registered (announcements, resources and
> mail archives). Then, when the first event comes, a breakpoint on the
> BaseNotification service stops the update method, and I can see that the
> event is (for instance) a user.logout event. As soon as it tries to get
> the list of notifications from the cache within the getNotifications
> method, the cache is null, and the method fails quietly with a
> NullPointerException. Therefore, none of the transient notifications get
> their respective action classes called, and no mail is sent out (in the
> event of for instance an announcement that is supposed to notify with
> email.)
>
> After the first event failed, the EventTrackingService never again calls
> the update of BaseNotificationService, and all notifications are
> therefore ignored.
>
> So, I added a breakpoint in the init method of the
> BaseNotificationService, and I see that the cache is created, but still,
> by the time it reaches the update method, there is no longer a cache.
>
> I've checked all the obvious things, such as tomcat startup parameters
> for memory, making sure the mail in general actually works, but I have
> no answer as of yet why this is happening.
>
> Hope someone can shed some light on this strange phenomenon.
>
>
>
> On Thu, 2006-03-30 at 08:47 +0200, Johan van den Berg wrote:
> > I have 2 identical systems, development and production. Both have
> > exactly the same setups, except that the one connects to development
> > Active Directory, NDS, Oracle and MySQL, and the other one to similar
> > production servers that contain a fair amount more data.
> >
> > For some very elusive reason, my development site is able to send
> > Announcement and Resource notifications via email, but production not.
> > All other email functionality within sakai works 100%, including some of
> > our own tools that use the EmailService bean in through the component
> > manager (the same one that that the NotificationService uses to send
> > mail)
> >
> > We run 2.0.1 in both environments.
> >
> > Any ideas?
> >
> > ----------------------
> > This automatic notification message was sent by Sakai Collab
> > (http://collab.sakaiproject.org/portal) from the DG: Development site.
> > You can modify how you receive notifications at My Workspace > Preferences.
> >
>
> ----------------------
> This automatic notification message was sent by Sakai Collab
> (http://collab.sakaiproject.org/portal) from the DG: Development site.
> You can modify how you receive notifications at My Workspace > Preferences.
>
----------------------
This automatic notification message was sent by Sakai Collab
(http://collab.sakaiproject.org/portal) from the DG: Development site.
You can modify how you receive notifications at My Workspace > Preferences.
Next Message by Date:
click to view message preview
RE: Spell checking Utility for Sakai?
It wasn't last night but it is now..
/**
* @author Joshua Ryan joshua.ryan@xxxxxxx
*/
-----Original Message-----
From: Charles Severance [mailto:csev@xxxxxxxxx]
Sent: Wednesday, March 29, 2006 11:40 PM
To: Joshua Ryan
Cc: Jim Eng; Lydia Li; sakai-dev
Subject: Re: Spell checking Utility for Sakai?
Joshua - does it check the configuration option and switch
synamically, or does it just do FCK??
/Chuck
On Mar 29, 2006, at 11:42 PM, Joshua Ryan wrote:
> I just finished porting the FCKeditor renderer for Samigo that I was
> speaking of last night (and my little resources connector) up to the
> current code base. It's up at:
> http://sakai.dmit.asu.edu:8081/portal normal OTB login info applies.
>
> Once inside go to Samigo and create or edit some questions, try an MC
> question if you want to see the slowness that previously
> discouraged me
> from considering this to be ready to share.
>
> /**
> * @author Joshua Ryan joshua.ryan@xxxxxxx
> */
>
>
> *** Disclaimer: this is not quite at a 'finished' state.
>
> ----------------------
> This automatic notification message was sent by Sakai Collab
> (http://collab.sakaiproject.org/portal) from the DG: Development site.
> You can modify how you receive notifications at My Workspace >
> Preferences.
>
>
>
----------------------
This automatic notification message was sent by Sakai Collab
(http://collab.sakaiproject.org/portal) from the DG: Development site.
You can modify how you receive notifications at My Workspace > Preferences.
Previous Message by Thread:
click to view message preview
RE: Customizing roles in messagecenter_m3
For the new permissions model for Message Center we have defined the
permission level to role mapping externally in sakai.properties as follows
(mc.default.role_name=permission_level):
#MC Permission Defaults
mc.default.instructor=Owner
mc.default.project\ owner=Owner
mc.default.assistant=Author
mc.default.member=Nonediting Author
mc.default.candidate=Nonediting Author
mc.default.student=Contributor
mc.default.visitor=Contributor
mc.default.observer=Reviewer
mc.default.access=Contributor
## For Sakai OOTB Roles
mc.default.Student=Contributor
mc.default.Instructor=Owner
1) To define a new default permission_level: define a type and a permission
level with matching type_uuids see:
https://source.sakaiproject.org/svn/branches/forums-dev/docs/updating/mfr_m2
-m3_oracle_conversion.sql
2) To remove a default permission_level either:
- remove the permission level from the script before deploying m3 or
- remove the default permission_level from the db directly after deployment
3) To modify an existing permission_level: modify the default
permission_level either at the script or database level (depending on if you
have deployed m3 to the app server).
On upgrading from m2, we have considered existing areas/forums/topics which
were created before the new permission level model. These objects will take
the default permission levels on first access.
Thanks,
-Jarrod
-----Original Message-----
From: David Horwitz [mailto:dhorwitz@xxxxxxxxxxxxxx]
Sent: Thursday, March 30, 2006 6:35 AM
To: sakai-dev
Subject: Customizing roles in messagecenter_m3
Hi All,
I was wondering how one went about customizing the new permission roles
in messagecenter? I mean author, contributor etc. in the forum and topic
settings. Specifically I would be interested in how one:
1) Defines an a new role
2) removes a default role
3) modifies an existing role (name, associated permissions)
I notice the the role names don't seem to be in the resource bundle so I
presume even changing the names will entail code changes. I'm also
interested in how these will behave in fora migrated from m2?
Thanks
David
--
"It remains that, from the same principles, I now demonstrate the frame
of the System of the World." - Newton "Pricipia Mathematica"
[see attachment: "dhorwitz.vcf", size: 468 bytes]
Attachments:
dhorwitz.vcf
http://collab.sakaiproject.org/access/content/attachment/f9feeb49-94c8-4d8c-
00e0-8f1dc3757e76/dhorwitz.vcf
----------------------
This automatic notification message was sent by Sakai Collab
(http://collab.sakaiproject.org/portal) from the DG: Development site.
You can modify how you receive notifications at My Workspace > Preferences.
[see attachment: "smime.p7s", size: 3103 bytes]
Attachments:
smime.p7s
http://collab.sakaiproject.org/access/content/attachment/1c61bdcf-3681-4ca9-007f-00acd835faa5/smime.p7s
----------------------
This automatic notification message was sent by Sakai Collab
(http://collab.sakaiproject.org/portal) from the DG: Development site.
You can modify how you receive notifications at My Workspace > Preferences.
Next Message by Thread:
click to view message preview
Re: Custom Grading Scales: Student Status
Ray Davis is probably the best person to answer this question, but he's
out of the office until May 4th. In his absence, I'll give your
question my best shot.
As you already know, grade mappings are used for converting numeric
scores into letter grades suitable for display to the user. Let's look
at a fictional example:
100% Z
90% Y
80% X
The gradebook checks a score (say a 92%) against the letter grade with
the highest percentage and if the score is >= the percentage, it returns
that letter.
Is 92 higher than 100? No, so this isn't a 'Z'.
It then checks the rest of the grade mappings in the same way. So what
happens if we have two grade mappings with the same percent value?
100% Z
90% Y
90% X
80% W
We can't know which letter to check first (X or Y), so we'll never know
which one to use for our 92%.
That's the long story. The short one is "you can't have multiple letter
grades mapped to the same percentage in a grade mapping right now".
There are probably ways we could handle this, such as applying an index
to each letter to impose an order independent from the percentage
value... if this is something that's important for your institution,
please submit a feature request.
Thanks,
Josh
Jeremy Peterson wrote:
I've been working with adding Custom grade mapping. I've been able to
add two different scales, one for Undergraduate and Graduate. I'm
having problems with status type messages in this. For example:
* Incomplete
* Withdraw
* Withdraw Passing
* Withdraw Failing
* Extension
It would be nice to add these options to the list after F or even to
create a new summary field for student status in the gradebook. I've
tried to modify the grade mapping.
grades.add("F");
grades.add("W");
grades.add("WP");
grades.add("WF");
defaultValues.add(new Double(03));
defaultValues.add(new Double(02));
defaultValues.add(new Double(01));
defaultValues.add(new Double(00));
No matter if I create these with 00 for all four or as I did it here,
it does not work properly. It seems to work properly when I just have
W and 00 as a defualtValues. However it would be nice to do more than
we have.
What options do I have to work on this?
What problems would I have if I left one extra field that seems to
work? [grades.add("W"); defaultValues.add(new Double(00));]
Jeremy
Jeremy Peterson, MACS
Automation Systems Administrator
Crowell Library
Moody Bible Institute
820 N. LaSalle Drive
Chicago, IL, 60610
Email: jpeterso@xxxxxxxxx
Phone: 312.329.8081
Fax: 312.329.8959 [see attachment: "message0.html", size:
2193 bytes]
Attachments:
message0.html
http://collab.sakaiproject.org/access/content/attachment/b64db0df-cd58-4a69-80ac-ea8b4ad25234/message0.html
----------------------
This automatic notification message was sent by Sakai Collab
(http://collab.sakaiproject.org/portal) from the DG: Development site.
You can modify how you receive notifications at My Workspace >
Preferences.
--
Josh Holtzman
Educational Technology Services, UC Berkeley
jholtzman@xxxxxxxxxxxx
510.643.7380
----------------------
This automatic notification message was sent by Sakai Collab
(http://collab.sakaiproject.org/portal) from the DG: Development site.
You can modify how you receive notifications at My Workspace > Preferences.
|
|