Uploaded image for project: 'Alfresco'
  1. Alfresco
  2. ALF-21749

Manage Sites page broken when users without a surname are synchronized from LDAP

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.d Community, Community Edition 201605 GA
    • Security Level: external (External user)
    • Labels:
    • Environment:
      Alfresco Community 201605 and 5.0.d installed with the official installer in a Ubuntu 14.04 Server
    • Resolution Time Custom Field:
      53 weeks, 6 days, 17 hours, 16 minutes, 55 seconds

      Description

      When Alfresco is configured to synchronize users from LDAP, and if there is any user without a surname (like Windows Administrator user), the server is completely broken when I try to access the Manage Sites page.
      The only way to get it working again is to restart Alfresco.

      I was able to fix this by doing a simple change in the attached file.
      I created an AMP with the file into src/main/amp/config/alfresco/extension/templates/webscripts/org/alfresco/repository/site/site-admin-sites.get.json.ftl

      The change is in the line

      "lastName" : "${manager.lastName!""}"
      

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedissues Closed Issues
                  Reporter:
                  douglascrp Douglas Cassiano Rodrigues Paes
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Date of First Response:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 10 minutes
                    10m

                      Structure Helper Panel