6609 – Update article-body__content to article-body-module__content#417
Merged
vasconsaurus merged 2 commits intodevelopfrom Oct 24, 2025
Merged
6609 – Update article-body__content to article-body-module__content#417vasconsaurus merged 2 commits intodevelopfrom
vasconsaurus merged 2 commits intodevelopfrom
Conversation
caiosba
approved these changes
Oct 24, 2025
vasconsaurus
added a commit
that referenced
this pull request
Oct 28, 2025
…nt (#417) We seem to be getting: `undefined method search' for nil:NilClass:00:00`. Reviewing both portuguese and spanish pages, it looks like the class `article-body__content` is now `article-body-module__content`. References: CV2-6609 I was able to reproduce the error by mismatching the classname: ``` 1) Reuters instance parses a raw_claim_review Failure/Error: header = page.search('div[class^="article-body-module__content"]').first.search('h2[data-testid="Heading"]').last NoMethodError: undefined method `search' for nil:NilClass # ./lib/claim_review_parsers/reuters.rb:44:in `claim_result_from_subhead' # ./lib/claim_review_parsers/reuters.rb:51:in `claim_result_from_page' # ./lib/claim_review_parsers/reuters.rb:59:in `parse_raw_claim_review' # ./spec/lib/claim_review_parsers/reuters_test.rb:20:in `block (3 levels) in <top (required)>' # /usr/local/bundle/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in <top (required)>' ```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
We seem to be getting:
undefined method search' for nil:NilClass:00:00.Reviewing both portuguese and spanish pages, it looks like the class
article-body__contentis nowarticle-body-module__content.References: CV2-6609
How has this been tested?
I was able to reproduce the error by mismatching the classname: