Opened 6 years ago
Closed 6 years ago
#45890 closed defect (bug) (duplicate)
Customize: 2 browser tabs open in customizer can overwrite widgets of same type
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.0.2 |
Component: | Customize | Keywords: | needs-patch |
Focuses: | Cc: |
Description
Not seeing this exact bug in trac, so putting in a new ticket. I've found other issues related to how widgets are saved (mostly with them disappearing), but not this exactly when I did a search.
Steps to reproduce:
- Open 2 browser tabs and access customizer.
- Navigate to 2 different widget areas in each tab.
- Choose the same widget type (eg text widget) and populate with different content.
- Click publish in browser tab 1, then click publish in browser tab 2.
This will result in the instance of the widget of tab 2 being in both widget areas. If you update the widget after in either widget area, it will update as well in the other. If you look in the database in options table for sidebars_widgets
you will see the same widget ID assigned to both widget areas.
This is caused by one widget overwriting the other widget as they are assigned the same ID on creation. They are then assigned to different widget areas.
Change History (1)
Note: See
TracTickets for help on using
tickets.
You're right. This is an issue. It's previously been reported in #35669: