The data_function key was removed from the vimeo integration in the last update. This causes some problems with identifying the handler of the video URL and is an API change.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Sam152 created an issue. See original summary.

Sam152’s picture

Status: Active » Needs review
FileSize
1.16 KB

This patch brings it back and makes it share the same function as the thumbnail callback. It seems useful that the same keys are okay to store in data (namely ID), and it's a requirement that something goes in there to get the handler metadata.

jibran’s picture

Status: Needs review » Reviewed & tested by the community

Nice catch works for me locally.

Leon Kessler’s picture

Status: Reviewed & tested by the community » Needs review
FileSize
690 bytes

Why not save the full set of data (rather than just the thumbnail)?

Also renaming this function is confusing, doesn't describe the intended behaviour.

Leon Kessler’s picture

Adding related issue (for when the data_function was removed)

Leon Kessler’s picture

Also, can you clarify what you mean by handler key? Where should this key appear? How are you using it?

plopesc’s picture

Status: Needs review » Fixed

Pushed to 7.x-2.x-dev

Thank you!

  • plopesc committed db6ec91 on 7.x-2.x authored by leon.nk
    Issue #2555113 by Sam152, leon.nk: 'handler' key never gets set when the...

Status: Fixed » Closed (fixed)

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