Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
theme
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
27 Oct 2023 at 10:38 UTC
Updated:
24 Nov 2023 at 14:04 UTC
Jump to comment: Most recent
Comments
Comment #2
avpadernoThank 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.
phpcs --standard=Drupal,>DrupalPracticeon the project, which alone fixes most of what reviewers would report.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 #3
avpadernoRemember to change status, when the project is ready to be reviewed, as the used status is telling reviewers not to review the project, yet.
Comment #4
rushikesh raval commentedComment #5
vishal.kadamFILE: marvelous.info.yml
core_version_requirement: ^8 || ^9 || ^10The Drupal Core versions before 8.7.7 do not recognize the core_version_requirement: key.
Comment #6
rushikesh raval commentedCore version requirement changed in info.yml
Comment #7
vishal.kadamRest looks fine to me.
Let’s wait for other reviewers to take a look and if everything goes fine, you will get the role.
Comment #8
yogitar commentedHello,
I found issue on installation of Marvelous theme 1.0.0 beta2 in Drupal 10.
Drupal\Core\Config\UnsupportedDataTypeConfigException: Invalid data type in config system.menu.community, found in file themes/contrib/marvelous/config/install/system.menu.community.yml: Duplicate key "dependencies" detected at line 9. in Drupal\Core\Config\FileStorage->read() (line 118 of /var/www/html/drupal10/web/core/lib/Drupal/Core/Config/FileStorage.php).
There is some duplicate entry of dependencies key in some config file.
Thanks
Comment #9
avpadernoThis is not an issue created in a project queue.
Comments in this queue are required to review the project files and report what needs to be changed. We do not debug projects.
Comment #10
rushikesh raval commented@YogitaR said issue already fixed in dev version.
Please Refer : https://www.drupal.org/project/marvelous/issues/3394759
Comment #11
yogitar commentedOk, We will create issue on project queue.
Comment #12
harishh commented@Rushikesh Raval: Remove unwanted empty function from the marvelous.theme file
Comment #13
rushikesh raval commentedRemoved empty function and made necessary required changes
Comment #14
avpadernotheme-settings.php
The
@filetag is used once per file.For that file, the description is Functions to support [theme name] theme settings. where [theme name] is the name given in the theme's info.yml file.
That seems a documentation comment copied from another project, not a documentation comment for a hook implementation. It is not necessary to define the third parameter. See
olivero_form_system_theme_settings_alter()as example.if ($form['#attributes']['class'][0] == 'system-theme-settings') {There should be any need to check the value of
$form['#attributes']['class'][0], sincemarvelous_form_system_theme_settings_alter()is only invoked to alter a single form, which is the form for the theme settings implemented by the System module.A details form element does not use
#collapsiblenor#collapsed; it uses#open.For colors, it is probably better a color form element.
Either that is a details element, or an hidden element.
The second parameter for
theme_get_setting()is missing, which means those function calls are returning the value for the currently active theme, not this theme. The second parameter should be provided, as it has done for the other calls to the same function.For a telephone number, it is better a telephone form element.
$theme_file = \Drupal::service('extension.list.theme')->getPath($theme) . '/marvelous.theme';The correct way to get a theme path is calling
\Drupal\Core\Extension\ExtensionPathResolver::getPath()(Drupal 9.3+) ordrupal_get_path()(previous Drupal versions). Since the theme declares to be compatible with Drupal 8 (starting with Drupal 8.8), Drupal 9 (any version), and Drupal 10 (any version), the same code cannot be used for all those versions.templates/page/page.html.twig
The documentation comment present in any template file is missing.
Comment #15
rushikesh raval commented@apaderno Thanks for review and your suggestion. I have made required changes to code. Please review it.
theme-settings.php
templates/page/page.html.twig
The documentation comment added.
Comment #16
avpadernoThank you for your contribution! I am going to update your account.
These are some recommended readings to help with excellent maintainership:
You can find more contributors chatting on the Slack #contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
I thank all the reviewers.
Comment #17
avpaderno