⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@AashutoshMurthy
Copy link
Contributor

Safeguard the process of issue filing by ensuring the presence of attributes within Issue variants 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.

@svasudevprasad
Copy link
Collaborator

/gcbrun

@cemon721-a11y
Copy link

Thanks for the quick fix! Using getattr() to handle the missing attribute looks like the right approach. This will unblock our workflow."

Copy link

@cemon721-a11y cemon721-a11y left a 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."

@AashutoshMurthy AashutoshMurthy force-pushed the resolve_attribute_error branch from 142a2e8 to 004a423 Compare February 4, 2026 02:50
@svasudevprasad
Copy link
Collaborator

/gcbrun

@cemon721-a11y
Copy link

cemon721-a11y commented Feb 4, 2026 via email

@AashutoshMurthy AashutoshMurthy force-pushed the resolve_attribute_error branch from 004a423 to b02ff2f Compare February 5, 2026 12:09
Safeguard the process of issue filing by ensuring presence
of attributes within Issue variants before accessing them.
@AashutoshMurthy AashutoshMurthy force-pushed the resolve_attribute_error branch from b02ff2f to 8277949 Compare February 5, 2026 12:12
@ViniciustCosta
Copy link
Collaborator

/gcbrun

@ViniciustCosta ViniciustCosta merged commit 7c8f541 into google:master Feb 5, 2026
11 checks passed
@AashutoshMurthy AashutoshMurthy deleted the resolve_attribute_error branch February 6, 2026 11:30
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.

5 participants