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.
Apologies for the issue barrage, I've just been raising them as I've come across them, but realistically they could all be in one "Fixes for non-node entities".
Anyway, the call to date_ical_get_location_fields()
(which in turn eventually calls through to views_fetch_fields()
) is missing the base table parameter (when called from date_ical_plugin_row_ical_entity::render()
), so will always return node fields.
The render code responsible for the user-selectable date field correctly passes $this->base_table
so doesn't suffer the same problem.
Comment | File | Size | Author |
---|---|---|---|
#1 | date_ical-language-check-1974798-1.patch | 1.15 KB | stevetweeddale |
Comments
Comment #1
stevetweeddale CreditAttribution: stevetweeddale commented<edit>Apologies for the funkily named patch here… been an afternoon of bug fixing</edit>
Comment #2
coredumperror CreditAttribution: coredumperror commentedDon't worry about the funky patch name. I do that kind of thing by accident all the time.
Thank you for all these great fixes! I feel dumb for claiming that Date iCal supports all entity types, without having actually tested that assertion.
Patch committed to dev.
Comment #4
stevetweeddale CreditAttribution: stevetweeddale commentedThanks for getting all of these committed!