- 🇺🇸United States DamienMcKenna NH, USA
The current 4.0.x branch has 7,543 errors, as reported by drupal-check.
With #17 we're down to 1,160. That's quite the improvement, but there's still a lot to go.
- 🇺🇸United States galactus86
I ran the patch form #17 then fixed a few of the items found.
Now when running the test I am at - [ERROR] Found 1051 errors - Assigned to DamienMcKenna
- 🇺🇸United States DamienMcKenna NH, USA
Going to do a quick reroll of the last patch.
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 5:51pm 27 April 2023 - 🇺🇸United States DamienMcKenna NH, USA
With #22 on the current codebase we're down to 1,027 errors.
- 🇺🇸United States DamienMcKenna NH, USA
A major problem seems to be that the expects() method doesn't exist in LingotekConfigurationServiceInterface.
- Assigned to DamienMcKenna
- Issue was unassigned.
- Open on Drupal.org →Core: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
over 1 year ago Waiting for branch to pass - Open on Drupal.org →Core: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
over 1 year ago Waiting for branch to pass - 🇺🇸United States npaudyal001
Fixed some more deprecated tests and module seems to be working from the surface. More tests need to be fixed
- last update
over 1 year ago Composer require failure - Open on Drupal.org →Core: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
over 1 year ago Waiting for branch to pass - 🇺🇸United States DamienMcKenna NH, USA
This is the same as #28 only it removes some lines that had been commented out instead of being removed.
- last update
over 1 year ago 495 pass, 330 fail The last submitted patch, 32: lingotek-n3288313-32.patch, failed testing. View results →
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.- last update
over 1 year ago Composer require-dev failure - last update
over 1 year ago Composer require-dev failure - Status changed to Needs work
over 1 year ago 11:50pm 18 May 2023 - 🇺🇸United States DamienMcKenna NH, USA
I think if we had working tests on the 4.0.x branch ( 📌 Fix test failures in 4.0.x (missing schema definition, etc) Needs work ) we'd have a better idea of what changes were actually needed to make this work.
- last update
over 1 year ago Composer require failure - Status changed to Needs review
over 1 year ago 9:05am 26 June 2023 - Open on Drupal.org →Core: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
over 1 year ago Waiting for branch to pass This is an automated patch generated by Drupal Rector. Please see the issue summary for more details.
It is important that any automated tests available are run with this patch and that you manually test this patch.
Drupal 10 Compatibility
According to the Upgrade Status module → , even with this patch, this module is not yet compatible with Drupal 10.
Currently Drupal Rector, version 0.15.1, cannot fix all Drupal 10 compatibility problems.
Therefore this patch does not update the
info.yml
file for Drupal 10 compatibility.Leaving this issue open, even after committing the current patch, will allow the Project Update Bot → to post additional Drupal 10 compatibility fixes as they become available in Drupal Rector.
Debug info
Bot run #12888This patch was created using these packages:
- mglaman/phpstan-drupal: 1.1.35
- palantirnet/drupal-rector: 0.15.1
- last update
over 1 year ago Composer require failure - last update
over 1 year ago Composer require failure - last update
over 1 year ago Composer require failure - last update
over 1 year ago Composer require failure - last update
over 1 year ago Composer require-dev failure - Open on Drupal.org →Core: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
over 1 year ago Waiting for branch to pass - Open on Drupal.org →Core: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
over 1 year ago Waiting for branch to pass - 🇺🇸United States npaudyal001
Committing the yml file to support d10 in 4.0.x since the it doesn't get picked up by patches during automated testing
- a88378b4 committed on 4.0.x
Issue #3288313 by Project Update Bot, DamienMcKenna, Meeni_Dhobale,...
- a88378b4 committed on 4.0.x
- last update
over 1 year ago Patch Failed to Apply - Open on Drupal.org →Core: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
over 1 year ago Waiting for branch to pass - 🇺🇸United States npaudyal001
This is #32 by removing the yml file diffs since a different commit to it was made.
- last update
over 1 year ago Composer require-dev failure - Open on Drupal.org →Core: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
over 1 year ago Waiting for branch to pass - 🇺🇸United States npaudyal001
Updating the versions of webform and cohesion to be compatible with d10 in dev dependencies.
- last update
over 1 year ago Composer require-dev failure - Open on Drupal.org →Core: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
over 1 year ago Waiting for branch to pass - 🇺🇸United States npaudyal001
Adding cweagans/composer patches in extras to see if composer failures will go away.
- last update
over 1 year ago Composer require-dev failure - last update
over 1 year ago 1,475 pass, 31 fail - 🇺🇸United States npaudyal001
Functional tests should hopefully now be in the clear.
The last submitted patch, 41: lingotek-n3288313-41.patch, failed testing. View results →
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.- Status changed to Needs work
over 1 year ago 8:55pm 24 July 2023 - last update
over 1 year ago 1,513 pass, 21 fail - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago 1,526 pass, 13 fail - 🇳🇿New Zealand murrow
I am on D 10.1.2 with PHP 8.2 using Drupal Check. Mostly, I am seeing annotation problems, but there are also some underlying library refactoring that is having an impact. I'm attaching an update to #44 that has some of these changes. Am I heading in the right direction or have aI gone too far?
- last update
over 1 year ago Composer require-dev failure - last update
over 1 year ago Composer require-dev failure - Open on Drupal.org →Core: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
over 1 year ago Waiting for branch to pass - 🇺🇸United States npaudyal001
@murrow, This looks good. I am uploading the patch with some drupalCI fixes so we can run the test against drupal 10.
- last update
over 1 year ago 502 pass, 340 fail - last update
over 1 year ago 502 pass, 340 fail - last update
over 1 year ago 502 pass, 340 fail - last update
over 1 year ago 499 pass, 331 fail - last update
over 1 year ago 502 pass, 336 fail - last update
over 1 year ago CI error - last update
over 1 year ago CI error - 🇳🇿New Zealand murrow
@npaudyal001, I've almost reached a stage where I need the tests to work in order to proceed with any confidence. That is blocked by 📌 Fix test failures in 4.0.x (missing schema definition, etc) Needs work , which seems a long way from reaching D10. Should I shift my attention to the tests in this branch and not wait on 📌 Fix test failures in 4.0.x (missing schema definition, etc) Needs work or do we continue with trying to sort out obvious issues here (underlying library changes, undefined parameters, annotations, etc) and hope that the test ticket catches up?
BTW, thanks for the drupalCI updates on cweagans. I could take a look at the PHP 8.2 build today to see what the problem is there.
- 🇺🇸United States npaudyal001
@murrow, Most of the failures that you see on the recent patch was introduced by
"Drupal\Core\Field\FieldStorageDefinitionListenerInterface"
from the patch #46. As far as other errors, there were only 13 of them from the acquia/cohesion which I am having a hard time resolving but still working on it. I think we should focus on this issue as this is up to date and I will try and have some guys look at the test ticket to catch up. - 🇳🇿New Zealand murrow
Further updates. I'm still making my way through the code with Drupal Check.
- last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Composer require-dev failure - 🇺🇸United States npaudyal001
More fixes to the unit tests suggested by drupal check. Includes rewriting tests without at() matcher and withconsecutive().
- 🇳🇿New Zealand murrow
Thanks for this patch, @npaudyal001. I am almost there and should have a fresh patch coming over the next few days.
- 🇳🇿New Zealand murrow
Further updates, with some Unit tests. 23 tests failing.
- last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - 🇺🇸United States npaudyal001
Thanks @murrow. I apologize for disappearing all these days. Had some health issues. Here is a patch with some more updates.
- last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago 549 pass, 274 fail - 🇺🇸United States npaudyal001
@murrow, I am seeing some things missing from these patches. For example, I am not seeing the class
LingotekConfigurationTrait.php
from patch #46 in the recent patches which seems to be causing errors. Looking more into it. - 🇳🇿New Zealand murrow
@npaudyal001
LingotekConfigurationTrait.php
was a file I added and the discovered it was not needed for outside of a single file. I put the functions in the trait into that class as private functions. I'm not seeing it mentioned in the errors here: - 🇳🇿New Zealand murrow
Undoing bad "fixes". The Lingotek metadata entity doesn't use getters and setters, just raw objects. PHPStan complains about this, but you have to leave it as it is or refactor the entity itself. I tried using getters and it was a mistake. So, rolling back …
- last update
over 1 year ago Composer require-dev failure - 🇺🇸United States npaudyal001
Thanks @murrow. Updating composer.json with new d10 supporting webform module. This should fix the composer failure.
- last update
over 1 year ago 707 pass, 214 fail - 🇺🇸United States npaudyal001
@murrow, I am also seeing other changes in
LingotekContentTranslationService.php
andlingotek.module
, where the fields are being set in a separate variable$content_metadata_entity
and thus the original entity object remains unchanged. This is breaking functionalities. Were this changes made to handle PHPStan errors? We might need to roll that back too I suppose? - 🇳🇿New Zealand murrow
Reversing out
$content_metadata_entity
. (A conversation for another day: shouldn't the metadata entities behave like other Drupal entities – i.e., with fields instead of "entity" attributes?) - last update
over 1 year ago 1,017 pass, 144 fail - 🇺🇸United States npaudyal001
@murrow Ignore this patch. I am testing one of the previous patches. There seems to be a lot of functionality breaking changes coming from phpstan fixes. Just trying to run the test with this patch and see whats the result.
- last update
over 1 year ago Patch Failed to Apply - 🇺🇸United States npaudyal001
Fixing the corrupt patch, #65. Same with this... ignore this patch
- last update
over 1 year ago 459 pass, 315 fail - last update
over 1 year ago 1,282 pass, 80 fail - last update
over 1 year ago 1,455 pass, 46 fail - last update
over 1 year ago 1,537 pass, 27 fail - last update
over 1 year ago 1,555 pass, 24 fail - 🇺🇸United States npaudyal001
Further updates. Replaced some older diagnostic dumps with newer ones as drupal 10 required updated ones.
- last update
over 1 year ago CI error - last update
over 1 year ago 1,534 pass, 26 fail - 🇺🇸United States npaudyal001
Ignoring the legacy tests that required database snapshot from older lingotek database structure.
- last update
over 1 year ago 1,546 pass, 24 fail - 🇺🇸United States npaudyal001
Fixing changes related to group module and further updates
- last update
over 1 year ago 1,549 pass, 7 fail - 🇺🇸United States npaudyal001
Added missing binary files and fixed some file renames.
- last update
over 1 year ago 1,547 pass, 5 fail - last update
over 1 year ago 1,547 pass, 4 fail - 🇳🇿New Zealand murrow
@npaudyal001, this is looking good. I will take a look into the coding standards errors now.
- last update
over 1 year ago Composer require-dev failure - last update
over 1 year ago Composer require failure - last update
over 1 year ago Composer require-dev failure - last update
over 1 year ago Composer require-dev failure - last update
over 1 year ago Composer require-dev failure - last update
over 1 year ago 1,250 pass, 83 fail - 🇺🇸United States npaudyal001
Further coding standard fixes.. Also, if you are applying this patch please include binary option to pull the diagnostic dump file thats added for the update tests.
- last update
over 1 year ago 1,555 pass, 1 fail - last update
over 1 year ago 1,554 pass, 3 fail - 🇳🇿New Zealand murrow
@npaudyal001 Do you need to update the project version control page to include the
--binary
option ongit diff
? https://www.drupal.org/project/lingotek/git-instructions → - 🇺🇸United States npaudyal001
Tablefield module is not yet compatible with php8.2, thats why its throwing errors. Other than that, with this patch we should be good. And @murrow, its probably a good idea to update that page.
- last update
over 1 year ago 1,557 pass - 🇳🇿New Zealand murrow
@npaudyal001, I think only a maintainer has permission to update the project's version control page. Could I leave this to you, please?
- 🇺🇸United States npaudyal001
@murrow, I don't see a way to update that page. It looks like thats a drupal default version control page for all modules.
- 🇺🇸United States DamienMcKenna NH, USA
There isn't any way to modify the git instructions page, you're limited to just adding a note to the project page.
- 🇮🇳India sja112
I applied patch#84 and executed cache clear command. I am seeing this error,
The service "lingotek.config_subscriber" has a dependency on a non-existent service "Drupal\Core\Field\FieldStorageDefinitionListenerInterface".
Shouldn't we use, "@field_storage_definition.listener" instead of "Drupal\Core\Field\FieldStorageDefinitionListenerInterface" in lingotek.services.yml?
- last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - 🇮🇳India sja112
Fixed:
error: patch failed: tests/src/Functional/LingotekLongTextFieldImportTest.php:70
error: tests/src/Functional/LingotekLongTextFieldImportTest.php: patch does not apply - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago 499 pass, 321 fail - 🇺🇸United States npaudyal001
@sja112, thanks for pointing that out. Heres the updated patch.
- last update
over 1 year ago 1,557 pass - last update
over 1 year ago 1,547 pass, 9 fail - 🇺🇸United States npaudyal001
Drupal core 9.5 still uses guzzle 6 which has deprecation issues with php 8 and >. Trying to include patches for that in composer.json file
- last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 1,554 pass, 2 fail - 🇺🇸United States npaudyal001
Not very helpful! Trying to update the dependency through dupalCI custom commands.
- last update
over 1 year ago 1,557 pass - last update
over 1 year ago 1,559 pass - Status changed to RTBC
over 1 year ago 3:21am 15 September 2023 - Open on Drupal.org →Core: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
over 1 year ago Waiting for branch to pass - Open on Drupal.org →Core: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
over 1 year ago Waiting for branch to pass - Open on Drupal.org →Core: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
over 1 year ago Waiting for branch to pass - Open on Drupal.org →Core: 9.5.x + Environment: PHP 7.4 & MySQL 8last update
over 1 year ago Waiting for branch to pass - 🇺🇸United States npaudyal001
This has been released on a new 4.1.x-dev branch and 4.1.0 official release branch. There are still drupal check errors associated with phpUnit 10 deprecations for which we will open a new issue. Thank you all!
- Status changed to Fixed
over 1 year ago 3:53am 16 September 2023 Automatically closed - issue fixed for 2 weeks with no activity.