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

Drag and drop error in Select File dialog when global vocabulary is mandatory

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 7.2.X, Master
    • Fix Version/s: None
    • Component/s: Item Selector
    • Labels:

      Description

      Steps to reproduce:

      1. In the Global site, start creating a new vocabulary.
      2. In the panel "Associated Asset Types" select Document and activate the toggle "Required".
      3. Add two categories in the vocabulary
      4. Go to "normal" Site (e.g. Liferay DXP)
      5. Go to Liferay DXP -> Content & Data -> Web Content
      6. Start adding a Basic Web Content and in the body try adding an image.
      6 When the Select File dialog opens, drag a file from explorer/finder to the drag and drop area

      Result: The Add button is not enabled and there is a JavaScript error in the broswser console
      Expected No Drag & Drop to Upload are is visible similar to when a Required vocabulary is set on the same site

       7.2.x: reproduced
       Master: reproduced, but a bit differently. I do not see the browser console error, instead I see this on the UI: An unexpected error occurred while uploading your file.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              beck.liu Beck Liu
              Reporter:
              roland.pakai Roland Pákai
              Participants of an Issue:
              Recent user:
              Beck Liu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                20 weeks, 1 day ago

                  Packages

                  Version Package