#22593 closed defect (bug) (fixed)
Gallery view: Fields are not saved when another image is selected
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Media | Version: | 3.5 |
| Severity: | normal | Keywords: | has-patch needs-testing commit |
| Cc: |
Description
http://wordpress.org/support/topic/media-frame-gallery-doesnt-just-save-the-fields?replies=1
- Open the media modal
- Select two images
- Create a gallery
- Select the first image
- Change the alt text
- Select the second image (leave the text field be focused)
- Select the first image => alt text is unchanged
Seems to be only in the gallery view.
Attachments (3)
Change History (10)
koopersmith
— 7 months ago
comment:2
koopersmith
— 7 months ago
- Keywords has-patch needs-testing added; needs-patch removed
koopersmith
— 7 months ago
comment:3
koopersmith
— 7 months ago
Address a race condition in the saving.
comment:5
nacin
— 7 months ago
- Resolution set to fixed
- Status changed from assigned to closed
In 22888:
koopersmith
— 7 months ago
comment:6
koopersmith
— 7 months ago
Technically, changed is an object, so it's truthy, and telling us to always fire off a request. We don't want to do that.
Note: See
TracTickets for help on using
tickets.
Patch ensures that any changed properties are saved before an Attachment view is destroyed. Patch also finishes the conversion of the Attachments view to use media.Views and always runs media.View.prepare.