Skip to content

Fix Null Dereference in FilterInfo Component#17

Open
prjanitor wants to merge 1 commit into
Coda-Research-Group:mainfrom
prjanitor:prjanitor/f5e6058b191d4a8101b31ca79193d4d902efeceb
Open

Fix Null Dereference in FilterInfo Component#17
prjanitor wants to merge 1 commit into
Coda-Research-Group:mainfrom
prjanitor:prjanitor/f5e6058b191d4a8101b31ca79193d4d902efeceb

Conversation

@prjanitor
Copy link
Copy Markdown

The FilterInfo component was accessing queryObject.uniProtId without checking if queryObject exists. Since queryObject is retrieved from context, it can be null during initial load or before the provider is ready.

This PR adds optional chaining and a fallback value to prevent runtime crashes.


This PR was generated by PRJanitor — an automated tool that finds and fixes small bugs in open-source projects.

We respect your contribution guidelines — if your project doesn't accept bot PRs, we won't send more. You can also add a .github/prjanitor.yml file with enabled: false to opt out explicitly.

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.

1 participant