Opened 5 months ago
Closed 6 weeks ago
#23154 closed defect (bug) (fixed)
Media library won't display images when there's broken attachment parents
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.6 |
| Component: | Media | Version: | 3.5 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | kevinlangleyjr |
Description
When debug is enabled and there's a problem getting the parent of an attachment, get_attachment_link will thrown a "Trying to get property of non-object" notice that breaks the JSON response of the ajax performed by the new 3.5 media library window.
Attachments (2)
Change History (7)
viniciusmassuchetto
— 5 months ago
comment:1
SergeyBiryukov
— 5 months ago
- Component changed from General to Media
- Keywords has-patch added
- Milestone changed from Awaiting Review to 3.6
comment:2
kevinlangleyjr
— 4 months ago
- Cc kevinlangleyjr added
comment:3
SergeyBiryukov
— 6 weeks ago
#24258 was marked as a duplicate.
comment:4
SergeyBiryukov
— 6 weeks ago
23154.2.diff is a patch combined with the one in #24258. Should also resolve #22312.
SergeyBiryukov
— 6 weeks ago
comment:5
SergeyBiryukov
— 6 weeks ago
- Owner set to SergeyBiryukov
- Resolution set to fixed
- Status changed from new to closed
In 24182:
Note: See
TracTickets for help on using
tickets.
Related: #22312