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

Fixed bug where osg-notify gets stuck in a loop while prompting for user password (SOFTWARE-5824) #3646

Merged
merged 2 commits into from
Feb 16, 2024

Conversation

sqqueak
Copy link
Contributor

@sqqueak sqqueak commented Feb 14, 2024

While testing osg-notify, it repeatedly prompted me to enter a password despite the password being correct. The script only stopped asking for a password once three incorrect attempts were made. This behavior can be traced back to these two while loops. There is no exit or break condition when there are no exceptions, so I added a break statement which fixed the issue. See this Jira ticket.

@brianhlin brianhlin self-assigned this Feb 14, 2024
Copy link
Member

@brianhlin brianhlin left a comment

Choose a reason for hiding this comment

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

LGTM! Could you squash your whitespace commits? Also, normally I don't bother merging in master here: I just rebase my branch on master to satisfy the CI requirements of this repository

@brianhlin
Copy link
Member

Uh-oh @sqqueak this It looks like this has gone a bit wonky based on the diff + commits in this PR. Feel free to swing by and we can do some surgery to sort it all out

@sqqueak sqqueak force-pushed the fix-loop-bug branch 2 times, most recently from 9257c3b to 6fcf7a1 Compare February 16, 2024 18:44
Copy link
Member

@brianhlin brianhlin left a comment

Choose a reason for hiding this comment

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

LGTM!

@brianhlin brianhlin merged commit 262ed8a into opensciencegrid:master Feb 16, 2024
2 checks passed
@sqqueak sqqueak deleted the fix-loop-bug branch February 16, 2024 19:46
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.

2 participants