Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-82792

Error Message for User profile picture only displays once

    Details

      Description

      Description
      When trying to add a non-image file, like pdf, to user profile an error message displays. When trying to re-upload the same file there is no error message.

      Steps to reproduce:
      1. Login as any user in the system
      2. Go to user's "Account Settings" section
      3. Click "Change" button under the profile image to upload a new image
      4. Try to upload non-image, such as a pdf file (We are trying to cause the error here)
      5. Observe the pink error message banner showing up.
      6. Now try to upload the same file again.

      Expected Result: The following error is thrown again in the UI:

      Please enter a file with a valid file type.

      Actual Result: No error is thrown and you are no longer able to interact with the "Done" button

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 3 weeks, 6 days ago

                Packages

                Version Package
                7.0.0 DXP FP55
                7.0.0 DXP SP9
                7.0.X
                7.1.X
                Master