Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-47838

Invalid links in Singleview.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8
    • Fix Version/s: 2.8
    • Component/s: Gradebook
    • Labels:
    • Testing Instructions:
      Hide

      Setup:

      • Requires Course with students.
      • Go to Grades -> Setup -> Categories and items.
      • Make a few categories and extra grade items.

      Test:

      • Go to Grades -> Singleview.
      • Select a user from the dropbox box.
      • Categories, Course Total, and newly created Grade Items with no activity page should have no hyperlink.
      • Regular assignments, quizzes etc should be clickable.

      Covered by behat tests. Tags "gradereport_singleview"

      Show
      Setup: Requires Course with students. Go to Grades -> Setup -> Categories and items. Make a few categories and extra grade items. Test: Go to Grades -> Singleview. Select a user from the dropbox box. Categories, Course Total, and newly created Grade Items with no activity page should have no hyperlink. Regular assignments, quizzes etc should be clickable. Covered by behat tests. Tags "gradereport_singleview"
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-47838-master

      Description

      For items in the Singleview that don't have a activity page the hyperlinks are still being presented to the user which leads to 404s.

      Links shouldn't be clickable if the URL isn't valid. This means no links for categories, course totals and grade items with no activity page.

      Reported by Fred.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              zac Zachary Durber
              Reporter:
              zac Zachary Durber
              Peer reviewer:
              Ankit Agarwal
              Integrator:
              Damyon Wiese
              Tester:
              Damyon Wiese
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Nov/14