Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix navigation in LDAP components #3670

Merged
merged 1 commit into from Mar 29, 2017
Merged

Fix navigation in LDAP components #3670

merged 1 commit into from Mar 29, 2017

Conversation

edmundoa
Copy link
Contributor

Fixes #3485, backport from #3651
(cherry picked from commit 1fafbf1)

* Fix navigation between ldap config and groups

As there is no easy way to access each component through an URL any
longer, use callbacks to let the parent decide which component to
render.

* Remove unused config prop

* Use jsx extension for ldap component

* Fix error handling in ldap groups component

- Do not try to render an object, as that doesn't work
- Display no configuration message when server returns 400, as that only
  happens when LDAP is not correctly configured. That message is a bit
  more clear and less scary

Fixes #3485
(cherry picked from commit 1fafbf1)
@edmundoa edmundoa added this to the 2.2.3 milestone Mar 29, 2017
@joschi joschi self-assigned this Mar 29, 2017
Copy link
Contributor

@joschi joschi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. 👍

@joschi joschi merged commit 2cc20be into 2.2 Mar 29, 2017
@joschi joschi deleted the issue-3485-2.2 branch March 29, 2017 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants