Uploaded image for project: 'Alfresco One Platform'
  1. Alfresco One Platform
  2. ACE-5829

Admin Console - System Settings - Able to save Share Host Name with spaces at the start or end

    Details

    • Bug Priority:
      Category 1

      Description

      View your issue at Applause Testing Services - https://platform.applause.com/products/12989/testcycles/180350/issues/3239917
      ---- ACTION DETAILS ----

      Action Performed:
      1. Open Admin Console > System Settings (alfresco/s/enterprise/admin/admin-systemsettings)
      2. Edit share hostname to have spaces at the end
      3. Click Save
      4. Observe save is successful

      The below demonstrates how this can be a problem.
      Note: notification.email.siteinvite=true must be set in alfresco-global.properties
      1. Create a site
      2. Invite any user with a valid email address
      3. Open email received by the user
      4. Observe images and links are broken due to a space in the links

      Expected Result:
      If a share hostname is entered which is invalid, it will either be rejected or spaces will be automatically trimmed from the start/end

      Actual Result:
      The share hostname can be saved with blank spaces. This breaks certain functions eg links and images in site invitation emails.

      (But I suspect it will likely break other areas too)

      Additional Info:
      I observed this when I copied and pasted a hostname which included a blank space at the end which I did not realize, until I found broken images/links in the site invite emails

      Error Code/Message:

      ---- ENVIRONMENT ----

      Language:English ,Operating System:Linux,Web Browser:Chrome,Operating System Version:Red Hat

      ---- APPLAUSE PROPERTIES ----

      Applause Issue/Bug ID: 3239917

      Title: Admin Console - System Settings - Able to save Share Host Name with spaces at the start or end
      Status: Approved

      Type: Functional
      Frequency: Every Time
      Severity: Medium

      Product (Build): Alfresco One (6.0)
      Test Cycle: Alfresco Content Services - Stack 2 Sanity

      ---- 6 Custom Fields ----

      Your Country, Locale, Device Language: NZ, EN_NZ,

      Operating System Version (Including servicepack): RHEL 7.4

      Exact URL: http://13.211.76.167:8080/alfresco/s/enterprise/admin/admin-systemsettings

      Exact browser build version: Firefox 59.0.2

      Test Case Number: N/A

      Reproducible on previous build?: Reproducible on 5.2.3

      ---- APPLAUSE ATTACHMENT(S) ----

      Bug3239917_Email_msg.txt : https://utest-dl.s3.amazonaws.com/8610/12989/180350/null/bugAttachment/Bug3239917_Email_msg.txt?AWSAccessKeyId=AKIAJVVOIXUIFRTEEEKQ&Expires=1840978539&Signature=9dYNq%2B5GtkplaZboI4tugkaqVsY%3D

      Bug3239917_Email2.png : https://utest-dl.s3.amazonaws.com/8610/12989/180350/null/bugAttachment/Bug3239917_Email2.png?AWSAccessKeyId=AKIAJVVOIXUIFRTEEEKQ&Expires=1840978539&Signature=YABLH8s1Nscgh08uAwac4OlnyqQ%3D

      Bug3239917_Email.png : https://utest-dl.s3.amazonaws.com/8610/12989/180350/null/bugAttachment/Bug3239917_Email.png?AWSAccessKeyId=AKIAJVVOIXUIFRTEEEKQ&Expires=1840978539&Signature=SdE8KYsWEmPsM7wdUOdSNuemIPA%3D

      Bug3239917_SystemSettings.png : https://utest-dl.s3.amazonaws.com/8610/12989/180350/null/bugAttachment/Bug3239917_SystemSettings.png?AWSAccessKeyId=AKIAJVVOIXUIFRTEEEKQ&Expires=1840978539&Signature=tMnG7B6afiEicFqvRQF0VGRkaoQ%3D

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                applause-admin Applause Test Integration
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel