Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

process properties for media link entities #11

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

bradleesand
Copy link

In media entities, the properties element is a sibling rather than a child of content. http://docs.oasis-open.org/odata/odata-atom-format/v4.0/cs02/odata-atom-format-v4.0-cs02.html#_Toc372792748

@@ -192,7 +192,7 @@ def set_property_lazy_load(name, xml_value )

def self.process_properties(entity, xml_doc)
entity.instance_eval do
xml_doc.xpath('./content/properties/*').each do |property_xml|
xml_doc.xpath('./content/properties/*', './content/properties/*').each do |property_xml|
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol oops. That was supposed to be ./properties

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants