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

Mnet - Cant delete a host and re-add the same one

XMLWordPrintable

    • MOODLE_311_STABLE, MOODLE_34_STABLE, MOODLE_400_STABLE
    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MDL-63037-master
    • Hide
      1. Log in as admin
      2. Go to Site administration Security > HTTP security
      3. Clear the "cURL blocked hosts list" and save the changes.
      4. Set up a Moodle to Moodle network
      5. Go to Site admin > Networking > Manage peers
      6. Delete the Moodle peer
      7. Now try to recreate the very same Moodle peer (URL must be the exact same)
      8. Notice there's a validation message on the form:
        "A record already exists for a host with that hostname (it may be deleted). click here to edit that record."
      9. Click the link
      10. Verify:
        • You don't see a 404
        • You can edit the deleted host and mark it active again
      Show
      Log in as admin Go to Site administration Security > HTTP security Clear the "cURL blocked hosts list" and save the changes. Set up a Moodle to Moodle network Go to Site admin > Networking > Manage peers Delete the Moodle peer Now try to recreate the very same Moodle peer (URL must be the exact same) Notice there's a validation message on the form: "A record already exists for a host with that hostname (it may be deleted).  click here  to edit that record." Click the link Verify : You don't see a 404 You can edit the deleted host and mark it active again
    • 3.4 Sprint 5

      When I delete a current MNet Marhara host and try to add the same one, it fails with a message

      "A record already exists for a host with that hostname (it may be deleted). click here to edit that record."

      After I have deleted it and I navigate to Mnet Test client, the host i have deleted is still there

      To replicate (the first issue with the link):

      1. Set up Moodle-Mahara link as per https://docs.moodle.org/400/en/Mahoodle
      2. Go to Site admin > Networking > Manage peers
      3. Delete the Mahara peer
      4. Now try to recreate the very same Mahara peer (URL must be the exact same)
      5. Notice there's a validation message on the form:
        "A record already exists for a host with that hostname (it may be deleted). click here to edit that record."
      6. Click the link
        Expected: You can edit the deleted host and mark it active again
        Actual: You see a 404 because of the unresolved "{$a}" in the URL.

        1. MDL-63037_master.mp4
          3.81 MB
        2. MDL-63037_v311.mp4
          4.13 MB
        3. MDL-63037_v400.mp4
          5.06 MB

            jaked Jake Dallimore
            albertramsbottom paul
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Jun Pataleta Jun Pataleta
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.