[wp-trac] Re: [WordPress Trac] #10092: widgets randomly get added
in two or more sidebars
WordPress Trac
wp-trac at lists.automattic.com
Thu Jun 11 02:05:38 GMT 2009
#10092: widgets randomly get added in two or more sidebars
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner: azaozz
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8.1
Component: Widgets | Version: 2.8
Severity: normal | Keywords:
-------------------------------+--------------------------------------------
Comment(by junsuijin):
Just figured out a bit more info...
Starting from having no widgets, manually cleaning the db option.
I kept watch of the AJAX POST for widgets-order responses, and the widgets
would number as expected, where each widget had widget-12_rig-html-16,
widget-12_rig-html-17, etc., where the widget-12 corresponds to the type
of widget, unique to each type of widget in the available widgets list.
I press F5, then click the Widgets admin menu link to totally reload the
page.
I attempt to put a new rig-html widget into sidebar-1 and then quickly
move it to sidebar-2.
I note 3 AJAX POSTs now, all numbering the widgets like widget-21_rig-
html-16, widget-22_rig-html-17, where the widget-number corresponds to the
order of active widgets from first registered sidebar to last registered
sidebar. The widget did still get moved correctly, but this is
inconsistent behavior, and could account for the widget
overwriting/duping, since the new widget gets added as a widget-12 as
expected, but amongst widgets of order determined by their place in the
list of active widgets.
Example (note widget-12_rig-html-33):
---------------------------------------------------------------------------------
RESPONSE 1
---------------------------------------------------------------------------------
action
widgets-order
savewidgets
4ba6c52c16
sidebars[after-comments]
sidebars[after-content]
sidebars[after-title]
sidebars[after-welcome-content]
widget-44_pages-2,widget-45_links-2,widget-46_tag_cloud-2
sidebars[backgrounds]
widget-49_rig-html-20
sidebars[before-content]
sidebars[before-welcome-content]
sidebars[features]
widget-40_text-7,widget-41_rig-recent-posts-3,widget-42_rig-recent-
comments-3,widget-43_categories-2
sidebars[footer]
widget-47_rig-seo-footer,widget-48_rig-html-21
sidebars[header]
widget-38_rig-seo-header,widget-39_rig-html-22
sidebars[scripts]
sidebars[sidebar-1]
widget-21_rig-html-15,widget-22_rig-seo-sidebar,widget-23_rig-html-23
,widget-24_rig-html-24,widget-25_rig-html-28
,widget-26_rig-html-29,widget-27_rig-html-30,widget-28_rig-html-32,widget-
29_rig-html-31,widget-30_rig-html-16
,widget-12_rig-html-33
sidebars[sidebar-2]
widget-31_rig-html-17,widget-32_rig-html-25,widget-33_rig-html-19,widget-
34_rig-html-26,widget-35_text-6
,widget-36_rig-html-27,widget-37_rig-html-18
sidebars[sidebar-top]
sidebars[wp_inactive_widgets]
---------------------------------------------------------------------------------
RESPONSE 2
---------------------------------------------------------------------------------
action
widgets-order
savewidgets
4ba6c52c16
sidebars[after-comments]
sidebars[after-content]
sidebars[after-title]
sidebars[after-welcome-content]
widget-44_pages-2,widget-45_links-2,widget-46_tag_cloud-2
sidebars[backgrounds]
widget-49_rig-html-20
sidebars[before-content]
sidebars[before-welcome-content]
sidebars[features]
widget-40_text-7,widget-41_rig-recent-posts-3,widget-42_rig-recent-
comments-3,widget-43_categories-2
sidebars[footer]
widget-47_rig-seo-footer,widget-48_rig-html-21
sidebars[header]
widget-38_rig-seo-header,widget-39_rig-html-22
sidebars[scripts]
sidebars[sidebar-1]
widget-21_rig-html-15,widget-22_rig-seo-sidebar,widget-23_rig-html-23
,widget-24_rig-html-24,widget-25_rig-html-28
,widget-26_rig-html-29,widget-27_rig-html-30,widget-28_rig-html-32,widget-
29_rig-html-31,widget-30_r
ig-html-16
sidebars[sidebar-2]
widget-31_rig-html-17,widget-32_rig-html-25,widget-33_rig-html-19,widget-
34_rig-html-26,widget-35_text-6
,widget-36_rig-html-27,widget-37_rig-html-18
sidebars[sidebar-top]
sidebars[wp_inactive_widgets]
---------------------------------------------------------------------------------
RESPONSE 3
---------------------------------------------------------------------------------
action
widgets-order
savewidgets
4ba6c52c16
sidebars[after-comments]
sidebars[after-content]
sidebars[after-title]
sidebars[after-welcome-content]
widget-44_pages-2,widget-45_links-2,widget-46_tag_cloud-2
sidebars[backgrounds]
widget-49_rig-html-20
sidebars[before-content]
sidebars[before-welcome-content]
sidebars[features]
widget-40_text-7,widget-41_rig-recent-posts-3,widget-42_rig-recent-
comments-3,widget-43_categories-2
sidebars[footer]
widget-47_rig-seo-footer,widget-48_rig-html-21
sidebars[header]
widget-38_rig-seo-header,widget-39_rig-html-22
sidebars[scripts]
sidebars[sidebar-1]
widget-21_rig-html-15,widget-22_rig-seo-sidebar,widget-23_rig-html-23
,widget-24_rig-html-24,widget-25_rig-html-28
,widget-26_rig-html-29,widget-27_rig-html-30,widget-28_rig-html-32,widget-
29_rig-html-31,widget-30_r
ig-html-16
sidebars[sidebar-2]
widget-31_rig-html-17,widget-12_rig-html-33,widget-32_rig-html-25,widget-
33_rig-html-19,widget-34_rig-html-26
,widget-35_text-6,widget-36_rig-html-27,widget-37_rig-html-18
sidebars[sidebar-top]
sidebars[wp_inactive_widgets]
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10092#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list