Fix service definition for the uploadable manager#522
Merged
Conversation
Owner
|
For the fix of the service id for the UploadableManager autowiring alias, I just merged #524 which does the same fix (because I missed the notification about your PR). I rebased your branch to keep the change about removing invalid method calls. |
stof
approved these changes
Jan 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
After an upgrade of te bundle from v1.14.x to 1.15.2, i keep getting the following error on a cache:clear:
You have requested a non-existent service "stof_doctrine_extensions.uploadable_manager".After digging a bit, i found a typo in the alias for the uploadableManager
src/Resources/uploadable.php.At line 31 the service is defined as
stof_doctrine_extensions.uploadable.manager(with a dot), but line 39, the reference called isstof_doctrine_extensions.uploadable_manager(with an underscore).Just after that, I run into another error due to the incorrect call of methods
setCacheItemPool,setAnnotationReaderandsetDefaultFileInfoClasson the manager, which are only existant in the listener and has nothing to do with the manager.A quick release would be very appreciated since Uploadable is not useable at all without these changes