Legacy Knowledge Base
Published Jun. 30, 2025

Multiple UI errors while uploading duplicate images

Written By

Kanchan Bisht

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • Users can see multiple UI errors while uploading duplicate images via document and media
    Steps to reproduce:
    Navigate to 'Content and Data'> 'Document and Media'> 
    Upload a document with a similar name or document
    Expected behavior: Only one error should appear on UI as it is a duplicate
    Observed behavior: There are three error messages on the UI

Environment

  • Liferay DXP [all versions]

Resolution

  • This behavior is expected here.
  • These messages are necessary to provide all the relevant information to the user as two actions are required on their side. Correct the fileName and re-attach the file. If these messages did not appear, the user would not have this information.
     
    However, on the other hand, it might not be the most attractive way to display this information, but for now, it is the behavior available on the portal. 

    Whereas, if users are still interested, they might proceed to the opening of a Feature Request that the team would evaluate, and, in future versions, these notifications might be displayed differently.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base