#36957 closed defect (bug) (duplicate)
Dialog to add Featured Images doesn't work when resizing images first
| Reported by: | pauljacobson | Owned by: | joemcgill |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Media | Version: | 4.5.2 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | ui, administration, performance |
Description
I noticed that when I upload an image to use as a featured image and resize it before clicking on the "Set Featured Image" button, clicking on that button doesn't actually load the preview of the Featured Image. Instead, I have to –
- resize the image,
- cancel the edit to return to the Media Library and
- then re-select the (resized) image and click on the "Set Featured Image" for the preview to load.
Change History (4)
#1
@
10 years ago
- Keywords needs-patch added
- Milestone Awaiting Review → 4.6
- Owner set to
- Status new → accepted
#2
follow-up:
↓ 3
@
10 years ago
- Keywords needs-patch removed
- Milestone 4.6
- Resolution → duplicate
- Status accepted → closed
Actually, this looks like it's a duplicate of #36861, and is fixed by the 36861.2.diff.
#3
in reply to: ↑ 2
;
follow-up:
↓ 4
@
10 years ago
Thanks Joe
So does that mean the bug will be fixed in a bug fix update?
Replying to joemcgill:
Actually, this looks like it's a duplicate of #36861, and is fixed by the 36861.2.diff.
#4
in reply to: ↑ 3
@
10 years ago
Replying to pauljacobson:
Thanks Joe
So does that mean the bug will be fixed in a bug fix update?
#36861 is currently slotted for 4.5.3, so as long as that fix is completed before that bugfix release goes out, it should be included. Testing out the latest patch on that ticket and leaving feedback would be appreciated.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hi @pauljacobson, thanks for the report. I can confirm that this is the case. It looks like the model isn't being maintained after the edit process, causing
wp.media.view.Toolbar.refresh()to throw and undefined error.