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

Repository names have to be unique (not sure why) but no check on create, only edit.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.8, 2.3.5, 2.4.2
    • Fix Version/s: 2.3.7, 2.4.4
    • Component/s: Repositories
    • Labels:
    • Testing Instructions:
      Hide
      1. Enable Flickr Public repository (Enable User/Course instances, the API does not need to be valid)
      2. Go to My home ► Site administration ► Plugins ► Repositories ► Flickr public
      3. Make sure you can add a new instance of Flickr Public named BOB
      4. Make sure you CANNOT add one more instance of Flickr Public named BOB
      1. Login as a student
      2. Go to My home ► My profile ► Repositories ► XXX ► Repositories
      3. Add a new instance of Flickr Public named BOB
      4. Login as another student
      5. Go to My home ► My profile ► Repositories ► XXX ► Repositories
      6. Make sure you can add a new instance of Flickr Public named BOB
      7. Make sure you CANNOT add one more instance of Flickr Public named BOB
      1. Login as a Teacher
      2. Go to My home ► XXX ► Repositories ► Course repositories
      3. Make sure you can add a new instance of Flickr Public named BOB
      4. Make sure you CANNOT add one more instance of Flickr named Public BOB
      Show
      Enable Flickr Public repository (Enable User/Course instances, the API does not need to be valid) Go to My home ► Site administration ► Plugins ► Repositories ► Flickr public Make sure you can add a new instance of Flickr Public named BOB Make sure you CANNOT add one more instance of Flickr Public named BOB Login as a student Go to My home ► My profile ► Repositories ► XXX ► Repositories Add a new instance of Flickr Public named BOB Login as another student Go to My home ► My profile ► Repositories ► XXX ► Repositories Make sure you can add a new instance of Flickr Public named BOB Make sure you CANNOT add one more instance of Flickr Public named BOB Login as a Teacher Go to My home ► XXX ► Repositories ► Course repositories Make sure you can add a new instance of Flickr Public named BOB Make sure you CANNOT add one more instance of Flickr named Public BOB
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-38500-master

      Description

      You can create 2 repository instances with the same name, and only when you go to edit one of them will you get an error.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

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