[gradebook2-dev] FW: Gradebook Issue

Jon Gorrono jpgorrono at ucdavis.edu
Sun Oct 10 21:33:34 PDT 2010


I meant 'SakaiPortalLogin'

On Sun, Oct 10, 2010 at 9:33 PM, Jon Gorrono <jpgorrono at ucdavis.edu> wrote:
> Jeremy, I'm not familiar with SakaiPortal.jws... are you referring to
> SakaiLogin.jws by chance?
>
> If so, then all requests generally pass un-mediated from the browser
> to the server.... so the normal browser agent should be used.
>
> If not, can you send a link to the file in foundation svn or otherwise
> point it out?
>
> Thanks
>
>
> On Sat, Oct 9, 2010 at 12:26 AM, Thomas Amsler <tpamsler at ucdavis.edu> wrote:
>> In your specific case, we could generally "reset" the cache settings in
>> Export.java. We just need to understand if there are any side effects for
>> other browsers that handle this correctly.
>> -- Thomas
>> On Fri, Oct 8, 2010 at 11:16 PM, Kusnetz, Jeremy <JKusnetz at apus.edu> wrote:
>>>
>>> I know why.
>>>
>>>
>>>
>>> We use SakaiPortalLogin.jws for SSO logins, and stupidly all our sessions
>>> are logged saying that SakaiPortalLogin.jws is the user agent, not the
>>> actual browser (it’s the agent used to create the original session)
>>>
>>>
>>>
>>> I had opened a bug on this asking to see if the user agent is
>>> SakaiPortalLogin.jws, to update it when a person actual get’s in with their
>>> real browser, but they said they won’t fix.  Up until now it’s just been an
>>> annoyance to lose that information for logging purposes, but now it’s
>>> actually causing problems.
>>>
>>>
>>>
>>> But then again, now that I’m thinking about it, when testing in
>>> development I’m not doing SSO to log in, I’m logging in straight, so the
>>> user agent should be set correctly.
>>>
>>>
>>>
>>> Hmmm….  Like I’ve said earlier, we were already having problems with IE8
>>> also.  I’m thinking just looking at the user agent isn’t the right answer.
>>>
>>>
>>>
>>> Jeremy Kusnetz | Sr. Systems Engineer
>>>
>>> American Public University System
>>>
>>> American Military University | American Public University
>>>
>>> 661 S. George St, Charles Town, WV 25414
>>>
>>> O: 304-885-5333 | M: 703-967-5212 | jkusnetz at apus.edu
>>>
>>>
>>>
>>> From: Thomas Amsler [mailto:tpamsler at ucdavis.edu]
>>> Sent: Friday, October 08, 2010 7:06 PM
>>>
>>> To: Kusnetz, Jeremy
>>> Cc: ucd-sakai-dev at smartsite.ucdavis.edu;
>>> gradebook2-dev at collab.sakaiproject.org
>>> Subject: Re: FW: Gradebook Issue
>>>
>>>
>>>
>>> Jeremy,
>>>
>>>
>>>
>>> We just added a patch to:
>>>
>>>
>>>
>>> http://jira.sakaiproject.org/browse/GRBK-665
>>>
>>>
>>>
>>>
>>>
>>> ... it changes the minimum version from 8 to 7 for removing the cache
>>> directives. Could you please test this in our DEV environment? Also, could
>>> you please send us the request information in a case where you see this
>>> error occurring for  IE 8. We tried several systems that have IE 8 and we
>>> cannot reproduce this problem. Meaning our code in:
>>>
>>>
>>>
>>>
>>> https://source.sakaiproject.org/contrib//gradebook2/trunk/server/src/java/org/sakaiproject/gradebook/gwt/sakai/rest/resource/Export.java
>>>
>>>
>>>
>>> removes the cache directives. Any help/information that you can provide is
>>> greatly appreciated.
>>>
>>>
>>>
>>> Best,
>>>
>>> -- Thomas
>>>
>>>
>>>
>>> On Fri, Oct 8, 2010 at 12:39 PM, Kusnetz, Jeremy <JKusnetz at apus.edu>
>>> wrote:
>>>
>>> Yup, sure enough I commented out the two no-cache headers from
>>> server/src/java/org/sakaiproject/gradebook/gwt/server/RestServlet.java and
>>> it’s working in our development environment.
>>>
>>>
>>>
>>>
>>>
>>> Jeremy Kusnetz | Sr. Systems Engineer
>>>
>>>
>>>
>>> American Public University System
>>> American Military University  |  American Public University
>>> 661 S George Street, Charles Town, WV 25414
>>> T 304-885-5333 | M 703-967-5212 |  jkusnetz at apus.edu| www.apus.edu
>>>
>>>
>>>
>>> From: Thomas Amsler [mailto:tpamsler at ucdavis.edu]
>>> Sent: Friday, October 08, 2010 3:18 PM
>>>
>>> To: Kusnetz, Jeremy
>>> Cc: ucd-sakai-dev at smartsite.ucdavis.edu;
>>> gradebook2-dev at collab.sakaiproject.org
>>> Subject: Re: FW: Gradebook Issue
>>>
>>>
>>>
>>>
>>>
>>> On Fri, Oct 8, 2010 at 11:44 AM, Kusnetz, Jeremy <JKusnetz at apus.edu>
>>> wrote:
>>>
>>> Will do.
>>>
>>>
>>>
>>> It looks like it’s an https issue.
>>>
>>>
>>>
>>> We are fronting tomcat with Apache in our development environment, apache
>>> is doing the SSL termination.  In our production environment our load
>>> balancer is doing the SSL termination (but still going through Apache too
>>> (don’t ask))
>>>
>>>
>>>
>>> This is true. Jon commented in GRBK-665: "for ie8 over https, we had to
>>> remove the Pragma and No-Cache headers from the response "
>>>
>>>
>>>
>>> We are running in the same environment where we front tomcat with apache.
>>>
>>>
>>>
>>>
>>>
>>> Anyway, in development, the export works fine when I talk directly to
>>> tomcat, or through non SSL apache.  But as soon as I hit the site with SSL
>>> we get the error.
>>>
>>>
>>>
>>> Jeremy Kusnetz | Sr. Systems Engineer
>>>
>>>
>>>
>>> American Public University System
>>> American Military University  |  American Public University
>>> 661 S George Street, Charles Town, WV 25414
>>> T 304-885-5333 | M 703-967-5212 |  jkusnetz at apus.edu| www.apus.edu
>>>
>>>
>>>
>>> From: Thomas Amsler [mailto:tpamsler at ucdavis.edu]
>>> Sent: Friday, October 08, 2010 2:15 PM
>>>
>>> To: Kusnetz, Jeremy
>>> Cc: ucd-sakai-dev at smartsite.ucdavis.edu;
>>> gradebook2-dev at collab.sakaiproject.org
>>> Subject: Re: FW: Gradebook Issue
>>>
>>>
>>>
>>> Jeremy,
>>>
>>>
>>>
>>> Would you mind documenting all of your finding in reopened:
>>>
>>>
>>>
>>> http://jira.sakaiproject.org/browse/GRBK-665
>>>
>>>
>>>
>>> Thank you.
>>>
>>> -- Thomas
>>>
>>> On Fri, Oct 8, 2010 at 10:18 AM, Kusnetz, Jeremy <JKusnetz at apus.edu>
>>> wrote:
>>>
>>> It looks like IE8 is also having the same problem.
>>>
>>>
>>>
>>> Jeremy Kusnetz | Sr. Systems Engineer
>>>
>>>
>>>
>>> American Public University System
>>> American Military University  |  American Public University
>>> 661 S George Street, Charles Town, WV 25414
>>> T 304-885-5333 | M 703-967-5212 |  jkusnetz at apus.edu| www.apus.edu
>>>
>>>
>>>
>>> From: Kusnetz, Jeremy
>>> Sent: Thursday, October 07, 2010 1:41 PM
>>> To: 'Thomas Amsler'
>>>
>>> Cc: ucd-sakai-dev at smartsite.ucdavis.edu;
>>> gradebook2-dev at collab.sakaiproject.org
>>>
>>> Subject: RE: FW: Gradebook Issue
>>>
>>>
>>>
>>> This is feedback I’m getting from faculty on this issue, I’ll test out the
>>> works okay for an instructor but not logged in as themselves and get back to
>>> you.
>>>
>>>
>>>
>>> A few responded on the IE version, they are using IE7.
>>>
>>>
>>>
>>> Jeremy Kusnetz | Sr. Systems Engineer
>>>
>>>
>>>
>>> American Public University System
>>> American Military University  |  American Public University
>>> 661 S George Street, Charles Town, WV 25414
>>> T 304-885-5333 | M 703-967-5212 |  jkusnetz at apus.edu| www.apus.edu
>>>
>>>
>>>
>>> From: Thomas Amsler [mailto:tpamsler at ucdavis.edu]
>>> Sent: Thursday, October 07, 2010 1:35 PM
>>> To: Kusnetz, Jeremy
>>> Cc: ucd-sakai-dev at smartsite.ucdavis.edu;
>>> gradebook2-dev at collab.sakaiproject.org
>>> Subject: Re: FW: Gradebook Issue
>>>
>>>
>>>
>>> Jeremy,
>>>
>>>
>>>
>>> I think this is related to http://jira.sakaiproject.org/browse/GRBK-665.
>>> What version of IE are you using. From your problem description, it seems
>>> that there may be a new wrinkle to this issue. You said that if you use the
>>> same version of IE, it works for an instructor but not if you are logged in
>>> as yourself, is that correct?
>>>
>>>
>>>
>>> We may have to reopen GRBK-665 or just create a new JIRA.
>>>
>>>
>>>
>>> Best,
>>>
>>> -- Thomas
>>>
>>> On Thu, Oct 7, 2010 at 10:24 AM, Kusnetz, Jeremy <JKusnetz at apus.edu>
>>> wrote:
>>>
>>> Another small issue.  Should I open a Jira on this?
>>>
>>>
>>>
>>> Jeremy Kusnetz | Sr. Systems Engineer
>>>
>>>
>>>
>>> American Public University System
>>> American Military University  |  American Public University
>>> 661 S George Street, Charles Town, WV 25414
>>> T 304-885-5333 | M 703-967-5212 |  jkusnetz at apus.edu| www.apus.edu
>>>
>>>
>>>
>>> From: Marshall, Ryan
>>> Sent: Thursday, October 07, 2010 1:07 PM
>>> To: Dom, Jason; Kusnetz, Jeremy; Collins, Chad; Manuputy, Jack;
>>> Davis-Reinhold, Timothy
>>> Subject: Gradebook Issue
>>>
>>>
>>>
>>> Hey Guys,
>>>
>>>
>>>
>>> Just a heads up on an issue that I ran into with Sakai this morning and it
>>> seems to be restricted to IE.  If you add yourself as a participant to a
>>> course then enter it as yourself and try to export to CSV from gradebook, it
>>> gives you the error shown in my screenshot.  This doesn’t happen if you
>>> login as the instructor and this doesn’t happen at all in Firefox.  Not sure
>>> what can be done about it but just thought I’d point it out.
>>>
>>>
>>>
>>> Best Regards,
>>>
>>>
>>>
>>> Ryan Marshall | e-Classroom Support Specialist
>>>
>>> American Public University System
>>> American Military University  |  American Public University
>>> 111 W. Congress Street, Charles Town, WV 25414
>>> 1.877.468.6268 x3640| classroomsupport at apus.edu | www.apus.edu
>>>
>>>
>>>
>>> This message is private and confidential. If you have received it in
>>> error, please notify the sender and remove it from your system.
>>>
>>>
>>>
>>> This message is private and confidential. If you have received it in
>>> error, please notify the sender and remove it from your system.
>>>
>>> [see attachment: "IE_8_Gradebook.png", size: 557372 bytes]
>>>
>>> Attachments:
>>>
>>> IE_8_Gradebook.png
>>>
>>> ________________________________
>>>
>>> This automatic notification message was sent by SmartSite at UCDavis
>>> (https://smartsite.ucdavis.edu/xsl-portal) from the UCD Sakai Dev site.
>>> You can modify how you receive notifications at My Workspace >
>>> Preferences.
>>>
>>>
>>>
>>> This message is private and confidential. If you have received it in
>>> error, please notify the sender and remove it from your system.
>>>
>>>
>>>
>>> This message is private and confidential. If you have received it in
>>> error, please notify the sender and remove it from your system.
>>>
>>>
>>>
>>> ________________________________
>>>
>>> This automatic notification message was sent by SmartSite at UCDavis
>>> (https://smartsite.ucdavis.edu/xsl-portal) from the UCD Sakai Dev site.
>>> You can modify how you receive notifications at My Workspace >
>>> Preferences.
>>>
>>>
>>>
>>> This message is private and confidential. If you have received it in
>>> error, please notify the sender and remove it from your system.
>>> ________________________________
>>> This automatic notification message was sent by SmartSite at UCDavis
>>> (https://smartsite.ucdavis.edu/xsl-portal) from the UCD Sakai Dev site.
>>> You can modify how you receive notifications at My Workspace >
>>> Preferences.
>>
>>
>> ________________________________
>> This automatic notification message was sent by SmartSite at UCDavis
>> (https://smartsite.ucdavis.edu/xsl-portal) from the UCD Sakai Dev site.
>> You can modify how you receive notifications at My Workspace > Preferences.
>>
>
>
>
> --
> Jon Gorrono
> PGP Key: 0x5434509D -
> http{pgp.mit.edu:11371/pks/lookup?search=0x5434509D&op=index}
> GSWoT Introducer - {GSWoT:US75 5434509D Jon P. Gorrono <jpgorrono - gswot.org>}
> http{sysdev.ucdavis.edu}
>



-- 
Jon Gorrono
PGP Key: 0x5434509D -
http{pgp.mit.edu:11371/pks/lookup?search=0x5434509D&op=index}
GSWoT Introducer - {GSWoT:US75 5434509D Jon P. Gorrono <jpgorrono - gswot.org>}
http{sysdev.ucdavis.edu}


More information about the gradebook2-dev mailing list