after upgrading to 6.x-1.0-beta4 this error started occurring and the player does not show up
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | mediafront-881294.patch | 1011 bytes | jrglasgow |
| #1 | mediafront-881294.patch | 1.3 KB | jrglasgow |
after upgrading to 6.x-1.0-beta4 this error started occurring and the player does not show up
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | mediafront-881294.patch | 1011 bytes | jrglasgow |
| #1 | mediafront-881294.patch | 1.3 KB | jrglasgow |
Comments
Comment #1
jrglasgow commentedit looks to me that the problem is that I used the new feature in MediaFront to export the mediafront presets as a feature.
the function mediafront_get_preset() only checks the database for preset information
while all your preset lists allows modules to add presets as well, this is how the feature works, I modified the mediafront_get_preset() function to use the mediafront_get_presets() function to get all presets.
attached is a patch to make this change
Comment #2
jrglasgow commentedComment #3
travist commentedNice!
I will review this and commit soon if all is well. Thank you so much for your efforts!
Travis.
Comment #4
that0n3guy commentedI just tested this and it does seem to fix the error.
Comment #5
that0n3guy commentedThis does fix the issue, BUT it breaks the regularly created presets with the same error.
Comment #6
jrglasgow commentedThis patch checks to see if there is any settings for the preset, if not it looks for a default preset in code.
It should take care of the problem mentioned in #5
Comment #7
that0n3guy commentedFrom what I can tell, this works perfectly. Both preset "types" work correctly now.
Comment #8
matze999 commentedMmmh,
i tried to apply the patch on both beta-4 and the dev version but both times it fails with:
Hunk #1 FAILED at 595.
Hunk #2 FAILED at 654.
Tried to apply the patch manually, but the error persists.
not sure what to do at this point.
Any help would be appreciated
matt
Comment #9
memoo commentedsubscribe
Comment #10
patmacs commentedI had a similar problem but I didn't apply the patch to fix it. I just added the correct media field to the view and then selected that field when adjusting the MediaFront setting for the view. I guess that if it doesn't have the right media field, it'll throw a fit. Hope that helps.
Comment #11
jazzslider commentedHello!
I received this same error when using Mediafront on Drupal 7. In my case, it turned out that the problem was underscores in the machine name of the Mediafront Preset I had created. To resolve, I re-created the preset without underscores or any other special characters, and then assigned the new preset to the view. This took care of the issue for me.
This particular problem could be solved either by adjusting the code that failed when special characters were in the preset name, or by adjusting the field help stating that underscores, hyphens, and so forth are acceptable characters in the preset name.
Thanks!
Adam
Comment #12
naeluh commentedI tried to use patch on #6 and I reporting the same as #8.
I am not sure if this is related but in the 6.1.3 and dev I am showing a hidden in the display dropdown in cck display tab.
After I have had a working install for about a year and now it is broken.
Please advise
Comment #13
TC44 commentedSame issue here, on both the lastest release and dev...
*edit - scratch that, reinstalled and it's working fine now here.