orchidsoftware / orchidsoftware/platform

Can't add files through the media library inside the matrix

Open
#2,338 0 comments 0 reactions 1 assignee View on GitHub

@tabuna is already working on this.

Since Aug 15, 2022.

Errors
Dominant language
PHP
Stars
4.8k
Forks
662
Avg merge
1d 9h
Merged PRs (30d)
7

Description

Describe the bug
When you try to attach an already loaded file, you'll get an error "Error invoking action «click->upload#addFile"» (see screenshot below).

But when you try to upload a new file, there are no errors.

To Reproduce
Steps to reproduce the behavior:

  1. Insert matrix into your layout
  2. Add upload field to matrix
  3. Try to add already loaded file

Expected behavior
Adding an already uploaded file

Screenshots
image

Desktop (please complete the following information):

  • OS: MacOS Big Sur 11.3.1
  • Browser Chrome
  • Version 103.0.5060.134

Server (please complete the following information):

  • Platfrom Version: 12.6
  • Laravel Version: 9.20.0
  • PHP Version: 8.1.8
  • Database: MySQL
  • Database Version: 8.0.23

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.