You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OCP\AppFramework\QueryException: Could not resolve dataRetriever! Class dataRetriever does not exist
.../nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php - line 117: OC\AppFramework\Utility\SimpleContainer->resolve('dataRetriever')
.../nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php - line 544: OC\AppFramework\Utility\SimpleContainer->query('dataRetriever')
.../nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php - line 73: OC\AppFramework\DependencyInjection\DIContainer->query('dataRetriever')
.../nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php - line 96: OC\AppFramework\Utility\SimpleContainer->buildClass(Object(ReflectionClass))
.../nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php - line 117: OC\AppFramework\Utility\SimpleContainer->resolve('OCA\\OJSXC\\Contr...')
.../nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php - line 544: OC\AppFramework\Utility\SimpleContainer->query('OCA\\OJSXC\\Contr...')
.../nextcloud/lib/private/AppFramework/App.php - line 101: OC\AppFramework\DependencyInjection\DIContainer->query('OCA\\OJSXC\\Contr...')
.../nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47: OC\AppFramework\App main('OCA\\OJSXC\\Contr...', 'register', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)
[internal function] OC\AppFramework\Routing\RouteActionHandler->__invoke(Array)
.../nextcloud/lib/private/Route/Router.php - line 299: call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array)
.../nextcloud/lib/base.php - line 1010: OC\Route\Router->match('/apps/ojsxc/man...')
.../nextcloud/index.php - line 40: OC handleRequest()
{main}
The text was updated successfully, but these errors were encountered:
The error message is completely misleading. It failed, because $c->query('URLGenerator') failed. I had to replace all query statements with something like this:
@LEDfan do you know why it works on NC 12? Did you know that there is automatic dependency assembly? We just have to update routes.php (in an further release).
Absolutely not, I don't know of any changes in the DI stuff since 12.
Did you know that there is automatic dependency assembly?
I heard about it and I guess it's a good idea to move most of the services to it (some will have to stay hard coded because they need some special logic). Maybe refactor it after the 3.3 release, together with moving the files to CamelCase?
Environment
NC Logs
The text was updated successfully, but these errors were encountered: