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

Can't edit existing webservices due to validation issue

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.7.5, 2.8, 2.9
    • Fix Version/s: 2.7.6, 2.8.4
    • Component/s: Web Services
    • Labels:
    • Testing Instructions:
      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'.
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-49379_master
    • Sprint:
      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

              Assignee:
              markn Mark Nelson
              Reporter:
              markn Mark Nelson
              Peer reviewer:
              Dan Poltawski
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Frédéric Massart
              Participants:
              Component watchers:
              Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Mar/15