Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-13159

IMAP Service throws Exception when Fav Site is removed

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0.1
    • Component/s: IMAP
    • Labels:
      None

      Description

      When an IMAP Fav Site is removed and the users accesses it via IMAP, an exception is raised:

      org.alfresco.repo.site.SiteDoesNotExistException: 00130026 Site break does not exist.
              at org.alfresco.repo.site.SiteServiceImpl.getPermissionGroups(SiteServiceImpl.java:2297)
      

      The following change in getFavouriteSites fixes that for me:

                          boolean exists = serviceRegistry.getSiteService().getSite(siteName) != null;
                          // boolean isMember = serviceRegistry.getSiteService().isMember(siteName, userName); // This one may blow up!
                          if (exists && serviceRegistry.getSiteService().isMember(siteName, userName))
      

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs
                Reporter:
                deas0815 Andreas Steffan
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h

                    Structure Helper Panel