Comments (2)
I had made a PR to overwrite the config instead of merging again but closed it to avoid any potential issue I might have not considered.
Your issue can be fixed by using 'nameCallback' => \Closure::fromCallable([$this, 'buildName'])
.
from cakephp-upload.
In future the fields config should be nested inside a fields
key so that it can be overwritten without worrying about affecting other configs. There's currently another issue too where className
key needs to be explicitly unset due to having fields at top level of config array.
from cakephp-upload.
Related Issues (20)
- CakePHP 4 Upload Plugin
- set behaviors config in Method results in emtpy filename
- Cannot Find plugin and it is there HOT 1
- Save on _joinData HOT 2
- request to new tag on 3.x HOT 2
- Test Fixtures have type `upload.file` for upload field. HOT 4
- Class 'League\Flysystem\Adapter\Local' not found HOT 2
- Saving model failed with no error HOT 1
- Deprecated
- Solved: Using transformer does not upload video and entity isn't saved HOT 1
- File not uploading/object not removed from data HOT 2
- Unable to upload images to S3 HOT 1
- 700 permission in subfolder using 'path' HOT 1
- Support for chunking HOT 1
- cake-5 branch not installable HOT 5
- Translate Behavior : Cannot convert value of type Laminas\Diactoros\UploadedFile to string
- Help on object clone
- Validate upload mime type HOT 1
- filegrabber in cakephp 4 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cakephp-upload.