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

toemaz’s picture

64 would be ok?

toemaz’s picture

Status: Active » Fixed

Committed to the dev release with 64 char limit. Once it's been repackaged you can try it out. Thanks.

Status: Fixed » Closed (fixed)

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