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

Site Info: Auto-groups and Import don't register site.upd.grp.mbrshp events

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 11.4, 12.0
    • Fix Version/s: 19.0
    • Component/s: Site Info
    • Labels:
      None
    • Test Plan:
      Hide

      You need access to the database to check the events from SAKAI_EVENT table.

      1. Create a group manually
      2. Check SAKAI_EVENT table (select * from SAKAI_EVENT order by EVENT_ID desc; )
      3. You'll see two events, "realm.upd" and "site.upd.grp.mbrshp".
      4. Create four random groups using auto-groups
      5. Check SAKAI_EVENT table (select * from SAKAI_EVENT order by EVENT_ID desc; )
      6. You'll see only four events "realm.upd", "site.upd.grp.mbrshp" events are missing.
      Show
      You need access to the database to check the events from SAKAI_EVENT table. Create a group manually Check SAKAI_EVENT table (select * from SAKAI_EVENT order by EVENT_ID desc; ) You'll see two events, "realm.upd" and "site.upd.grp.mbrshp". Create four random groups using auto-groups Check SAKAI_EVENT table (select * from SAKAI_EVENT order by EVENT_ID desc; ) You'll see only four events "realm.upd", "site.upd.grp.mbrshp" events are missing.

      Description

      In site info, when you create a group manually it registers two events, "site.upd.grp.mbrshp" SECURE_UPDATE_GROUP_MEMBERSHIP and "realm.upd", see number 1 in the image.

      When you create a group automatically, using auto-groups, it registers the "realm.upd" event only, see number 2 in the image.

      This also affects the import group feature.

      This event should be correctly posted by saveGroupMembership in SiteService. However it looks like processAutoCreateGroup directly calls siteService.save(site); which doesn't fire this event.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  farreri Miguel Pellicer
                  Reporter:
                  farreri Miguel Pellicer
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code