Download & Extend

Nodequeue Generate generates out of bound positions.

Project:Nodequeue
Version:7.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

AttachmentSizeStatusTest resultOperations
nodequeue_generate_increment.patch1.08 KBIgnored: Check issue status.NoneNone

Comments

#1

Status:needs review» fixed

This is committed. Thanks!

#2

Status:fixed» closed (fixed)

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

nobody click here