- Create a new category without assigning any feeds to it (not sure if its relevant yet)
- Visit
aggregator/categories - Bam, site dead :
Fatal error: Call to undefined method stdClass::label() in /var/www/d8/core/modules/aggregator/aggregator.pages.inc on line 566
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | aggregator-category-fatal-error-1920744-2.patch | 2.11 KB | berdir |
| #2 | aggregator-category-fatal-error-1920744-2-test-only.patch | 799 bytes | berdir |
| #1 | aggregator-category-fatal-error-1920744-1.patch | 1.33 KB | berdir |
Comments
Comment #1
berdirConfirmed.
Will need some tests, aggregator tests are still parse, there is a long-standing open issue about adding better test coverage.
Comment #2
berdirBasic test coverage. More should happen in #276493: Tests needed: aggregator.module I think.
Comment #3
ParisLiakos commentedthanks for patch berdir!
maybe ternary should be out of check_plain
But, this code is temporary, i will start working on #15266: Replace aggregator category system with taxonomy next week and more tests, so if bot comes back as expected i will rtbc this
Comment #5
berdirFailed/passed as expected, back to needs review.
Comment #6
ParisLiakos commentedlike i said^^
Comment #7
webchickHm. This fix is really unfortunate. :( However, I talked to Berdir and rootatwc and we require #15266: Replace aggregator category system with taxonomy in order to move back to the old version. Since hacks in an optional module are preferable to fatal errors in an optional module, I decided to commit this. root said he'd take a look at that issue next week.
Committed and pushed to 8.x. Thanks!