Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
21 Jan 2014 at 16:20 UTC
Updated:
16 Feb 2014 at 16:40 UTC
Jump to comment: Most recent
Comments
Comment #1
tomasribes commentedComment #2
tomasribes commentedComment #3
pachabhaiya commentedDear tomasribes,
pareview.sh shows lots of errors.
Please check this link (http://pareview.sh/pareview/httpgitdrupalorgsandboxtomasribes2175167git) to find more details about the errors.
Cheers!!!
Comment #4
tomasribes commentedThanks for your comment 'c.pachabhaiya'!
I resolve all the errors. Now it's clean!
Cheers!
Comment #5
tomasribes commentedComment #6
tomasribes commentedComment #7
tomasribes commentedComment #8
PA robot commentedWe are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will 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" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #9
tomasribes commentedComment #10
tomasribes commentedComment #11
tomasribes commentedComment #12
singhsantosh commentedHi,
I have installed the module and go to the page 'image_importer/execute', it show me some warnings
Warning: scandir(/var/www/sites/default/files/): failed to open dir: No such file or directory in image_importer_scan_folder() (line 328 of x).
Warning: scandir(): (errno 0): Success in image_importer_scan_folder() (line 328 of /var/www/drupal-7.23/sites/all/modules/contrib/image_importer/image_importer.module).
Warning: Invalid argument supplied for foreach() in image_importer_scan_folder() (line 330 of /var/www/drupal-7.23/sites/all/modules/contrib/image_importer/image_importer.module).
My site is running as http://localhost/drupal7
so in the first warning - you can try to scan wrong directory
I have checked the code and found one thing - you used $_SERVER['DOCUMENT_ROOT'], In place of server variable you can use DRUPAL_ROOT (Root directory of Drupal installation).
Comment #13
tomasribes commentedHi vikram42270,
Thanks for you review!
I have been working in the code module again, solving your found issues. I suposed /sites/default/files/ exist in all Drupal installations but this folder not always exists. Now I add a check before the initial call to image_importer_scan_folder() function, if folder is not found an error message is showed and a watchdog entry is created. I also change my $_SERVER['DOCUMENT_ROOT'] to DRUPAL_ROOT constant.
Remeber to indicate the import base path in the module settings form as described in README.txt
I change the status to 'Need review' again, hoping it gonna works fine next time you try!
Cheers!
Comment #14
markaspot commentedHi Tomas,
Your module does exactly what I found in your README.txt.
I checked your code with pareview and found one small error:
324 | ERROR | Files must end in a single new line characterMaybe you can check this before the last review.
Some of my impressions and ideas using the module:
Comment #15
tomasribes commentedHi Holger (markaspot),
Thank you very much for your review. I'm happy to know it works fine for you. I tried to explain the process in README to be useful for community.
I also solved your impressions, trying to improve importer use. I change:
Cheers!
Comment #16
klausiThe following git branches do not match the release branch pattern, you should remove/rename them. See http://drupal.org/node/1015226
Manual review:
<li>Nodes id: ' . $nid . '</li><li>field name: ' . $field_name . '</li>: all user facing text must run through t() for translation.Although you should definitely fix those issues they are not critical application blockers, so ...
Thanks for your contribution, tomasribes!
I updated your account so you can promote this to a full project and also create new projects as either a sandbox or a "full" project.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and stay involved!
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thanks to the dedicated reviewer(s) as well.
Comment #17
tomasribes commentedHi Klaus,
Tank you very much for your detailed review and all your advices.
I'm working in your advice changes, reviewing migrate project and improving the code issues. I'm gonna convert the project to Full project when have it done!
Awaiting be useful for this excellent community!
Best regards!