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

Course competencies page has invalid urls after ajax

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Test

      1. Login as admin
      2. Create a competency framework
      3. Add multiple competencies to the framework
      4. Create a course if you haven't done so already.
      5. Visit the course.
      6. Click on the 'Competencies' link to the left.
      7. Add a competency to the course (do not refresh the page).
      8. Click on the name of the competency (the link in the grey background area).
      9. Verify you are not taken to a page that does not exist.
      Show
      Test Login as admin Create a competency framework Add multiple competencies to the framework Create a course if you haven't done so already. Visit the course. Click on the 'Competencies' link to the left. Add a competency to the course (do not refresh the page). Click on the name of the competency (the link in the grey background area). Verify you are not taken to a page that does not exist.
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE
    • Pull from Repository:
    • Pull 3.5 Branch:
    • Pull Master Branch:
      MDL-65153-master

      Description

      After adding a competency to a course, if you click on ant competency before reloading the page - the url will not exist. 

      It looks like it is rendering the page without the base url in the template context.

       

        Attachments

          Activity

            People

            Assignee:
            damyon Damyon Wiese
            Reporter:
            damyon Damyon Wiese
            Peer reviewer:
            Mark Nelson
            Integrator:
            Jun Pataleta
            Tester:
            Gladys Basiana
            Participants:
            Component watchers:
            Damyon Wiese, Jean-Philippe Gaudreau, Steve Massicotte, Serge Gauthier, Issam Taboubi, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              13/May/19

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 1 minute
                2h 1m