danilo
FileUpload bug - Some files a are missing after uploaded.
Hi I've just tried it and still it was missing a couple of files, out of the 32 I've uploaded, feel free to tinker around with the code in the repo, the README should have enough info for testing the whole thing
80 replies
FileUpload bug - Some files a are missing after uploaded.
you are probably right, but in this case it's perfect as we upload multiple image files which need to be processed (via some jobs) and therefore we can watch them automatically update in the table below our resource. I don't know if there's a better way to do so, in any case I've submitted the issue to the filament github repo
80 replies
FileUpload bug - Some files a are missing after uploaded.
whereas if (in app/Filament/Resources/OrderResource/RelationManagers/FilesRelationManager.php at line 49) you comment out the ->poll('5s') line, then the problem isn't occurring anymore
80 replies
FileUpload bug - Some files a are missing after uploaded.
I've created a test project https://github.com/danilogiacomi/filamentFileUploadProblem/
80 replies
FileUpload bug - Some files a are missing after uploaded.
I've found the problem... the resource has a relationManager with the Resources that are created when uploading a file (in the foreach in the code above, we create a new instance of a Model, and connect the file with that Model).
If the table method in the relation manager has a ->poll('5s') (for instance) then the problem arises!
80 replies