Closed (duplicate)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
31 Aug 2016 at 06:55 UTC
Updated:
26 Dec 2019 at 09:32 UTC
Jump to comment: Most recent
Comments
Comment #2
lionslair commentedFixed title and got clone command
Comment #3
lionslair commentedPlease review the results from the automated tests.
http://pareview.sh/pareview/httpsgitdrupalorgsandboxhardikpatel122792759git-7x-1x
// dpm($view,"views");Comment #4
hardik_patel_12 commentedHi lionslair ,
Thanks for your suggetions . I have Covered all 3 points suggested by you.
Comment #5
lionslair commentedfurther comments
It is good you now have the uninstall hook. However there is a better way to remove the table than explitily drupal_uninstall_schema
https://api.drupal.org/api/drupal/includes%21common.inc/function/drupal_...
I re-ran the automated tests and there are still a few issues I believe need addressing
http://pareview.sh/pareview/httpsgitdrupalorgsandboxhardikpatel122792759...
'access callback' => TRUE,change to
'access arguments' => array('access content'),64 | WARNING | Unused variable $key.I don't think this is an issue but to clear the warning
foreach ($php_arary as $value) {Should work the same way and clear the warning.
Comment #6
hardik_patel_12 commentedComment #7
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 #8
panshulk commentedComment #9
panshulk commentedHi @Hardik
All the issues mentioned by @lionslair are covered.
the only thing that is a bit confusing is the name of the variable $php_arary, is this out of purpose of there is a spell mistake ?
Also please look into the issues identified by PAREVIEW.
http://pareview.sh/pareview/httpsgitdrupalorgsandboxhardikpatel122792759...
Thanks :)
Comment #10
hardik_patel_12 commentedhi @panshulk,
The name of the variable $php_arary is corrected now , ya it was just a spell mistake.
Comment #11
visabhishek commentedAnyone with the "access content" permission can view php code used in views. I think its a security issue and not a realistic scenario, so you should use a proper permission for that.
Comment #12
hardik_patel_12 commentedHi , @visabhishek
I have used proper pemissions now to see contents.
Thankyou.
Comment #13
hardik_patel_12 commentedComment #14
hardik_patel_12 commentedComment #15
ganesan g commentedAutomated Review
http://pareview.sh/pareview/httpsgitdrupalorgsandboxhardikpatel122792759...
Please fix the issues identified by PAREVIEW. It is important to solve since most errors related to coding standards.
Manual Review
The starred items (*) are fairly big issues and warrant going back to Needs Work. Items marked with a plus sign (+) are important and should be addressed before a stable project release. The rest of the comments in the code walkthrough are recommendations.
If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.
This review uses the Project Application Review Template.
Comment #16
PA robot commentedClosing 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.
Comment #17
ashishdalviHi,
Automated test run have following issues.
ad line endings were found, always use unix style terminators. See https://www.drupal.org/coding-standards#indenting
./.gitignore: ASCII text, with no line terminators
Coder Sniffer has found some issues with your code (please check the Drupal coding standards). See attachment.
DrupalPractice has found some issues with your code, but could be false positives.
FILE: /root/repos/pareviewsh/pareview_temp/php_code_in_view.module
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
219 | WARNING | Unused variable $translatables.
----------------------------------------------------------------------
Comment #18
klausiLet's keep this closed until we hear back from @Hardik_Patel_12.
Comment #19
hardik_patel_12 commentedHi @Ashish
I have removed all errors and warning which were generated by Automated testing.
Comment #20
ashishdalviThank you. I will review it.
Comment #21
bramtenhove commentedHi @Hardik_Patel_12,
Nice idea for a module, can indeed by quite helpful during development.
Automated Review
No issues were found.
Manual Review
Follows the guidelines for in-project documentation and/or the README Template.
Improvements
-- INSTALLATION --, however it is preferred to underline the heading with dashesnbprojectvarcharwith a length of 2000, if more than 2000 characters are saved you will get a fatal errorphp_code_in_view_callback()does not go through thet()functionComment #22
PA robot commentedClosing 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.
Comment #23
avpadernoComment #24
avpaderno