Because the qid has not been set when the queue edit form is submitted, user subqueues created with batch creation have their qids set to 0. This patch disables batch creation in the queue edit form until the queue has been created.

CommentFileSizeAuthor
#1 sq_u_disable.patch1.67 KBezra-g

Comments

ezra-g’s picture

Assigned: Unassigned » ezra-g
StatusFileSize
new1.67 KB
ezra-g’s picture

Version: 5.x-0.4 » 6.x-1.x-dev
ezra-g’s picture

Title: Batch subqueue creations sets qid = 0 » Batch subqueue creation should use form_submit_finish
Version: 6.x-1.x-dev » 5.x-0.4
Priority: Critical » Normal
Status: Patch (to be ported) » Active

Actually, this isn't the best solution. Merlinofchaos thought ahead, and provided a nodequeue_api_queue_form_submit_finish, that runs after the queue is created. Nice API!

Setting this back to active/normal since the problem is solved currently, but could be solved *better*.

ezra-g’s picture

Status: Active » Fixed

Committed to 5 and 6.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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