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.

Comments

jh3’s picture

Status: Active » Needs review
marvil07’s picture

Status: Needs review » Fixed

Also allows exportability :-)

Thanks for the patch, it's now on both 7.x-1.x and 6.x-2.x.

jh3’s picture

Great!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 40d37b0 on 7.x-1.x, drush-vc-sync-unlock authored by jh3, committed by marvil07:
    Issue #1880258 by jh3: Fixed Undefined index: places in...

  • Commit 40d37b0 on 7.x-1.x authored by jh3, committed by marvil07:
    Issue #1880258 by jh3: Fixed Undefined index: places in...