-
Notifications
You must be signed in to change notification settings - Fork 55
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
Add failing logic to AT export if AT credentials are invalid #4282
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
docker-compose.dev.yml
Outdated
@@ -22,7 +22,6 @@ services: | |||
environment: | |||
- DJANGO_SETTINGS_MODULE=config.settings.docker_dev | |||
- DJANGO_LOG_LEVEL | |||
- EEEJ_LOAD_SMALL_TEST_DATASET=True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the docker-compose.dev.yml include this env var?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think so because that is what we use for our GitHub regression testing, right? We want that to run faster.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@perryr16 -- do you know why I would be getting this error? I know that my username and PW are right. Is there something to do with the org that I have? |
@nllong Are you using my org token? Is your |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
worked! but note that we need to fix allowing passwords with %
symbols.
Any background context you want to provide?
If a user's AT credentials were invalid the page would hang
What's this PR do?
Fails gracefully if credentials are invalid
How should this be manually tested?
Inventory List > selection > Actions > Export to Audit Template. Once with invalid credentials, and once with valid credentials
What are the relevant tickets?
Screenshots (if appropriate)