clearMediaCollection not working as expected in DB::transaction
#3813
Unanswered
MohammadZarifiyan
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Package version:
10.15.0Bug description:
If you use
clearMediaCollectionin a transaction andtransaction::rolback()is executed, no records will be deleted from themediatable, but the files will be deleted!While the file is expected to be deleted from the disk after its record is deleted from the media table.
Beta Was this translation helpful? Give feedback.
All reactions