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 crash with kc users #53

Merged
merged 6 commits into from Jun 22, 2021
Merged

Fix crash with kc users #53

merged 6 commits into from Jun 22, 2021

Conversation

atodorov
Copy link
Member

No description provided.

@atodorov atodorov force-pushed the fix_crash_with_kc_users branch 4 times, most recently from 3f5fd30 to 65c3f15 Compare June 22, 2021 11:49
for Keycloak the uid field is the string username in Keycloak, not a
number so don't crash. Fixes KIWI-TCMS-GM, see
https://sentry.io/organizations/kiwitcms/issues/2468613371
- we need tcms/tests/ for factories inside tcms_tenants.tests
- see 041a3aa9 in kiwitcms/tenants

WARNING: pwd should be last in sys.path b/c it causes the settings
override code to try and import from ./tcms_settings_dir/ which is
empty and multi-tenant settings don't get loaded!
also install Kiwi TCMS requirements b/c pylint will complain about
missing imoports
@atodorov atodorov force-pushed the fix_crash_with_kc_users branch 10 times, most recently from 3048a68 to 88cbbb2 Compare June 22, 2021 15:37
@coveralls
Copy link

coveralls commented Jun 22, 2021

Coverage Status

Coverage remained the same at 85.942% when pulling 01c1f41 on fix_crash_with_kc_users into 2bc2d74 on master.

@atodorov atodorov merged commit 090d7c5 into master Jun 22, 2021
@atodorov atodorov deleted the fix_crash_with_kc_users branch June 22, 2021 18:36
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