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.
Currently, when a handler is missing, the user gets an error like this:
Error: handler for sparql_ep > s doesn't exist!
This is because the _broken handlers are missing from the handlers.inc implementation of hook_views_handlers(). This patch fixes that.
There was another DEBUG comment at line 212 of includes/handlers.inc. I didn't remove it because I wasn't sure whether it was really the same issue.
Comment | File | Size | Author |
---|---|---|---|
#4 | 953718-2x.patch | 1.58 KB | bojanz |
#4 | 953718-3x.patch | 2.33 KB | bojanz |
missing_broken_handlers.patch | 2.77 KB | linclark | |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedAlso, I found this because I was trying to #953716: Allow modules to override Broken/missing handlers.
Comment #2
bojanz CreditAttribution: bojanz commentedMakes sense.
Of course, this is not needed for 7.x because we don't have hook_views_handlers() there.
Comment #3
merlinofchaos CreditAttribution: merlinofchaos commentedLooks like we need a reroll. Hunk #4 fails to apply.
Comment #4
bojanz CreditAttribution: bojanz commentedThat patch was against 3.x only (applies still, but with big offsets).
Here are two rerolls, for 2.x and 3.x.
The only difference is that 2.x has no area_broken handler (since it has no area plugins).
Comment #5
merlinofchaos CreditAttribution: merlinofchaos commentedCommitted. THanks1