- 🇮🇳India Vishal Choudhary Dharmshala
Hi, Team I have Updated the Node Title Validation Module Compatible with Drupal 10. and I have added a patch file and Screenshots. Please check and Review the code.
- First commit to issue fork.
- 🇮🇳India Vishal Choudhary Dharmshala
I have removed the White space Trailing in the fille and added a new patch.
- @dineshkumarbollu opened merge request.
- 🇮🇳India dineshkumarbollu
Hi
The patch #6 applied cleanly and found zero errors.
Thanks.
- Status changed to Needs work
over 1 year ago 3:54am 19 April 2023 - 🇮🇳India omkar_yewale Mumbai
Hi @Vishal Choudhary @dineshkumarbollu,
The Drupal Core versions before 8.7.7 do not recognize the core_version_requirement: key.
https://www.drupal.org/docs/develop/creating-modules/let-drupal-know-abo... →
we should restrict the version by replacing core_version_requirement: ^8.8 || ^9 || ^10 - Assigned to apatel0325
- @apatel0325 opened merge request.
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 1:28pm 24 May 2023 - 🇮🇳India abhinavk
I am not able to apply Patch #6 to 8.x-1.x-dev. So I have created new patch with same changes and some drupal-check error fixes. Also, made core version changes.
Please review this new patch.
- last update
over 1 year ago Build Successful - Status changed to RTBC
over 1 year ago 8:19am 25 May 2023 - 🇮🇳India omkar_yewale Mumbai
On Drupal 10, patch #14 has been applied successfully and is working fine.
Marking RTBC. - Status changed to Needs review
over 1 year ago 8:28am 25 May 2023 - 🇮🇳India omkar_yewale Mumbai
By mistake, moved to RTBC, maintainers can decide.
thanks. - 🇵🇰Pakistan isalmanhaider
In the context of
src/Plugin/Validation/Constraint/NodeTitleConstraintValidator.php
As a best practice, helper functions like
_node_title_validation_search_excludes_in_title
should be moved to a class as a method or placed in a ".module" file if needed across multiple classes or files. In this case, it would be better to move this helper function to the class and access it with$this->_node_title_validation_search_excludes_in_title
.Make sure to rename it to a non-private method.
- 🇵🇰Pakistan isalmanhaider
Please review this patch
Tested on Drupal 10.1.0-beta1
PHP 8.1.13The attached screenshot demonstrate flawless working on the above mentioned version of Drupal core and PHP.
- @isalmanhaider opened merge request.
- Status changed to RTBC
over 1 year ago 11:05am 25 May 2023 - 🇮🇳India rahul1707
I have tested MR !7 on D10.0.8 and D9.5.7, functionality is working fine for me. Upgrade status is showing D10 compatible with no issue found.
Moving this to RTBC.
- 🇺🇸United States johnlutz
Hi isalmanhaider. We have 8.x-1.22 version running locally and we are preparing to update to drupal 10 on our project. We tried your MR !7 but when I try to run drush updb I get an error:
> [warning] Post update function node_title_validation_post_update_8001 not found in file node_title_validation.post_update.php
> [error] Update failed: node_title_validation_post_update_8001
[error] Update aborted by: node_title_validation_post_update_8001
[error] Finished performing updates.From what I am reading, a hook_post_update_name function should reside in a module.post_update.php file, not in the module.install file. And also what I am reading is that function is not meant to replace hook_update_N functions but meant to run after them. It seems that the node_title_validation_update_8001 function that was previously there should just remain the same. Maybe I am missing something tho.
Thanks
- @johnlutz opened merge request.
- 🇺🇸United States johnlutz
I have opened a new mr with that change to revert back to hook_update_N
Please check
- 🇮🇩Indonesia drupalnesia
My clients need to update their site ASAP to Drupal 10. That's why I create a fork of this amazing module here:
- Node Title Check → - Status changed to Fixed
8 months ago 6:55pm 25 April 2024 Automatically closed - issue fixed for 2 weeks with no activity.