Account created on 23 June 2014, almost 11 years ago
#

Merge Requests

Recent comments

πŸ‡¦πŸ‡·Argentina emacoti

Fixed and tested, it now passes d11 upgrade status. Closing.

πŸ‡¦πŸ‡·Argentina emacoti

emacoti β†’ made their first commit to this issue’s fork.

πŸ‡¦πŸ‡·Argentina emacoti

Thank you! I will keep that in mind and try to participate and review other projects.

πŸ‡¦πŸ‡·Argentina emacoti

ok just pushed the fix for this one

FILE: /pdb_twig/src/Event/PdbTwigPreRenderAlterEvent.php
-----------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------
 110 | ERROR | Type hint "array" missing for $class_instance
-----------------------------------------------------------------------------------------------

It was a mistake on the method documentation, had array but was object type instead.

πŸ‡¦πŸ‡·Argentina emacoti

Thanks for the review @vinaymahale.

About the "core_version_requirement" property is missing in the info.yml file, those are not actual extension like modules, those are yml file for the blocks and a custom discovery and parser will read and process them, thus making the core_version_requirement not needed. Would prefer to not add that not needed property in this case. Does that makes sense?

Will fix the other one.

πŸ‡¦πŸ‡·Argentina emacoti

Merge request ready for review.

πŸ‡¦πŸ‡·Argentina emacoti

Created the merge request with the changes.

πŸ‡¦πŸ‡·Argentina emacoti

Added the merge request with the update.

πŸ‡¦πŸ‡·Argentina emacoti

New version 2.2.3 works fine for us on Drupal 9.5, thanks for the fix!

πŸ‡¦πŸ‡·Argentina emacoti

Uploading patch again as it was created against wrong version.

πŸ‡¦πŸ‡·Argentina emacoti

Added test coverage for new property and updated readme.

πŸ‡¦πŸ‡·Argentina emacoti

Here the patch with the fixes

πŸ‡¦πŸ‡·Argentina emacoti

emacoti β†’ created an issue.

πŸ‡¦πŸ‡·Argentina emacoti

Agreed on that. Adding a missing piece to the patch to handle existing dependencies on the defined component library like cases

add_js:
  footer:
    js:
      'lib.js': {}
    dependencies:
      - pdb/another_lib/footer
πŸ‡¦πŸ‡·Argentina emacoti

Here the patch with the fix.

πŸ‡¦πŸ‡·Argentina emacoti

Tested this and works as expected. Components are recognized as before and was able to remove properties like `core_version_requirement`. Looks good to me.

πŸ‡¦πŸ‡·Argentina emacoti

Ok there was an error on a test. So new patch with the test fixed.

πŸ‡¦πŸ‡·Argentina emacoti

I consolidated the patches and the merge request into a new patch that includes all the fixes. Tested on a Drupal9 and Drupal10 site and works as expected on both.

We will probably need to cut a new alpha version before merging this as this will not work on Drupal 8 sites anymore. Wil check on that.

Production build 0.71.5 2024