Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 May 2025 at 06:05 UTC
Updated:
25 May 2026 at 08:15 UTC
Jump to comment: Most recent
Comments
Comment #2
vishal.kadamComment #3
vishal.kadamThank you for applying!
Please read Review process for security advisory coverage: What to expect for more details and Security advisory coverage application checklist to understand what reviewers look for. Tips for ensuring a smooth review gives some hints for a smoother review.
The important notes are the following.
Keep in mind that once the project is opted into security advisory coverage, only Security Team members may change coverage.
To the reviewers
Please read How to review security advisory coverage applications, Application workflow, What to cover in an application review, and Tools to use for reviews.
The important notes are the following.
For new reviewers, I would also suggest to first read In which way the issue queue for coverage applications is different from other project queues.
Comment #4
vishal.kadam1.
master,0.9.0and0.9.xare wrong names for a branch. Release branch names always end with the literal .x as described in Release branches. While it is possible to use a zero as first number (for example 0.1.0) the convention is to start from 1, for example 1.0.0.2. FILE: README.md
The README file is missing the required sections - Requirements, Installation, and Configuration.
3. FILE: file_metadata_cleaner.install
I noticed the .install file is currently empty. If it's not being used for any install/update hooks at the moment, it might be a good idea to remove it to avoid confusion. It can always be added later when needed.
4. FILE: file_metadata_cleaner.module
The description for that hook should also say for which entity type that hook is implemented.
5. FILE: src/Form/FileProcessorSettingsForm.php
The documentation comment for constructors is not mandatory anymore, If it is given, the description must be “Constructs a new [class name] object”, where [class name] includes the class namespace.
Comment #5
ahmetburkanThank you very much for reviewing my module and taking the time to provide this detailed feedback. I really appreciate it!
“Constructs a new [class name] object.”
Updating status back to "Needs review".
Comment #6
vishal.kadamRest looks fine to me.
Let’s wait for a Code Review Administrator to take a look and if everything goes fine, you will get the role.
Comment #7
bigbabertissues that i see:
$this->exiftoolPath = $kernel->getAppRoot() . '/../vendor/ahmetburkan/exiftool-binary/exiftool';Comment #8
bigbabertComment #9
avpadernoThe following code is correct. It is similar to the constructor code used by any plugin manager implemented by Drupal core.
See for example
DefaultPluginManager::__construct().I cannot find any
$this->exiftoolPath = $kernel->getAppRoot() . '/../vendor/ahmetburkan/exiftool-binary/exiftool';line in the project code.Comment #10
ahmetburkanUpdating issue status back to RTBC.
Comment #11
bbu23Only reviewers can change the status to RTBC.
Reverting to previous state.
Comment #12
avpadernosrc/Controller/ProcessorOverviewController.php
Since that class does not use methods from the parent class, it does not need to use
ControllerBaseas parent class. Controllers do not need to have a parent class; as long as they implement\Drupal\Core\DependencyInjection\ContainerInjectionInterface, they are fine.src/Controller/ReadMetadataController.php
Strings shown in the user interface must be translatable.
src/Form/FileMetadataCleanerSettingsForm.php
The constructor of the parent class needs to be called. Since its parameters changed in Drupal 10.2, the project cannot be compatible with all the Drupal 10 releases and Drupal 11; it requires at least Drupal 10.2.
With Drupal 10 and Drupal 11, there is no longer need to use
#default_valuefor each form element, when the parent class isConfigFormBase: It is sufficient to use#config_target, as in the following code.Using that code, it is no longer needed to save the configuration values in the form submission handler: The parent class will take care of that.
This code is not necessary as per my previous point. Instead of
$this->configFactory->getEditable()needs to call$this->config().src/Form/FileProcessorSettingsForm.php
A class that extends
ConfigFormBaseshould not be used to change values for a plugin. Plugins implement their own configuration form via a method, not an external class.The parent class's constructor needs to be called.
If no form element is shown, there is no need to call the parent class's method.
src/Hooks/FileEntity.php
For a new module that aims to be compatible with Drupal 10 and Drupal 11, I would rather implement hooks as class methods as described in Support for object oriented hook implementations using autowired services.
Comment #13
vishal.kadamI am changing priority as per Issue priorities.
Comment #14
avpadernoThis thread has been idle, in the needs work state with no activity for some months.
May you confirm you are still pursuing this application? If this is the case, and you made commits basing on what previously reported, or you can answer the questions previously asked, please change the status to Needs review.
Comment #15
avpadernoThis thread has been idle, in the Needs work state with no activity for about six months or more; the application has been created about 11 months ago or more. Therefore, I marked it as Closed (won't fix).
If this is incorrect, and you are still pursuing this application, please feel free to re-open it and set the issue status to Needs work or Needs review, depending on the current status of your code.