Fixes "could not be converted to string" on normal use case.#2
Fixes "could not be converted to string" on normal use case.#2Andrew Smith (andrewevansmith) wants to merge 1 commit intocontentful:masterfrom
Conversation
|
Thank you for the pull request. First of all sorry for taking so long to get to this, I didn't check github over the holidays. The issue is with fields that are not localized (which I annoyingly hadn't tested). Unfortunately your fix would have broken localized fields. I fixed the issue in a different way and added unit tests to ensure it doesn't happen again. I'll cut a new release either this week or next week. |
|
Thanks! :) On Wed, Jan 6, 2016 at 11:08 AM, Rouven Weßling notifications@github.com
|
The magic getter was trying to get the content under $field->{en-US} using an object instead of the locale code.
Had to patch this to get a simple blog post to display it's title properly.