Active
Project:
Apache Solr Facet Builder
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 May 2010 at 11:53 UTC
Updated:
12 Feb 2011 at 09:33 UTC
This is the complete warning message that I received, and the block remains in section:
user warning: Duplicate entry 'pro_5-apachesolr_facetbuilder-sm_facetbuilder_search_by_projec' for key 2 query: INSERT INTO blocks (module, delta, theme, status, weight, region, custom, throttle, visibility, pages, title, cache) VALUES ('apachesolr_facetbuilder', 'sm_facetbuilder_search_by_project_facet', 'pro_5', 0, 0, '', 0, 0, 0, '', '', 4) in /var/www/vhosts/developer_svn/includes/common.inc on line 3477.
Any clues?
Comments
Comment #1
ronan commentedHmm... looks like the automatically generated block names are getting too long for the table field. I'll try to find a way to make sure the names generated are shorter (maybe use an acronym instead of the full module name if I can). In the mean time you may be able to mitigate this by using a shorter machine name for your view.
Comment #2
protoplasm commentedMy logs show the same issue as well.
Comment #3
gaëlgSame for me :
I'll try with a shorter name, as I can see this one is 3 chars too long.
Comment #4
mvcFWIW I fixed this in the short term by allowing delta values of up to 64 chars in the blocks table:
ALTER TABLE `blocks` CHANGE `module` `module` VARCHAR( 64 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT;Comment #5
francewhoaConfirming this issue with 6.x-1.x-dev of 2010-Jul-11
In my case the block can not be move to any regions with a Views machine name 22 characters long
The same block can be move to any regions with a Views machine name 7 characters long
Comment #6
brycesenz commentedConfirming & Subscribing.