Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
26 Jul 2013 at 06:43 UTC
Updated:
10 Nov 2013 at 11:26 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
xiukun.zhou commentedhttp://ventral.org/pareview/httpgitdrupalorgsandboxrakeshjames2049937git
@see drupal coding standards
Comment #2
rakesh.gectcrI have changed the error and warnings.
Thanks
Comment #3
c_lehel commentedAutomated review shows errors [ https://drupal.org/sandbox/rakeshjames/2049937 ]. You might have corrected your coding errors, but no push to git was done.
Manual review: views_breadcrumb.module
line 17 in hook_block_info:
'pages' =>'BLOCK_VISIBILITY_LISTED',this line is not correct,because:
I assume you wanted something like
Also I've added the block in the content part and keep getting lots of errors, more and more after every refresh. I've added a snapshot for you to check.
Comment #4
c_lehel commentedComment #5
rakesh.gectcrI have done the changes please clone my master and review.
Comment #6
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 #7
bhobbs-chitika commentedHello,
There still remains some issues with the automated review, mostly indenting issues.
Please see : http://ventral.org/pareview/httpgitdrupalorgsandboxrakeshjames2049937git
Refer to the application checklist
On line 35 of your module, I believe drupal_set_message still requires the use of the t() function for text being displayed to the user.
Comment #8
rakesh.gectcrThanks,
I have fixed all the ventral review errors and implemented the t() function for the text translation. Please tell me , is there any way to check my code myself in ventral.org?
Comment #9
rakesh.gectcrMoved from master to 7.x-1.x
Comment #10
bhobbs-chitika commentedYou can just go to ventral.org and use http://git.drupal.org/sandbox/rakeshjames/2049937.git for your project.
There still seems to be some issues reported, all indention errors.
For line 35 I think you should use:
see function l()
Comment #11
rakesh.gectcrThanks for the answer my question. I had changed the line 35 according the l() function standard.
Comment #12
phanophite commentedassuming ownership for review
Comment #13
phanophite commentedOverall I could see this as being a very helpful module. I did notice a few things. Please see below.
You need to delete your master branch. When I did a git clone to pull your source, I pulled the master branch by default. See details here.
views_breadcrumb.module lines 33 & 38: These fetches will work but what happens if the query returns more than one row. Should subsequent rows not be included in the body of the block?
You might also consider using placeholders in your calls to db_query instead of injecting the value into the query directly. It probably isn't as important here because you are not injecting stuff inputted from the user, but it's a good habit to get into. See here.
Finally, the project page and README.txt file could contain more helpful information.
See more details below. I checked this module using the checklist found here.
1. Basic application checks
1.1 Project application contains a working git clone command and a link to the project page.
1.2 Project does not appear to be a duplicate.
1.3 User does not have multiple applications.
2. Basic repository checks
2.1 Repository contains code
2.2 Repository contains a version specific branch, but the master branch still exists. I would merge all code from the master branch to the 7.x-1.x branch (if not done already) and remove the master branch. See here.
2.3 Project contains less than five functions and less than 120 lines of code. Minimum code requirements have not been met.
3. Security review
3.1 Some SQL queries have variables injected into them directly as opposed to using placeholders. See here.
4. Licensing checks
4.1 Repository does not contain a LICENSE.txt file
4.2 Repository does not contain any third party code.
5. Documentation checks
5.1 Project page does not contain detailed information. Where do the breadcrumbs originate? How can you specify what the text of the breadcrumb is and where it points?
5.2 Repository contains a README.txt file, and the README.txt file explains how to install the module and how to configure. It might be helpful to explain what the module requires, what the module does, what configuration options are available, etc.
5.3 Code contains comments for the file and the functions, but could use more inline comments.
6. Coding Standard and style
6.1 I ran a review on ventral.org http://ventral.org/pareview. The review returned an unused variable error, and the review mentioned that the master branch still exists. I couldn't find anything major.
7. API and best practices review
7.1 Project makes correct use of drupal apis.
Comment #14
ygerasimov commentedI am sorry but I do not quite understand the logic behind this module. After review the code I see that it provides a block that grabs menu structure and build a breadcrumbs from it. And this block works only in case it is placed on the page that is views page.
@rakesh.gectcr Could you please correct me if I am wrong? Also please advise what is the use case for this module to be used?
PS I completely agree with #13 regarding using placeholders in db_query. Please avoid injecting values in the db_query directly.
Comment #15
rakesh.gectcrThanks for reviewing.
@dschaeffer_ofs
I have done that all you mentioned.
@ ygerasimov
you are absolutely right. This is the simple module which helps you to set the breadcrumb on view pages. So its act as default bread crumb.
Comment #16
ygerasimov commented@rakesh.gectcr why would you need this custom module instead of standard drupal functionality or any breadcrumbs modules (like https://drupal.org/project/custom_breadcrumbs) or similar?
Comment #17
rakesh.gectcr@ ygerasimov
I tried all those modules. None of them are not giving in the views pages. So views_breadcrumb module will give much easy way to achieve it.
Comment #18
kscheirerThanks for contributing to Drupal! Can you provide some more information about the questions below?
Also Path Breadcrumbs seems similar. Could you describe how your module differs?
We prefer collaboration over competition, therefore we want to prevent having duplicating modules on drupal.org. If the differences between these modules are not too fundamental for patching the existing one, we would love to see you joining forces and concentrate all power on enhancing one module. (If the existing module is abandoned, please think about taking it over).
If that fails for whatever reason please get back to us and set this back to "needs review".
----
Top Shelf Modules - Crafted, Curated, Contributed.
Comment #19
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.