Right-clicking & open in new tab on unavailable item gives 404 error
Description
Attachments
Activity

Andrea Schmidt December 19, 2012 at 11:12 AM
Functional QA verified on http://nightly2.sakaiproject.org:8087/portal
2.9.x on HSQLDB - Built: 12/19/12 01:00 - Sakai sakai-2.9.x-all (Kernel 1.3-SNAPSHOT)- Server localhost

Andrea Schmidt November 16, 2012 at 12:42 PM
Verified on Rutgers 2.9 alpha - dev - Sakai 2.9-dev (Kernel 1.3.0)- Server sakai-test2
Not able to right-click & select open in new tab or new window

Charles Hedrick November 16, 2012 at 10:33 AM
This could use testing. The change is limited to the code that displays links (or buttons for a subpage displayed as button). However it oculd affect mouseovers and the special off screen note for accessibility.

Charles Hedrick November 8, 2012 at 6:38 AM
Interesting. I never considered that disabling a click wouldn't also disable a right click.
onclick="return false" will also stop a click, but has no effect on right click. Right click insists on opening a link. If there's no link, e.g. href="", it opens a new copy of the current page! The only way to make nothing happen is to omit the href completely. That's probably what I'll do, but because of the way RSF works I suspect that's going to be more complex than it sounds.
Again, this will get fixed right after the 2.9.0 final tag is cut.

Charles Hedrick November 8, 2012 at 5:15 AM
I'll look at this once the 2.9 release has been finalized. I think it's too late to deal with this at the moment.
When an item is not available because the required pre-reqs haven't been completed, on mouse-over the following message displays:
"Please complete all of the above required items before viewing this item"
In a previous version, if one right-clicked on the grayed-out link and selected 'open in another tab', the same message would be displayed in its own page.
In rc03, if you right-click and select 'open in another tab', a 404 error is displayed
Rutgers: The requested resource (/sakai-lessonbuildertool-tool/templates/) is not available.
Longsight: The requested resource is not available.