#9148 closed defect (bug) (fixed)
Unable to update image Summary using AtomPub
| Reported by: | tarmes | Owned by: | josephscott |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7.2 |
| Component: | AtomPub | Version: | 2.7 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
If I GET an image's metadata the summary node contains the image caption.
When PUTing this data I can successfully change a number of fields (title, description (content), etc) but the summary does not change.
Attachments (1)
Change History (9)
#3
@
18 years ago
Added attachment to look for the media description field in the AtomPub summary field instead of the content field. This fixes the problem of being able to update the description field but still feels a bit odd.
I guess technically it's correct though since the spec says the content field MUST be empty when there's a src attribute value.
#8
@
18 years ago
For future reference, the spec details reference is:
http://www.atompub.org/rfc4287.html#element.content
Basically, if you have a SRC attribute, then the content must be empty.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Just to remind myself when I look at this again, the <summary> element is populated from the caption field for the media file in WP.