Menu

#12 Minor: Bad "Admin Course" link

2.5
open
5
2003-10-28
2003-10-21
Ray Davis
No

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."

Discussion

  • Ian Boston

    Ian Boston - 2003-10-28

    Logged In: YES
    user_id=550545

    Needs a more descriptive error message

     
  • Ian Boston

    Ian Boston - 2003-10-28
    • assigned_to: nobody --> tmadhavi
     
  • Ian Boston

    Ian Boston - 2003-11-03

    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.

     
  • Andrew R. Thornton

    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?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.