Just run into this whilst trying to generate a feed from an eck defined entity type.

Essentially, although nodes do, there's nothing to say that other entity types will have a changed property; ECK lets you pick and choose which properties you'd like, so I can imagine others running into this.

As last-changed isn't a required field for iCal, we can just do an isset and only add it when it's around.

Patch to follow!

CommentFileSizeAuthor
#1 date_ical-1974682-1.patch1.4 KBstevetweeddale

Comments

stevetweeddale’s picture

StatusFileSize
new1.4 KB
stevetweeddale’s picture

Status: Active » Needs review
coredumperror’s picture

Status: Needs review » Fixed

Thank you for finding this! The style of your patch file also led me to looking up how to use it properly, and I learned about the git am command. Double bonus!

Your patch looks great, so I've committed it to dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.