Attempting to make a view showing the taxonomy of a transaction yields this error:

Broken/missing handler: userpoints_txn > tid

But luckily the fix is super-easy. :-)

Comments

mile23’s picture

StatusFileSize
new635 bytes

I realize now that I forgot --no-prefix. :-)

YK85’s picture

subscribing

mile23’s picture

Assigned: mile23 » Unassigned
berdir’s picture

Status: Needs review » Fixed

Trivial and obvious patch, commited.

Status: Fixed » Closed (fixed)

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

soulfroys’s picture

Still getting blank category in my simple view. Did I miss something? Any help is appreciated...

$view = new view;
$view->name = 'Pontos_categoria';
$view->description = '';
$view->tag = '';
$view->view_php = '';
$view->base_table = 'userpoints';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Formato inicial (padrão)', 'default');
$handler->override_option('fields', array(
  'last_update' => array(
    'label' => 'Last update',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'date_format' => 'small',
    'custom_date_format' => '',
    'exclude' => 0,
    'id' => 'last_update',
    'table' => 'userpoints',
    'field' => 'last_update',
    'relationship' => 'none',
  ),
  'max_points' => array(
    'label' => 'Max pontos',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'set_precision' => FALSE,
    'precision' => 0,
    'decimal' => '.',
    'separator' => ',',
    'prefix' => '',
    'suffix' => '',
    'exclude' => 0,
    'id' => 'max_points',
    'table' => 'userpoints',
    'field' => 'max_points',
    'relationship' => 'none',
  ),
  'points' => array(
    'label' => 'Pontos',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'set_precision' => FALSE,
    'precision' => 0,
    'decimal' => '.',
    'separator' => ',',
    'prefix' => '',
    'suffix' => '',
    'exclude' => 0,
    'id' => 'points',
    'table' => 'userpoints',
    'field' => 'points',
    'relationship' => 'none',
  ),
  'tid' => array(
    'label' => 'Userpoints Category',
    'alter' => array(
      'alter_text' => 0,
      'text' => '',
      'make_link' => 0,
      'path' => '',
      'link_class' => '',
      'alt' => '',
      'prefix' => '',
      'suffix' => '',
      'target' => '',
      'help' => '',
      'trim' => 0,
      'max_length' => '',
      'word_boundary' => 1,
      'ellipsis' => 1,
      'html' => 0,
      'strip_tags' => 0,
    ),
    'empty' => '',
    'hide_empty' => 0,
    'empty_zero' => 0,
    'type' => 'separator',
    'separator' => ', ',
    'link_to_taxonomy' => 0,
    'limit' => 1,
    'vids' => array(
      '14' => 14,
      '1' => 0,
      '7' => 0,
      '12' => 0,
      '13' => 0,
    ),
    'exclude' => 0,
    'id' => 'tid',
    'table' => 'userpoints',
    'field' => 'tid',
    'relationship' => 'none',
  ),
));
$handler->override_option('access', array(
  'type' => 'none',
));
$handler->override_option('cache', array(
  'type' => 'none',
));
$handler->override_option('items_per_page', 0);
$handler->override_option('style_plugin', 'table');
$handler->override_option('style_options', array(
  'grouping' => '',
  'override' => 1,
  'sticky' => 0,
  'order' => 'asc',
  'columns' => array(
    'last_update' => 'last_update',
    'max_points' => 'max_points',
    'points' => 'points',
    'tid' => 'tid',
  ),
  'info' => array(
    'last_update' => array(
      'separator' => '',
    ),
    'max_points' => array(
      'sortable' => 0,
      'separator' => '',
    ),
    'points' => array(
      'sortable' => 0,
      'separator' => '',
    ),
    'tid' => array(
      'separator' => '',
    ),
  ),
  'default' => '-1',
));