Restrict drag and drop for multiple images in blogs
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
- Why is there no error or warning while selecting multiple images to upload via drag-and-drop functionality?
- If it is not uploading multiple images, then it should not select multiple images in the first place, like what we have with the Select field in blogs.
- Steps to reproduce:
1) Start the DXP server
2) Navigate to DXP site> Content and Data> Blog> Add entry
3) Use drag and drop to select multiple images and try to upload
4) All the files are uploaded and one of them is shown
Environment
- Liferay DXP [all versions]
Resolution
-
The observed behvaior is expected behavior with drag-and-drop as the
Item selector does not support multiple drag-and-drops.
- Also, this has more to do with the system, as this selection is made in the local OS file system.
- However, Liferay has classified this as a usability bug, which is being investigated at LPS-194264. This LPS is currently under review at the time of publication.
Did this article resolve your issue ?