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

Can't edit existing webservices due to validation issue

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.7.5, 2.8, 2.9
    • 2.7.6, 2.8.4
    • Web Services
    • MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • MDL-49379_master
    • Hide
      Test 1
      1. Visit 'Site administration' > 'Plugins' > 'Web services' > 'External services'.
      2. Add an external service.
      3. Go back to the external services page.
      4. Click to edit the external service (but don't edit anything).
      5. Click 'Save changes' and confirm you do not get the message 'This name is already in use by another service'.
      Test 2
      1. Visit 'Site administration' > 'Plugins' > 'Web services' > 'External services'.
      2. Add an external service.
      3. Go back to the external services page.
      4. Add another external service with the same name.
      5. Confirm you do get the message 'This name is already in use by another service'.
      Show
      Test 1 Visit 'Site administration' > 'Plugins' > 'Web services' > 'External services'. Add an external service. Go back to the external services page. Click to edit the external service (but don't edit anything). Click 'Save changes' and confirm you do not get the message 'This name is already in use by another service'. Test 2 Visit 'Site administration' > 'Plugins' > 'Web services' > 'External services'. Add an external service. Go back to the external services page. Add another external service with the same name. Confirm you do get the message 'This name is already in use by another service'.
    • Team Beards Sprint 4

    Description

      In MDL-49198 we introduced validation to prevent a DB error when anyone entered a webservice name that already existed, but now you are no longer able to edit the webservice as it states 'This name is already in use by another service'.

      Attachments

        Issue Links

          Activity

            People

              markn Mark Nelson
              markn Mark Nelson
              Dan Poltawski Dan Poltawski
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Frédéric Massart Frédéric Massart
              Juan Leyva, David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Mar/15