We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filament/filament
v3.2.124
v11.x
v3.x
8.3.x
getting an error when importing large file names or Arabic file name ex:
SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'file_path' at row 1 (Connection: mysql, SQL: insert into `imports` (`user_id`, `file_name`, `file_path`, `importer`, `total_rows`, `updated_at`, `created_at`) values (209, عملاء شهر يناير 2024 البدر للمبيعات اون لاين واوف لاين .csv, /code/storage/app/livewire-tmp/97dKPqjXMEhVTL3x1swh3I6hfqyYKK-meta2LnZhdmE2KfYoSDYtNmH2LEg2YrZhtin2YrYsSAyMDI0INin2YTYqNiv2LEg2YTZhNmF2KjZiti52KfYqiDYp9mI2YYg2YTYp9mK2YYg2YjYp9mI2YEg2YTYp9mK2YYgLmNzdg==-.csv, App\Filament\Imports\ContactImporter, 53, 2024-11-17 08:09:15, 2024-11-17 08:09:15))
imported succssfully.
just import file named عملاء شهر يناير 2024 البدر للمبيعات اون لاين واوف لاين .csv
عملاء شهر يناير 2024 البدر للمبيعات اون لاين واوف لاين .csv
https://github.com/AQuadic/NO-REPO-NEEDED
Sorry for not including repo, but it can be reproduced on any repo and on demo. just file name like I said.
The text was updated successfully, but these errors were encountered:
@Saifallak 1406 Data too long for column 'file_path'
'file_path'
Looks like your file_path column is too small, probably varchar(255). You can try it with text type
file_path
varchar(255)
text
Sorry, something went wrong.
@Saifallak 1406 Data too long for column 'file_path' Looks like your file_path column is too small, probably varchar(255). You can try it with text type
Yes you're right, but this is the migration created by filament, that's why i opemed issue to be changed in the library itself
No branches or pull requests
Package
filament/filament
Package Version
v3.2.124
Laravel Version
v11.x
Livewire Version
v3.x
PHP Version
8.3.x
Problem description
getting an error when importing large file names or Arabic file name ex:
Expected behavior
imported succssfully.
Steps to reproduce
just import file named
عملاء شهر يناير 2024 البدر للمبيعات اون لاين واوف لاين .csv
Reproduction repository (issue will be closed if this is not valid)
https://github.com/AQuadic/NO-REPO-NEEDED
Relevant log output
Sorry for not including repo, but it can be reproduced on any repo and on demo. just file name like I said.
Donate 💰 to fund this issue
The text was updated successfully, but these errors were encountered: