Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2012 at 23:15 UTC
Updated:
8 Mar 2013 at 13:07 UTC
Drupal 7
Media integration into Video fields
Requires:
http://drupal.org/project/media
http://drupal.org/project/video
Project Page:
http://drupal.org/sandbox/dlumberg/1364538
Git:
git clone --recursive --branch 7.x-1.x git.drupal.org:sandbox/dlumberg/1364538.git media_video
Comments
Comment #1
dlumberg commentedComment #2
miksan commentedThe code seems tidy :).
Here's a few remarks from an automated review: http://ventral.org/pareview/httpgitdrupalorgsandboxdlumberg1364538git
Comment #3
miksan commentedIn media_video.module:
Line 68 & 74:
The use of call-time pass-by-reference has been deprecated since PHP 5.3.0 and the systems throws a warning:
"Deprecated function: Call-time pass-by-reference has been deprecated in drupal_load() (line 1128 of /home/mikkel/workspace/do-review.dev/htdocs/includes/bootstrap.inc)."
The fix is to remove the & from the parameters in the function calls.
Comment #4
dlumberg commentedThanks for reviewing miksan. Good catch, I had just copied the function definition. I removed the & references from
and
and committed the change to git.
Comment #5
miksan commentedIf I press the "select media" button and afterwards either upload or pick a video from the library nothing happens.
What is suppose to happen?
media_video.js:
Line 6:
This event never seems to be fired:
Line 25:
I think the trailing comma could create an error in IE (I have not tested it):
Comment #6
dlumberg commentedWhat browser are you using? I tested it in Chrome, FF, Safari, IE9 and after uploading and pressing "upload" or selecting a video from the library and hitting "submit" it fires the JS call and reloads the form field. I haven't tested in older versions of IE.
Comment #7
miksan commentedSorry still no success.
I have testet in IE9 in windows 7 and chrome/FF in linux mint.
I could not see media_video.js in source code. But after disabling overlay I saw it.
Still it looks like line 6 is still not getting triggered. I have not been diving into why it reacts like that.
Have you tried to restart with a clean Drupal install and activating only media_video (with its dependencies)?
Comment #8
dlumberg commentedI developed it in a Clean Install of drupal with nothing else and the default drupal 7 theme.
with Media 7.x-2.0-unstable5+3-dev
and Video 7.x-2.6
I will try a fresh install with overlay on and see what happens.
Comment #9
dlumberg commentedStarting a new install from scratch I had no issues and I couldn't reproduce your errors. I tested it in Windows 7 with IE9, Chrome and FF with the JS console open and didn't see any errors.
Here's my environment:
Here's what I did to setup the content type "Video"
Here's what I tested (the expected functionality of the module):
Comment #10
dlumberg commentedComment #11
svla299 commentedI have installed the module. When I press the "select media" button and select a file from the library I'm getting the message "The file used in the Video field may not be referenced." Is there a way to solve this problem?
Comment #12
paravibe commentedIn media_video.module file found 2 errors:
105 | ERROR | Wrong function doc comment end; expected "*/", found "**/"
119 | ERROR | Wrong function doc comment end; expected "*/", found "**/"
Comment #13
anwar_maxHi dlumberg,
Manual Review:
1) Please add more information about module, configuration and installation process to README.txt.
Automated Review:
Please try to fix this issue Result of automated review
There is still a master branch, make sure to set the correct default branch: http://drupal.org/node/1659588 . Then remove the master branch, see also step 6 and 7 in http://drupal.org/node/1127732
Review of the 7.x-1.x branch:
This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.
Comment #14
klausiClosing due to lack of activity. Feel free to reopen if you are still working on this application.
If you reopen this please keep in mind that we are currently quite busy with all the project applications and I can only review projects with a review bonus. Please help me reviewing and I'll take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (found some problems with the project) or "reviewed & tested by the community" (found no major flaws).
Comment #14.0
klausiUpdated issue summary.