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

Configure remote RSS feeds page lists "Array" if no user or shared feeds but existing feeds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0.5
    • 2.7.11, 2.9.3, 3.0.4
    • Blocks, RSS
    • MOODLE_27_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
    • MOODLE_30_STABLE
    • MDL-52599-master
    • Hide
      1. Setup a course with a teacher enrolled
      2. As an Admin: Turn on editing in a course
      3. Add a "Remote RSS Feeds" block
      4. Select the edit gear on the block, then "configure remote news feed block"
      5. On the configure screen, next to the label "Choose the feeds which you would like to make available in this block" you should see the text "There are no RSS feeds defined for this site."
      6. Click 'Add/edit feeds' to add an RSS feed.
      7. Click the 'Add a new feed' button.
      8. Enter an RSS feed url into the 'Feed URL' text input.
      9. Leave 'Shared feed' at the default value of 'No'.
      10. Click 'Add a new feed' to save this feed.
      11. Return to the block's configuration page.
      12. Verify that a multi-select menu has replaced the text "There are no RSS feeds defined for this site." and that the feed you just added is on this list.
      13. Select the feed and click 'Save changes'.
      14. Verify the feed is displaying on the course page.
      15. Log out of this user account.
      16. Log in as the teacher
      17. Turn editing on in the same course as was accessed by the first user account.
      18. Select the edit gear on the RSS block, then click 'Configure remote news feed block'.
      19. On the configure screen, next to the label "Choose the feeds which you would like to make available in this block" you should see a multi-select menu with the RSS feed on the list that was added by the first user account.
      20. Click 'Add/edit feeds' to add an RSS feed.
      21. Confirm there are none currently listed.
      22. Click the 'Add a new feed' button.
      23. Enter an RSS feed url into the 'Feed URL' text input.
      24. Click 'Add a new feed' to save this feed.
      25. Return to the block's configuration page.
      26. Verify that the multi-select menu now displays both RSS feeds as selectable options.
      Show
      Setup a course with a teacher enrolled As an Admin: Turn on editing in a course Add a "Remote RSS Feeds" block Select the edit gear on the block, then "configure remote news feed block" On the configure screen, next to the label "Choose the feeds which you would like to make available in this block" you should see the text "There are no RSS feeds defined for this site." Click 'Add/edit feeds' to add an RSS feed. Click the 'Add a new feed' button. Enter an RSS feed url into the 'Feed URL' text input. Leave 'Shared feed' at the default value of 'No'. Click 'Add a new feed' to save this feed. Return to the block's configuration page. Verify that a multi-select menu has replaced the text "There are no RSS feeds defined for this site." and that the feed you just added is on this list. Select the feed and click 'Save changes'. Verify the feed is displaying on the course page. Log out of this user account. Log in as the teacher Turn editing on in the same course as was accessed by the first user account. Select the edit gear on the RSS block, then click 'Configure remote news feed block'. On the configure screen, next to the label "Choose the feeds which you would like to make available in this block" you should see a multi-select menu with the RSS feed on the list that was added by the first user account. Click 'Add/edit feeds' to add an RSS feed. Confirm there are none currently listed. Click the 'Add a new feed' button. Enter an RSS feed url into the 'Feed URL' text input. Click 'Add a new feed' to save this feed. Return to the block's configuration page. Verify that the multi-select menu now displays both RSS feeds as selectable options.

      If a course has a Remote RSS feeds block created by one user (e.g. a teacher of the course) and another user with course admin rights (e.g. a site admin) navigates to the configure page for this block they see:

      Choose the feeds which you would like to make available in this block: Array

      Presumably this should say something like "No feeds for user and no shared feeds" although it's a little odd that a site admin cannot view the selected feed for Remote RSS feed blocks even if they are not shared.

      To reproduce this issue:
      1. Log into a site as a site admin and create user account teacher1.
      2. As the site admin, create a course and enrol teacher1 on the course as a teacher.
      3. Log into the site as teacher1 and add a Remote RSS feeds block to the course page.
      4. Configure the block and add a feed (Add/edit feeds, Add a new feed) leaving the Shared feed option set to "No".
      5. Return to the block configure page and select the above feed in the Choose the feeds which you would like to make available in this block list.
      6. Log into the site as the site admin, navigate to the configure page of the block on the course page. The Choose the feeds which you would like to make available in this block field says "Array".

            c.d.smith Clem Smith
            leonstr Leon Stringer
            Dan Poltawski Dan Poltawski
            Andrew Lyons Andrew Lyons
            Mark Nelson Mark Nelson
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

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