Closed (fixed)
Project:
DFP Small Business (Google Ad Manager)
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Dec 2009 at 22:10 UTC
Updated:
24 Dec 2009 at 22:30 UTC
Just had a client send me adslot names that were longer than 32-characters, which resulted in only the first being displayed in the drupal blocks view.
This seems to be part of the problem:
$block_deltas[truncate_utf8(drupal_strtolower($ad_slot), 32)] = $ad_slot;
I think one of two things need to happen:
Either the module validates the admin settings form to squawk at adslot names longer than 32-characters or the module needs to support adslot names over 32 characters. The latter would be a better approach imo.
Comments
Comment #1
toemaz commented64 would be ok?
Comment #2
toemaz commentedCommitted to the dev release with 64 char limit. Once it's been repackaged you can try it out. Thanks.