silverstripe / silverstripe-asset-admin

Silverstripe assets gallery for asset management
BSD 3-Clause "New" or "Revised" License
19 stars 78 forks source link

UploadField Regression: "You can not upload any more files" on new object #1362

Closed purplespider closed 1 year ago

purplespider commented 1 year ago

User unexpectedly gets a "You can not upload any more files" message when trying to upload a file in a new Page/DO.

To reproduce:

  1. Upload a file to an empty UploadField.
  2. Save/Create
  3. Create a new Page/DO
  4. Upload a file to the empty UploadField.

Result: "You can not upload any more files."

If I reload the page, then it will let me upload as expected.

Alternative reproduction explanation from @chrispenny: https://github.com/silverstripe/silverstripe-asset-admin/issues/1352#issuecomment-1566234301

Issue in Silverstripe 5 stable.

Seems to be a different manifestation of https://github.com/silverstripe/silverstripe-asset-admin/issues/1352

Screenshot 2023-05-26 at 15 03 24

Acceptance criteria

PR

rspcactucker commented 1 year ago

Replicating on my SS5 repo as well. Seems to be originating entirely from the Dropzone client-side code (no network activity as far as I can see?)

emteknetnz commented 1 year ago

Linked pull-request has been merged and has been released as part of 2.0.1