The code in facetapi_views_block_info() is breaking on my site. My searcher name is search_api@default_taxonomy_index.

The error:

PDOException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'delta' at row 1: INSERT INTO {block} (module, delta, theme, status, weight, region, pages, cache) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7); Array
(
    [:db_insert_placeholder_0] => facetapi_views
    [:db_insert_placeholder_1] => s:search_api@default_taxonomy_index
    [:db_insert_placeholder_2] => bartik
    [:db_insert_placeholder_3] => 0
    [:db_insert_placeholder_4] => 0
    [:db_insert_placeholder_5] => -1
    [:db_insert_placeholder_6] => 
    [:db_insert_placeholder_7] => -1
)

Comments

mortona2k created an issue. See original summary.

geek-merlin’s picture

Huh, that's a pity.
Let's change the deltas to MD5.
As an experimental feature and <10 installs (2 from me) we can do that without upgrade path.

Patches appreciated.

  • axel.rutz committed e40905e on 7.x-1.x
    Issue #2728889: Searcher names >30 chars breaking drupal module updates
    
geek-merlin’s picture

Status: Active » Fixed

OK the fix is in current dev. You will have to delete and recreate the block after update.
Works here.

geek-merlin’s picture

Status: Fixed » Closed (fixed)

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