Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In reading the docs more carefully, there is no property called 'rating'. The property should be aggregateRating or reviewRating or starRating. The 'rating' property would just get ignored. Also, rating is not recognized and validated by Google, they require aggregateRating for many of the currently supported schemas, so this needs to be fixed.
Comment | File | Size | Author |
---|---|---|---|
#4 | aggregate-rating-cleanup-2945920.patch | 35.56 KB | KarenS |
|
Comments
Comment #2
ChristophWeber CreditAttribution: ChristophWeber at BIZX LLC commentedOh dang, I could have told you if I had more time to check your patch in depth. Good catch!
Comment #3
ChristophWeber CreditAttribution: ChristophWeber at BIZX LLC commentedComment #4
KarenS CreditAttribution: KarenS at Lullabot commentedComment #6
KarenS CreditAttribution: KarenS at Lullabot commentedThis is fixed, includes fixing tests and adding an update hook to alter any "rating" values that might have already been there.