Minor: Bad "Admin Course" link
Brought to you by:
ianeboston,
john765367
If an administrator saves the URL of the Admin Site page:
http://HOST/coursework/servlet/AdminSite
and later goes there directly and logs in, the "Admin
Course" link will show as active in the navigation
trail. However, since no course has been selected in
the user's session, clicking that link will generate
the CourseWork error "Course or Section selected does
not exist in system."
Logged In: YES
user_id=550545
Needs a more descriptive error message
Logged In: YES
user_id=550545
I've seen the same now, no error message in logs, but error
page displayed in browser as reported by Ray. Since the user
has not visted a site, or the session has expired, there is
no currentNexus attribute in the session, hence when
AdminCourse is attempted there is an invalid currentNexus.
We are not going to be able to "guess" a correct nexus, and
so the error message needs to be changed to correctly
reflect the problem.
An alternative solution could be not to put the AdminCourse
url into a breadcrumb when no course is selected. However
there would still be an error if the session expired, while
the breadcrumb existed. Hence it would make more sense to
give a better error message.
Logged In: YES
user_id=735924
Would it be possible to check for the currentNexus attribute
and redirect to MyCourses if it's not there?