Completed an upgrade from 3.6 to 5.0. Everything seems to be working smoothly but an attempt to filter videos from the Browse view throws an error in the watchdog 'Invalid form POST data.'. Tried to debug brightcove_field_filter_form() but couldn't figure out how to have it actually submit the form to brightcove_field_filter_form_submit()

Any thoughts on things to try?

If it helps, here's the top of the POST data:
keywords=tom&search=tags&submit=Filter&form_build_id=form-HhYzHUObmuWPsfZiTGH_LF8UBiuA89fIe7X2Fyo3Uh4&form_token=T1oAE3zKdsZrT6uA4Fdi6esKCoeI-g2v_c-DgAdW7MY&form_id=brightcove_field_filter_form&_triggering_element_name=submit-598913122001&_triggering_element_value=Attach&ajax_html_ids%5B%5D=brightcove-field-filter-form&ajax_html_ids%5

Thanks!

Comments

dysproseum’s picture

I am noticing a similar issue, when browsing for videos, the filter text search does not actually filter any of the videos below.

Example: https://www.evernote.com/shard/s6/sh/1a443502-dbaf-4e14-91ec-a53717285db...

Perhaps this is a similar issue?

Version 7.x-5.0.

jansete’s picture

Hey guys, there was a problem with the id forms (filter and attach), do you test this? https://drupal.org/node/2175571#comment-8753325
Maybe solve your problems.

k.dani’s picture

Title: Filter videos in browse view returning 'Invalid form POST data.' » Filter videos in browse view not work
Status: Active » Needs work
Issue tags: +Release blocker

The filtering doesn't work at all, so I updated the title of the issue. It is a release blocker issue, so new version won't be created until it is fixed.

k.dani’s picture

Version: 7.x-5.0 » 7.x-5.x-dev
k.dani’s picture

Assigned: Unassigned » k.dani
k.dani’s picture

Status: Needs work » Closed (fixed)

The problem source was the caching of the filter form. If it is cached with the results of the videos, the submit handler isn't invoked after the filter button pressed. It has been fixed and added to the latest version of the dev branch (Commit 1d9ea89 on 7.x-5.x).

  • Commit 1d9ea89 on 7.x-5.x by k.dani:
    Issue [#2228541] by DanielWashbrook, dysproseum, jansete, k.dani: Fix...