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

Cancel button at canceling the upload of a Layout icon image ends in error message

    Details

      Description

      To reproduce:
      1. navigate to a page
      2. configure the page
      3. navigate to Advance tab
      4. click on Change button at Icon section
      5. click on Select button
      6. select an image and upload it
      7. click on Select button again
      8. click on Cancel button

      Actual result:
      "Please enter a file with a valid file type." error message is displayed

      Expected:
      The previously uploaded picture to be displayed.
      No error message to be displayed, as there was no upload action started

      Tested on ee-7.0.x 5402041 and master 30eb361

        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, 19 weeks, 4 days ago

                Packages

                Version Package
                7.0.0 DXP FP20
                7.0.3 CE GA4
                7.0.0 DXP SP4
                7.0.X EE
                7.1.X
                Master