Closed netskycz closed 3 months ago
Hello there! Thanks for opening your first issue on this repo!
Just a heads-up: Here at Backpack we use GitHub Issues only for tracking bugs. Talk about new features is also acceptable. This helps a lot in keeping our focus on improving Backpack. If you issue is not a bug/feature, please help us out by closing the issue yourself and posting in the appropriate medium (see below). If you're not sure where it fits, it's ok, a community member will probably reply to help you with that.
Backpack communication channels:
backpack-for-laravel
tag;Please keep in mind Backpack offers no official / paid support. Whatever help you receive here, on Gitter, Slack or Stackoverflow is thanks to our awesome awesome community members, who give up some of their time to help their peers. If you want to join our community, just start pitching in. We take pride in being a welcoming bunch.
Thank you!
-- Justin Case The Backpack Robot
Hello @netskycz can you please share the field and controller configuration to replicate the error.
Thanks.
Cheers.
Hello @netskycz
I try to replicate the error, but I could, everything work as expected.
i see all the values to operate normally.
Could you please share more information to replicate this issue, did you try this field and config in a clean install.
Thanks.
Due to not activity i will close this issue, but please feel free to re-open or create a new one if needed.
Cheers.
Description:
We have encountered an issue with the Dropzone file upload feature in our Laravel Backpack integration. The problem occurs specifically during the "Create" operation, while the "Update" operation works as expected.
Issue Details:
local.ERROR: League\Flysystem\Filesystem::write(): Argument #2 ($contents) must be of type string, null given
Storage::disk($temporaryDisk)->delete($value);
line in theDropzoneOperation
trait. Specifically, the$value
appears to benull
or improperly formatted, leading to the deletion failure.We need to investigate the file handling and deletion logic, particularly the differences between the Create and Update operations, and why the
$value
might benull
or incorrect only in the Create operation. Further logs and testing will be necessary to isolate and resolve the issue.PHP VERSION:
8.3.6
PHP EXTENSIONS:
Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, bcmath, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, igbinary, intl, exif, mysqli, pcov, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, readline, redis, shmop, SimpleXML, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache
LARAVEL VERSION:
10.48.14.0
BACKPACK PACKAGE VERSIONS:
backpack/basset: 1.3.5 backpack/crud: 6.7.23 backpack/devtools: 3.1.5 backpack/generators: v4.0.5 backpack/pro: 2.2.11 backpack/theme-tabler: 1.2.11