? Pending

User tests: Successful: Unsuccessful:

avatar travisrisner
travisrisner
2 Jun 2020

When trying to login to a website with LDAP enabled, I was getting this error message:

Argument 2 passed to Symfony\Component\Ldap\Ldap::escape() must be of the type string, null given

Looking at the Symfony LDAP component, it appears the escape function does expect a string for that second parameter. I changed the second parameter on calls to the escape function in Symfony's LDAP component to a blank string instead of null where null was being used.

avatar travisrisner travisrisner - open - 2 Jun 2020
avatar travisrisner travisrisner - change - 2 Jun 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 2 Jun 2020
Category Front End Plugins
avatar richard67
richard67 - comment - 4 Jun 2020

@travisrisner Could you update the branch for this PR to latest changing in the 4.0-dev branch of the CMS? The system tests done by drone for postgresql are failing, and I think it could be because we had a mistake in 4.0-dev which meanwhile is solved but could have been there when you had created your branch. Let me know if you need advice. Thanks in advance.

P.S.: I don't have tested yet, but code review looks ok to me, I'm convinced this PR here is right.

avatar wilsonge wilsonge - change - 5 Jun 2020
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-06-05 10:42:10
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 5 Jun 2020
avatar wilsonge wilsonge - merge - 5 Jun 2020
avatar wilsonge
wilsonge - comment - 5 Jun 2020

Merging this on review

I'm confident the tests aren't related to this PR as we don't currently have system tests for the LDAP Auth

Add a Comment

Login with GitHub to post a comment