Closed (fixed)
Project:
Nodequeue
Version:
7.x-2.2
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jan 2020 at 22:47 UTC
Updated:
30 Jul 2020 at 16:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
branram commentedI figured it out... the update requires you to indicate the content type that gets added to the Nodequeue in settings... whoops!
Comment #3
jenlamptonGlad you figured it out!
Comment #4
sergii pryma commentedThe bug is there. When you save one node type, nodequeue settings of other node types are getting changed.
The problem is in the new nodequeue_form_node_type_form_submit() function:
If node type $type isn't found in the queues $types then $key = FALSE;
PHP:
So unset($types[FALSE]) is equal to unset($types[0]).
And you Disable the first node content type from the $queue->types, whatever it is.
You should check var type of array_search() result as well.
It can be something like:
Comment #5
sergii pryma commentedComment #6
sergii pryma commentedComment #7
happysnowmantech commentedRolled patch against 7.x-2.2 for #4. Thanks, Sergii.
Comment #9
jenlamptonThanks for the fix @ergii Pryma and for the patch @happysnowmantech. This has been committed and will be included in the next release.