I am using versioncontrol (along with the included commitlog module) with versioncontrol_git. The diffstat blocks are displaying the following notice:
Notice: Undefined index: places in versioncontrol_handler_field_item_revision_visual_diffstat->render() (line 30 of versioncontrol/includes/views/handlers/versioncontrol_handler_field_item_revision_visual_diffstat.inc).
The attached patch overrides the default option_definitions and actually adds the places key in the options object. This will remove the notices and allow the diffstat blocks to function correctly.
| Comment | File | Size | Author |
|---|---|---|---|
| versioncontrol_handler_field_item_revision_visual_diffstat-undefined_index_places.patch | 875 bytes | jh3 |
Comments
Comment #1
jh3 commentedComment #2
marvil07 commentedAlso allows exportability :-)
Thanks for the patch, it's now on both 7.x-1.x and 6.x-2.x.
Comment #3
jh3 commentedGreat!