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

Site Export Rest API creates a corrupted ZIP if the site contains members synced from LDAP

    Details

    • Type: Service Pack Request
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 5.0.2
    • Fix Version/s: 5.0.4
    • Component/s: ACS REST API
    • Labels:
      None

      Description

      Summary

      When a site is exported using the rest api (/alfresco/service/api/sites/

      {shortname}

      /export) if the site contains an LDAP user as a member the zip file is corrupted and can not be opened.

      Steps to Reproduce

      • Setup Alfresco 5.0.2
      • Setup LDAP Sync and Sync in at least 1 user
      • Create a Site (Test) and add an LDAP user to the site (invite the user and ensure the user accepts the invite)
      • Attempt to export the site using the rest api (/alfresco/service/api/sites/Test/export)
      • Save the zip file and attempt to open it
      • Notice the ZIP file is corrupted and can not be opened

      Expected Behavior
      Site export provides an un-corrupted zip file regardless of site membership

      Observed Behavior
      Site Export provides a corrupted zip file if the site has ldap users as members

        Attachments

        1. error_during_export.txt
          10 kB
        2. newsite-people.xml
          5 kB
        3. newsite-users.xml
          5 kB

          Structure

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs (Inactive)
                Reporter:
                thines Trevor Hines
              • Votes:
                0 Vote for this issue
                Watchers:
                8 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 - 1 week, 3 days, 4 hours, 50 minutes
                  1w 3d 4h 50m

                    Structure Helper Panel