-
-
Notifications
You must be signed in to change notification settings - Fork 853
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
resources.py __getattr__ causing stack overflow #1721
Comments
If I put this at the start of if item in ["raw"]:
return self.__dict__[item] |
Proposed fix here: #1722 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug summary
In certain cirumstances
jira.resources.Resource.__getattr__
enters an infinite loop resulting in stack overflow (see output below).Is there an existing issue for this?
Jira Instance type
Jira Server or Data Center (Self-hosted)
Jira instance version
9.4.8 (though this is not relevant)
jira-python version
3.5.2 (latest as of today)
Python Interpreter version
3.8
Which operating systems have you used?
Reproduction steps
test_stuff.py
py.test test_stuff.py
and observe the unexpected stack overflow as belowStack trace
Expected behaviour
No stack overflow, instead the test should fail in jira.resources.User.init with a sensible message
Additional Context
No response
The text was updated successfully, but these errors were encountered: