Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Jul 2018 at 14:15 UTC
Updated:
22 Nov 2018 at 10:05 UTC
Jump to comment: Most recent
Comments
Comment #2
albacross commentedComment #3
harishh commentedHi ALBACROSS,
1. Please check with automated review tool and correct it.
https://pareview.sh/pareview/https-git.drupal.org-project-albacross.git
2. Please remove unwanted comments from the .module file.
Comment #4
harishh commentedComment #5
albacross commentedAlright, so i've fixed all of the problems there only left git(with master branch which is unused) and unittests, which i will add after creating a release.
Here's the link:
https://pareview.sh/pareview/https-git.drupal.org-project-albacross.git-...
Comment #6
albacross commentedComment #7
logesh waran commentedHi albacross,
When i reviewed your module, i found "albacross" external script file path (serve.albacross.com/track.js) mentioned in your module's "hook_preprocess_page". Albacross script file is hardcoded in the hook.
There might be chance of changing the script file name or URL in future by albacross third party. It is better to have another configuration field just like "albacross_drupal_trackid" to update the "Albacross Script path". Can avoid hardcoded URLs. :)
Thanks,
Logeshwaran
Comment #8
logesh waran commentedComment #9
albacross commentedHi Logesh,
Thank you for your advice, but there's no chance of changing of this URL in the future, and we only need to provide easy-to-install module for users, to be able to integrate albacross services with their Drupal website :)
Have a great day
Albacross
Comment #10
avpadernoTo the reviewers: Please set the priority to Normal after reviewing the project.
Comment #11
rajeevgoleFew suggestions:
Here, probably “Please enter numeric tracking id from your Albacross account.” would be more clear to the user.
Similarly,
This message would show in the case of zero(0) tracking id. So you can change it to like “Non-negative tracking id is not allowed."
Comment #12
avpadernoAlso, a form validation handler is not an implementation of
hook_form_validate(), which is not a hook Drupal core uses.If
$trackIDcannot contain a floating point number or an exponential number, the following code should be preferable.Comment #13
avpadernoAnyway, those aren't application stoppers, except the first one: A module needs to remove the persistent variables it uses.
It is better to delete the variables one by one with
variable_del(), rather than using a database query that deletes all the persistent variables whose name starts with the module name.Comment #14
avpadernoIf you are still working on this application, you should fix all known problems and set the status to Needs review. (See also the project application workflow.)
Please don't change status of this application if you aren't sure you have time to dedicate to this application, or it will be closed again as won't fix.
I am closing this application due to lack of activity.