Nodequeue Generate generates out of bound positions.

wulff - May 13, 2009 - 14:47
Project:Nodequeue
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Currently, the nodequeue_generate module generates the following positions when populating a nodequeue:

1, 3, 5, 7, 9, ...

This happens because $subqueue->count is incremented in both nodequeue_generate_form_submit() and nodequeue_subqueue_add().

Attached patch fixes this.

AttachmentSize
nodequeue_generate_increment.patch1.08 KB

#1

ezra-g - June 1, 2009 - 15:50
Status:needs review» fixed

This is committed. Thanks!

#2

System Message - June 15, 2009 - 16:00
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.