Description
This module creates a simple field formatter for file and image type fields. It creates a download link which enables user to download the fields content as .zip archive.

The download button text is editable under field display settings.

Link to project:
https://www.drupal.org/sandbox/martin./2366367

Git clone link
git clone --branch 7.x-1.x https://git.drupal.org/sandbox/Martin./2366367.git bulk_download_field_formatter

A list of links to reviews of other project applications

  1. -
CommentFileSizeAuthor
#16 configration.png39.34 KBvisabhishek

Comments

Martin. created an issue. See original summary.

PA robot’s picture

We 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.

dilipsingh02’s picture

Status: Needs review » Needs work

Automated review
http://pareview.sh/pareview/httpsgitdrupalorgsandboxmartin2366367git

please fix following issues :

FILE: /var/www/drupal-7-pareview/pareview_temp/bdlf.module
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
----------------------------------------------------------------------
131 | ERROR | [x] Expected one space after the comma, 0 found
131 | ERROR | [x] Expected one space after the comma, 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------

Martin.’s picture

Status: Needs work » Needs review

Fixed

andrey.troeglazov’s picture

Hello,
I`ve reviewed your module, there are some issues:
1) Readme file is not correct. Please, make it according specifications. https://www.drupal.org/node/2181737
2) You don't have hook_help. Please check it. https://www.drupal.org/node/1095546
3) Unnecessary space http://storage2.static.itmages.com/i/16/0617/h_1466170429_7677515_a857ff...
4) Codestyle http://storage7.static.itmages.com/i/16/0617/h_1466170625_1534608_fd2094...
Kind Regards.

andrey.troeglazov’s picture

Status: Needs review » Needs work
klausi’s picture

Status: Needs work » Needs review

Style issues alone are surely not application blockers, anything else that you found or should this be RTBC instead?

viljaste’s picture

Status: Needs review » Reviewed & tested by the community
arvind.kinja’s picture

You should add dependencies for entity module in info file.

arvind.kinja’s picture

Status: Reviewed & tested by the community » Needs work
Martin.’s picture

Could you elaborate on that arvind.kinja ? This module does not depend on entity or any other module.

arvind.kinja’s picture

You are using entity_metadata_wrapper() function on your module that is defined in entity module. If you will not use this module then you will got error Fatal error: Call to undefined function entity_metadata_wrapper() in /home/arkmwdemoserver/public_html/drupal7test/sites/all/modules/bulk_download_field_formatter/bdlf.module on line 64

PA robot’s picture

Status: Needs work » Closed (won't fix)

Closing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).

I'm a robot and this is an automated message from Project Applications Scraper.

Martin.’s picture

Status: Closed (won't fix) » Needs review

Fixed all the above mentioned problems.

viisut’s picture

Status: Needs review » Reviewed & tested by the community
visabhishek’s picture

Status: Reviewed & tested by the community » Needs work
StatusFileSize
new39.34 KB

I am getting WSOD while i am trying to download files using your module.

Please see the Module Configuration in attached screenshot.

Error log message is :
[Wed Jan 18 23:48:30.347199 2017] [:error] [pid 3928] [client 127.0.0.1:59858] PHP Fatal error: Class 'ZipArchive' not found in /var/www/html/drupal-7.51/sites/all/modules/bulk_download_field_formatter/bdlf.module on line 102, referer: http://localhost/drupal-7.51/node/4

Please let me know if i am missing anything.

Martin.’s picture

Status: Needs work » Needs review

You don't have PHP zip extension loaded and this is what is causing the error. I have implemented hook_requirements() which will check the presence of the extension and will return error status when it's missing which should result in module failing to install or when it's already enabled there is a status row about the availability of the extension on status report page (/admin/reports/status)

poojasharmaece’s picture

Status: Needs review » Reviewed & tested by the community

Looks all good. Working Fine for me.

visabhishek’s picture

Status: Reviewed & tested by the community » Fixed

Review of the 7.x-1.x branch (commit 161a622):

Coder Sniffer has found some issues with your code (please check the Drupal coding standards). See attachment.

No automated test cases were found, did you consider writing Simpletests or PHPUnit tests? This is not a requirement but encouraged for professional software development.

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.

Please resolve following issues .

<p>FILE: /root/repos/pareviewsh/pareview_temp/bdlf.install<br>
------------------------------------------------------------------------<br>
FOUND 4 ERRORS AFFECTING 4 LINES<br>
------------------------------------------------------------------------<br>
  1 | ERROR | [x] Missing file doc comment<br>
  3 | ERROR | [ ] Missing short description in doc comment<br>
  6 | ERROR | [x] Missing function doc comment, only found file comment<br>
 34 | ERROR | [x] Expected 1 newline at end of file; 0 found<br>
------------------------------------------------------------------------<br>
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY<br>
------------------------------------------------------------------------</p>
<p>FILE: /root/repos/pareviewsh/pareview_temp/README.txt<br>
----------------------------------------------------------------------<br>
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE<br>
----------------------------------------------------------------------<br>
 23 | WARNING | Line exceeds 80 characters; contains 90 characters<br>
----------------------------------------------------------------------</p>

Otherwise all looks good for me.

Thanks for your contribution, Martin!

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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.