Comments (4)
Could you post your code for the preUpdate event please ?
I am working on it since 2 days but postUpdate don't work for me.
Only postPersist or prePersist..
Thanks a lot
from vichuploaderbundle.
Yeah, I would prefer if it was built-in as well. @comensee I just do this in the meantime. It's what @postRemove triggers when you set delete_on_remove: true
$this->fileSystem->remove($entity); // you can inject 'vich_uploader.storage.file_system'
from vichuploaderbundle.
thanks!
from vichuploaderbundle.
sorry, @comensee too late and @vinnicc answers
and thanks @vinnicc
from vichuploaderbundle.
Related Issues (20)
- Unable to load UploaderExtensionRuntime
- Problem with SoftDeleteable and VichUploader | Uncaught Error: Attribute class "App\Entity\Gedmo\SoftDeleteable" not found HOT 1
- displaying images with VichUploaderBundle in Symfony app prod HOT 14
- MappingNotFound Exception issue HOT 5
- After upgrading to 2.1.1 I got an error when calling to vich_uploader_asset HOT 1
- Add possibility to specify upload directory when using storage HOT 1
- uri_prefix don't handle absolute directory_namer
- Allow not null/uniq mapped fields HOT 1
- Enable error bunbbling in the embebbed file field HOT 5
- Multiple prefix when uploading multiple files HOT 8
- Custom delete checkbox in VichFileType HOT 5
- Uploading image after checking delete checkbox is not working HOT 2
- Doctrine subscribers as services is deprecated, declare listeners instead
- Upgrade PHPUnit to version 10
- [SOLVED] [Symfony 6.3] Using XML mapping driver with XSD validation disabled is deprecated HOT 2
- LifecycleEventArgs getEntityManager() is deprecated. HOT 4
- Custom VichImageType HOT 3
- Add emptyAsRoot option to PropertyDirectoryNamer HOT 5
- Attribute class "App\Entity\Get" not found HOT 1
- Fix DEPRECATED logs generate by Symfony 6.3 HOT 13
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 vichuploaderbundle.