Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[LDAP] Add error code in exceptions generated by ldap#35913

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
vgpastor wants to merge0 commits intosymfony:masterfromvgpastor:master

Conversation

vgpastor
Copy link
Contributor

@vgpastorvgpastor commentedMar 1, 2020
edited by nicolas-grekas
Loading

QA
Branch?master
Bug fix?no
New feature?no
Deprecations?no
Tickets
LicenseMIT
Doc PR

This PR add the exception code returned by ldap PHP component to LdapException, and allow users a better way to detect the errors. Before this LdapException allways return code 0, and make neccesary evaluate the string returned to detect the error.

@vgpastor
Copy link
ContributorAuthor

Sotty about fix style commits, my ide hack me continuosly

@nicolas-grekasnicolas-grekas added this to thenext milestoneMar 2, 2020
@OskarStark
Copy link
Contributor

Closes#33339

Thanks

@fabpot
Copy link
Member

Thank you@vgpastor.

@fabpotfabpot closed thisMar 2, 2020
fabpot added a commit that referenced this pull requestMar 2, 2020
…(Victor Garcia)This PR was squashed before being merged into the 5.1-dev branch.Discussion----------[LDAP] Add error code in exceptions generated by ldap| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  |no| Deprecations? | no| Tickets       || License       | MIT| Doc PR        |This PR add the exception code returned by ldap PHP component to LdapException, and allow users a better way to detect the errors. Before this LdapException allways return code 0, and make neccesary evaluate the string returned to detect the error.Commits-------b4c90f0 [LDAP] Add error code in exceptions generated by ldap
@dontub
Copy link

For the record: Commitdb46f3b doesn't fix some issues addressed in#33339.

  • LdapException is used for errors on non LDAP operations.
  • ConnectionException doesn't extendLdapException
  • Silencing is missing on some ldap functions.
  • Ifldap_unbind() orldap_control_paged_result_response() fails, no exception is thrown.
  • Unnecessary if block (ldap_connect() never returns false.)

@nicolas-grekasnicolas-grekas modified the milestones:next,5.1May 4, 2020
@fabpotfabpot mentioned this pull requestMay 5, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@fabpotfabpotfabpot approved these changes

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
5.1
Development

Successfully merging this pull request may close these issues.

6 participants
@vgpastor@OskarStark@fabpot@dontub@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp