Skip to content

Empty link_list error #10806

@ncoudinwc

Description

@ncoudinwc

📝 Provide detailed reproduction steps (if any)

  1. Use link plugin with link_list, files_upload_handler and documents_file_types
  2. Make link_list return an empty list
  3. Click Insert/Edit link, "Upload" tab then try to upload a file

Here's a codepen with image plugin in comparison : https://codepen.io/webcompenc/pen/ByKXLrV
Try to upload a .png file through the link plugin.

✔️ Expected result

The link list should atleast have the "None" option when it is emptied (like it is done with the image plugin) and uploading a file shouldn't trigger an error.

❌ Actual result

This triggers an error :
<img width="490" height="348" alt="Image" src="https://github.com/user-attachments/assets/688e5a13-204e-4726-8ce8-8e4fd9af04e9" #/>

📃 Other details

  • Browser: Chrome
  • OS: Windows

If you'd like to see this fixed sooner, add a 👍 reaction to this post.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions