Closed (fixed)
Project:
D7 Media
Version:
7.x-1.x-dev
Component:
Media field
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Aug 2012 at 11:20 UTC
Updated:
28 Sep 2012 at 18:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
rychu90 commentedComment #2
tedbowI have attached a patch that fixes this issue for me.
I believe this is caused $form_state is not passed by reference to the function media_edit. So right now:
Doesn't affect $form_state outside of the form. Then in
The file is not actually in $form_state.
Comment #4
bleen commentedconfirmed that this is an issue in 7.x-1.-dev.
Also, I tried the patch in #2 and I believe it is the correct solution. Obviously we need to figure out why its failing though...
Comment #5
tedbowOk, If you click view details for the patch you will see that all the exceptions(no errors found) are similar to this:
With different line numbers.
Is this an existing problem in Media? I don't see how my patch could have caused this. But this is the first time I have looked at Media's code.
Comment #6
dave reidThanks, I committed #2 to Git. http://drupalcode.org/project/media.git/commit/6d25709
We can fix the test failures separately.