Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2013 at 02:48 UTC
Updated:
20 Dec 2013 at 11:26 UTC
Jump to comment: Most recent
Comments
Comment #1
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxabbass7862086245git
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.
Comment #2
abbass786 commentedI cleaned up the code according to the errors shown.
testimonial_form is a hook for type testimonial.
Hence cannot prepend it with the module name.
Please review my Module and let me know your views on it.
Regards,
Abbas.
Comment #3
aramboyajyan commentedGeneral
I am not sure if this module is necessary and useful to the community. It just lists the titles of testimonial nodes and does not even provide a link to the testimonials node/listing page. This functionality could be replicated using Views quite easily.
However, more people will need to comment on this here so I will proceed with the review.
Review
Commit-style
Otherwise you cannot distinguish what has been done just by looking at the commit message.
There are two ways of fixing this:
OR
The last changes will just be added to the last commit and saved together with it.
7.x-1.xfor example. See more information about git branching here: http://drupal.org/node/1127732You can check out any other project's description to know what to write about.
Code:
hook_help()implementationtestimonialblocks.modulefile on line 38Critical
The module SHOULD NOT delete content type and all nodes in
hook_uninstall()explicitly!Drupal will disable and remove the content type automatically once you uninstall the module because you already declared it in the
hook_node_info()implementation.Deleting the nodes will cause data loss directly - usual practice is to leave them in the database so the site owner can decide what to do with them (either delete manually or convert them to a different content type).
For reference, see
.installfiles of core modules that provide custom content types, e.g. Blog, Forum and Poll.Let me know if you have any questions regarding the feedback.
Comment #4
aramboyajyan commentedChanging the status to "Needs work" based on the feedback above.
Comment #5
abbass786 commentedHi,
Thanks for the deailed review.I have made changes based on the Review comments.
I will also take care about the commit style guidelines given for all commits from now on.
I have created a separtate branch as suggested called as 7.x-1.x and done all my push there.
Following are list of changes based on the review comment
1.)Added Install and congfiguration details in Readme.txt
2.)Removed all commented lines from .info file
3.)Separated ending curly brace of each function from next comment with a new line
4.)Added more text in the hook_help() implementation
5.)Removed all commented code
6.)Added a link to the testimonial node when displayed in blocks.
7.)Some other clean up based on Review comments.
8.)Not deleting the content at the uninstall hook.
Even though the functionality can be replicated by view this module will be useful as with absolute no knowledge or configuration required the testimonials can directly displayed by the user on his Drupal site.
This module makes displaying Testimonials on the site very easy.
Please let me know your views on this.
Regards,
Abbas.
Comment #6
abbass786 commentedHi,
Please let me know your views on the above.
Regards,
Abbas.
Comment #7
Enxebre commentedHi abbass786,
There is a call to "print_r" function in .install file.
In .install file, Functions "function _testimonialblocks_installed_fields()" and "function _testimonialblocks_installed_instances()" always return and empty array. I am sorry but I am not able to see its purpose.
In testimonialblocks_block_view it would be a good idea to create the links with "l()" function.
I agree with topsitemakers tha the functionallity of this module may be not enough to create an own module.
Hope this helps.
Regards!
Comment #8
Enxebre commentedComment #9
PA robot commentedClosing due to lack of activity. Feel free to reopen if you are still working on this application (see also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.