-
Notifications
You must be signed in to change notification settings - Fork 601
Resolve AttributeError in issue_filer.py #5154
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
Resolve AttributeError in issue_filer.py #5154
Conversation
|
/gcbrun |
|
Thanks for the quick fix! Using getattr() to handle the missing attribute looks like the right approach. This will unblock our workflow." |
cemon721-a11y
left a comment
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.
Thanks for the quick fix! Using getattr() to handle the missing attribute looks like the right approach. This will unblock our workflow."
142a2e8 to
004a423
Compare
|
/gcbrun |
|
*Hi Aashutosh,*
I hope you are doing well.
I saw your recent Pull Request (*#5154*) where you addressed the
AttributeError in issue_filer.py. Thank you for working on this fix!
I wanted to reach out because I am still learning the ropes of open-source
contribution and reviewing issues. To be honest, I don't have extensive
knowledge about all the rules and technical complexities of this project
yet.
Could you please help me understand if there are specific things I should
look for when reviewing such PRs? Since I want to make sure the changes are
perfectly fine before they move forward, your guidance on how to verify
this fix would be very helpful for my learning process.
Looking forward to hearing from you.
…On Wed, 4 Feb 2026, 09:45 svasudevprasad, ***@***.***> wrote:
*svasudevprasad* left a comment (google/clusterfuzz#5154)
<#5154 (comment)>
/gcbrun
—
Reply to this email directly, view it on GitHub
<#5154 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/B332O6OO7R2V74LJW4TR6JD4KFTMRAVCNFSM6AAAAACT2YT63WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTQNBVGA3TKNBVGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
004a423 to
b02ff2f
Compare
Safeguard the process of issue filing by ensuring presence of attributes within Issue variants before accessing them.
b02ff2f to
8277949
Compare
|
/gcbrun |
Safeguard the process of issue filing by ensuring the presence of attributes within
Issuevariants before accessing them.This issue occurs due to the changes made in #5074. #5074 adds debugging logs, and one of the logs tries to access an attribute (
component_id) of a class (Issue), resulting in the following error:'Issue' object has no attribute 'component_id'
This issue has blocked the issue filing process.
The current changes aim to resolve this issue using
getattr(), which checks if an attribute exists and only then accesses it.