OpenConext-Attic / OpenConext-serviceregistry

:warning: Obsolete respository, archive only :zzz:
Other
4 stars 4 forks source link

Unhandled exception on first login #10

Closed baszoetekouw closed 10 years ago

baszoetekouw commented 10 years ago

After installing Openconext using the vm-script (minimal set), and logging in to JANUS, I get an Unhandled Exception:

SimpleSAML_Error_Error: UNHANDLEDEXCEPTION Backtrace: 0 /opt/www/OpenConext-serviceregistry/vendor/simplesamlphp/simplesamlphp/www/module.php:180 (N/A) Caused by: Doctrine\ORM\Query\QueryException: [Semantical Error] line 0, col 218 near 'user LIKE :userId': Error: Invalid PathExpression. Must be a StateFieldPathExpression. Backtrace: 13 /opt/www/OpenConext-serviceregistry/vendor/doctrine/orm/lib/Doctrine/ORM/Query/QueryException.php:63 (Doctrine\ORM\Query\QueryException::semanticalError) 12 /opt/www/OpenConext-serviceregistry/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:483 (Doctrine\ORM\Query\Parser::semanticalError) 11 /opt/www/OpenConext-serviceregistry/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:800 (Doctrine\ORM\Query\Parser::processDeferredPathExpressions) 10 /opt/www/OpenConext-serviceregistry/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:279 (Doctrine\ORM\Query\Parser::getAST) 9 /opt/www/OpenConext-serviceregistry/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:351 (Doctrine\ORM\Query\Parser::parse) 8 /opt/www/OpenConext-serviceregistry/vendor/doctrine/orm/lib/Doctrine/ORM/Query.php:255 (Doctrine\ORM\Query::_parse) 7 /opt/www/OpenConext-serviceregistry/vendor/doctrine/orm/lib/Doctrine/ORM/Query.php:267 (Doctrine\ORM\Query::_doExecute) 6 /opt/www/OpenConext-serviceregistry/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:794 (Doctrine\ORM\AbstractQuery::execute) 5 /opt/www/OpenConext-serviceregistry/vendor/janus-ssp/janus/src/Janus/ServiceRegistry/Service/ConnectionService.php:235 (Janus\ServiceRegistry\Service\ConnectionService::load) 4 /opt/www/OpenConext-serviceregistry/vendor/janus-ssp/janus/lib/UserController.php:128 (sspmod_janus_UserController::_loadEntities) 3 /opt/www/OpenConext-serviceregistry/vendor/janus-ssp/janus/lib/UserController.php:164 (sspmod_janus_UserController::getEntities) 2 /opt/www/OpenConext-serviceregistry/vendor/janus-ssp/janus/www/dashboard/connections.php:19 (require) 1 /opt/www/OpenConext-serviceregistry/vendor/janus-ssp/janus/www/dashboard.php:315 (require) 0 /opt/www/OpenConext-serviceregistry/vendor/simplesamlphp/simplesamlphp/www/module.php:135 (N/A)

baszoetekouw commented 10 years ago

Upon further investigation, the issue only occurs when trying to log in with a non-admin user.

lucasvanlierop commented 10 years ago

Would you create an issue for this in the janus project: https://github.com/janus-ssp/janus? This repo is only about OpenConext specific use of janus but no longer the project itself. If created I will add it to the milestone for the next release.

Thanks ;-)

baszoetekouw commented 10 years ago

Done!

Lucas van Lierop mailto:notifications@github.com 7 Mar 2014 15:54

Would you create an issue for this in the janus project: https://github.com/janus-ssp/janus? This repo is only about OpenConext specific use of janus but no longer the project itself. If created I will add it to the milestone for the next release.

Thanks ;-)

— Reply to this email directly or view it on GitHub https://github.com/OpenConext/OpenConext-serviceregistry/issues/10#issuecomment-37030730.

Bas Zoetekouw SURFnet Advanced Services

✉ POBox 19035, Utrecht NL-3501DA ✆ +31-30305362