jackalope/jackalope — Issue #35: jackrabbit: better error message on invalid credentials
Author: dbu
Created: 2011-11-13 21:16:16+00:00
State: open

the exception we get when the credentials are invalid is very confusing. it should be improved to throw a LoginException and say something like "the backend did not accept our credentials"

PHPCR\RepositoryException: Unexpected error:
CURL Error:
Response (HTTP 401): PROPFIND array (
'http://127.0.0.1:8080/server/tests' => 'http://127.0.0.1:8080/server/tests',
)

/home/david/liip/symfony-cmf/cmf-sandbox/vendor/symfony-cmf/vendor/doctrine-phpcr-odm/lib/vendor/jackalope/src/Jackalope/Transport/Jackrabbit/Request.php:473
/home/david/liip/symfony-cmf/cmf-sandbox/vendor/symfony-cmf/vendor/doctrine-phpcr-odm/lib/vendor/jackalope/src/Jackalope/Transport/Jackrabbit/Request.php:397
/home/david/liip/symfony-cmf/cmf-sandbox/vendor/symfony-cmf/vendor/doctrine-phpcr-odm/lib/vendor/jackalope/src/Jackalope/Transport/Jackrabbit/Request.php:289
/home/david/liip/symfony-cmf/cmf-sandbox/vendor/symfony-cmf/vendor/doctrine-phpcr-odm/lib/vendor/jackalope/src/Jackalope/Transport/Jackrabbit/Request.php:486
/home/david/liip/symfony-cmf/cmf-sandbox/vendor/symfony-cmf/vendor/doctrine-phpcr-odm/lib/vendor/jackalope/src/Jackalope/Transport/Jackrabbit/Client.php:253
/home/david/liip/symfony-cmf/cmf-sandbox/vendor/symfony-cmf/vendor/doctrine-phpcr-odm/lib/vendor/jackalope/src/Jackalope/Repository.php:99