Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-41106

Sites don't appear as auto-favorited before first time login

    XMLWordPrintable

    Details

    • 20 status:
      Verified
    • 19 status:
      Verified
    • Test Plan:
      Hide

      On Sakai 20:

      1. log in as admin
      2. create a new user (but do NOT login as that user yet)
      3. add that user to a site
      4. now log in as (or become) that new user
      5. the site has NOT been added as a favorite.
      1. log in as admin
      2. add that user to another site
      3. log in as the user
      4. the 2nd site has been added as a favorite.

      In addition, test with a user that's in a lot of sites (like datest/datest on nightly). Ensure that there is a limit to the number of sites favorited (by default 15). Also the sites should be added in the order they were created, with the newest sites added before any older sites are added (if they are in more than 15)

      I was locally testing this by removing all values from the SAKAI_PREFERENCES table, clearing the cache and then re-logging in to see what gets added as a favorite. 

      Show
      On Sakai 20: log in as admin create a new user (but do NOT login as that user yet) add that user to a site now log in as (or become) that new user the site has NOT been added as a favorite. log in as admin add that user to another site log in as the user the 2nd site has been added as a favorite. In addition, test with a user that's in a lot of sites (like datest/datest on nightly). Ensure that there is a limit to the number of sites favorited (by default 15). Also the sites should be added in the order they were created, with the newest sites added before any older sites are added (if they are in more than 15) I was locally testing this by removing all values from the SAKAI_PREFERENCES table, clearing the cache and then re-logging in to see what gets added as a favorite. 

      Description

      I'm not sure if this is a bug (or a known issue)

      I'm thinking that maybe the first site was not added as a favorite because of

      https://jira.sakaiproject.org/browse/SAK-32637

      e.g. we don't want users with 100s of old sites to have all of them favorited. And that's fine, but it's not intuitive for the steps above. I would have thought that the 1st site would have been favorited. but I guess since the auto favorites property isn't "set" until the user logs in, that first site would be considered an 'existing' site?

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  jonespm Matthew Jones
                  Reporter:
                  austinUH Austin
                  Votes:
                  3 Vote for this issue
                  Watchers:
                  11 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration