Problem/Motivation

Hello project maintainers,

This is an automated issue to help make this module compatible with Drupal 10.

To read more about this effort by the Drupal Association, please read: The project update bot is being refreshed to support Drupal 10 readiness of contributed projects

Patches will periodically be added to this issue that remove Drupal 10 deprecated API uses. To stop further patches from being posted, change the status to anything other than Active, Needs review, Needs work or Reviewed and tested by the community. Alternatively, you can remove the "ProjectUpdateBotD10" tag from the issue to stop the bot from posting updates.

The patches will be posted by the Project Update Bot official user account. This account will not receive any issue credit contributions for itself or any company.

Proposed resolution

You have a few options for how to use this issue:

  1. Accept automated patches until this issue is closed

    If this issue is left open (status of Active, Needs review, Needs work or Reviewed and tested by the community) and the "ProjectUpdateBotD10" tag is left on this issue, new patches will be posted periodically if new deprecation fixes are needed.

    As the Drupal Rector project improves and is able to fix more deprecated API uses, the patches posted here will cover more of the deprecated API uses in the module.

    Patches and/or merge requests posted by others are ignored by the bot, and general human interactions in the issue do not stop the bot from posting updates, so feel free to use this issue to refine bot patches. The bot will still post new patches then if there is a change in the new generated patch compared to the patch that the bot posted last. Those changes are then up to humans to integrate.

  2. Leave open but stop new automated patches.

    If you want to use this issue as a starting point to remove deprecated API uses but then don't want new automated patches, remove the "ProjectUpdateBotD10" tag from the issue and use it like any other issue (the status does not matter then). If you want to receive automated patches again, add back the "ProjectUpdateBotD10" tag.

  3. Close it and don't use it

    If the maintainers of this project don't find this issue useful, they can close this issue (any status besides Active, Needs review, Needs work and Reviewed and tested by the community) and no more automated patches will be posted here.

    If the issue is reopened, then new automated patches will be posted.

    If you are using another issue(s) to work on Drupal 10 compatibility it would be very useful to other contributors to add those issues as "Related issues" when closing this issue.

Remaining tasks

Using the patches

  1. Apply the latest patch in the comments by Project Update Bot or human contributors that made it better.
  2. Thoroughly test the patch. These patches are automatically generated so they haven't been tested manually or automatically.
  3. Provide feedback about how the testing went. If you can improve the patch, post an updated patch here.

Providing feedback

If there are problems with one of the patches posted by the Project Update Bot, such as it does not correctly replace a deprecation, you can file an issue in the Drupal Rector issue queue. For other issues with the bot, for instance if the issue summary created by the bot is unclear, use the Project analysis issue queue.

CommentFileSizeAuthor
#94 lingotek-n3288313-94.patch2.72 MBnpaudyal001
#93 inter.txt2.58 KBnpaudyal001
#93 lingotek-n3288313-93.patch2.72 MBnpaudyal001
#92 inter.txt784 bytesnpaudyal001
#92 lingotek-n3288313-92.patch2.72 MBnpaudyal001
#91 lingotek-n3288313-91.patch2.71 MBsja112
#90 lingotek-n3288313-90.patch2.71 MBsja112
#89 lingotek-n3288313-89.patch2.71 MBsja112
#84 lingotek-n3288313-84.patch2.72 MBnpaudyal001
#84 inter.txt2.45 KBnpaudyal001
#82 lingotek-n3288313-82.patch2.72 MBnpaudyal001
#81 lingotek-n3288313-81.patch2.4 MBsja112
#80 lingotek-n3288313-80.patch2.4 MBsja112
#79 interdiff_lingotek_n3288313-77-79.txt39.87 KBmurrow
#79 lingotek-n3288313-79.patch2.41 MBmurrow
#78 lingotek-n3288313-77.patch2.72 MBnpaudyal001
#76 lingotek-n3288313-76.patch2.72 MBnpaudyal001
#75 lingotek-n3288313-75.patch2.72 MBnpaudyal001
#74 lingotek-n3288313-74.patch2.41 MBnpaudyal001
#73 lingotek-n3288313-73.patch2.4 MBnpaudyal001
#72 lingotek-n3288313-72.patch2.4 MBnpaudyal001
#71 interdiff.txt8.2 KBnpaudyal001
#71 lingotek-n3288313-71.patch2.4 MBnpaudyal001
#70 drupal.org_files_issues_2023-09-01_lingotek-n3288313-70.patch2.39 MBsja112
#69 interdiff.txt16.47 KBnpaudyal001
#69 lingotek-n3288313-69.patch2.4 MBnpaudyal001
#68 interdiff.txt3.98 KBnpaudyal001
#68 lingotek-n3288313-68.patch2.39 MBnpaudyal001
#67 interdiff.txt6.48 KBnpaudyal001
#67 lingotek-n3288313-67.patch2.39 MBnpaudyal001
#66 patch44withdrupalCIfix.patch2.06 MBnpaudyal001
#65 patch44withdrupalCIfix.patch2.06 MBnpaudyal001
#64 lingotek-n3288313-64.patch2.39 MBnpaudyal001
#63 interdiff_lingotek_n3288313-61-63.txt1.76 KBmurrow
#63 lingotek-n3288313-63.patch2.39 MBmurrow
#61 lingotek-n3288313-61.patch2.39 MBnpaudyal001
#60 interdiff_lingotek_n3288313-59-60.txt11.46 KBmurrow
#60 lingotek-n3288313-60.patch2.4 MBmurrow
#59 interdiff_lingotek_n3288313-56-59.txt5.13 KBmurrow
#59 lingotek-n3288313-59.patch2.4 MBmurrow
#56 lingotek-n3288313-56.patch2.4 MBnpaudyal001
#55 lingotek-n3288313-55.patch2.4 MBnpaudyal001
#54 interdiff_lingotek_n3288313-53-54.txt2.49 KBmurrow
#54 lingotek-n3288313-54.patch2.28 MBmurrow
#53 interdiff_lingotek_n3288313-51-53.txt130.98 KBmurrow
#53 lingotek-n3288313-53.patch2.28 MBmurrow
#51 lingotek-n3288313-51.patch2.15 MBnpaudyal001
#50 interdiff_lingotek_n3288313-47-50.txt30.26 KBmurrow
#50 lingotek-n3288313-50.patch2.12 MBmurrow
#47 lingotek-n3288313-47.patch2.1 MBnpaudyal001
#46 interdiff_lingotek_n3288313-44-46.txt35.63 KBmurrow
#46 lingotek-n3288313-46.patch2.1 MBmurrow
#45 lingotek-n3288313-44.patch2.06 MBnpaudyal001
#44 lingotek-n3288313-44.patch2.06 MBnpaudyal001
#43 lingotek-n3288313-43.patch2.06 MBnpaudyal001
#41 lingotek-n3288313-41.patch2.06 MBnpaudyal001
#40 lingotek-n3288313-40.patch2.06 MBnpaudyal001
#39 lingotek-n3288313-39.patch2.06 MBnpaudyal001
#38 lingotek-n3288313-38.patch2.06 MBnpaudyal001
#36 yml_update.patch481 bytesnpaudyal001
#35 lingotek.4.0.x-dev.rector.patch1.97 MBproject update bot
#35 interdiff-last-bot.6728199.txt962 bytesproject update bot
#32 lingotek-n3288313-32.patch2.05 MBdamienmckenna
#32 lingotek-n3288313-32.interdiff.txt10.63 KBdamienmckenna
#30 lingotek-n3288313-30.patch2.04 MBdamienmckenna
#30 lingotek-n3288313-30.interdiff.txt1.6 KBdamienmckenna
#29 lingotek-n3288313-28.interdiff.txt32.18 KBdamienmckenna
#28 lingotek-d10-28.patch2.05 MBnpaudyal001
#26 lingotek-n3288313-26.interdiff.txt50.83 KBdamienmckenna
#26 lingotek-n3288313-26.patch2.01 MBdamienmckenna
#22 lingotek-n3288313-22.patch1.97 MBdamienmckenna
#20 lingotek-n3288313-20.interdiff.txt56.34 KBgalactus86
#20 lingotek-n3288313-20.patch1.99 MBgalactus86
#17 lingotek.4.0.x-dev.rector.patch1.97 MBproject update bot
#17 interdiff-last-bot.6679089.txt307.94 KBproject update bot
#15 lingotek-after.png162.76 KBmeeni_dhobale
#15 lingotek-before.png117.25 KBmeeni_dhobale
#13 lingotek-3288313-13.patch1.99 MBreenaraghavan
#11 deprecated_function_error_resolved-3288313-11.patch1.99 MBmeeni_dhobale
#9 deprecated_function_warning.txt761.71 KBmeeni_dhobale
#8 lingotek.4.0.x-dev.rector.patch1.68 MBproject update bot
#8 interdiff-last-bot.6675466.txt135.72 KBproject update bot
#7 lingotek.4.0.x-dev.rector.patch1.71 MBproject update bot
#7 interdiff-last-bot.6663332.txt234.79 KBproject update bot
#5 lingotek.4.0.x-dev.rector.patch1.76 MBproject update bot
#5 interdiff-last-bot.6643860.txt1.85 MBproject update bot
#2 lingotek.4.0.x-dev.rector.patch25.71 KBproject update bot

Issue fork lingotek-3288313

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Project Update Bot created an issue. See original summary.

project update bot’s picture

Status: Active » Needs review
StatusFileSize
new25.71 KB

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.12.0, cannot fix all Drupal 10 compatibility problems.

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 #127

This patch was created using these packages:

  1. mglaman/phpstan-drupal: 1.1.9
  2. palantirnet/drupal-rector: 0.12.0

penyaskito’s picture

Issue summary: View changes
Status: Needs review » Needs work

Committed b78e386 and pushed to 4.0.x.

Leaving this as needs work so we can get new automated patches.

project update bot’s picture

Status: Needs work » Needs review
StatusFileSize
new1.85 MB
new1.76 MB

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.13.0, cannot fix all Drupal 10 compatibility problems.

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 #139

This patch was created using these packages:

  1. mglaman/phpstan-drupal: 1.1.24
  2. palantirnet/drupal-rector: 0.13.0

Status: Needs review » Needs work

The last submitted patch, 5: lingotek.4.0.x-dev.rector.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

project update bot’s picture

Status: Needs work » Needs review
StatusFileSize
new234.79 KB
new1.71 MB

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.13.0, cannot fix all Drupal 10 compatibility problems.

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 #143

This patch was created using these packages:

  1. mglaman/phpstan-drupal: 1.1.25
  2. palantirnet/drupal-rector: 0.13.0
project update bot’s picture

StatusFileSize
new135.72 KB
new1.68 MB

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.13.1, cannot fix all Drupal 10 compatibility problems.

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 #145

This patch was created using these packages:

  1. mglaman/phpstan-drupal: 1.1.25
  2. palantirnet/drupal-rector: 0.13.1
meeni_dhobale’s picture

Assigned: Unassigned » meeni_dhobale
StatusFileSize
new761.71 KB

There is multiple deprecated functions warning shown while Drupal Check. I will work on it.

meeni_dhobale’s picture

Assigned: meeni_dhobale » Unassigned
StatusFileSize
new1.99 MB

Deprecated function errors are resolved, But some are remains there.
Trying to create MR for the issue but somehow facing some authentication issues, Adding patch for now. Please review.

reenaraghavan’s picture

Assigned: Unassigned » reenaraghavan
reenaraghavan’s picture

Assigned: reenaraghavan » Unassigned
StatusFileSize
new1.99 MB

Made changes using rector.
Attached the patch with changes.
Needs review.

Status: Needs review » Needs work

The last submitted patch, 13: lingotek-3288313-13.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

meeni_dhobale’s picture

StatusFileSize
new117.25 KB
new162.76 KB

@reenaraghavan Thank you so much for the new patch. I reviewed and tested your patch. Maximum errors and warnings are resolved but some are also remains there.
Adding screenshots for the reference.

Before applying patch:

After applying patch:

project update bot’s picture

project update bot’s picture

Status: Needs work » Needs review
StatusFileSize
new307.94 KB
new1.97 MB

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.13.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 #8662

This patch was created using these packages:

  1. mglaman/phpstan-drupal: 1.1.25
  2. palantirnet/drupal-rector: 0.13.1

Status: Needs review » Needs work

The last submitted patch, 17: lingotek.4.0.x-dev.rector.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

damienmckenna’s picture

Issue summary: View changes

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.

galactus86’s picture

StatusFileSize
new1.99 MB
new56.34 KB

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

damienmckenna’s picture

Assigned: Unassigned » damienmckenna

Going to do a quick reroll of the last patch.

damienmckenna’s picture

Assigned: damienmckenna » Unassigned
Status: Needs work » Needs review
StatusFileSize
new1.97 MB

Rerolled.

damienmckenna’s picture

With #22 on the current codebase we're down to 1,027 errors.

damienmckenna’s picture

A major problem seems to be that the expects() method doesn't exist in LingotekConfigurationServiceInterface.

damienmckenna’s picture

Assigned: Unassigned » damienmckenna

Making a few fixes.

damienmckenna’s picture

Assigned: damienmckenna » Unassigned
StatusFileSize
new2.01 MB
new50.83 KB

More fixes.

damienmckenna’s picture

#26 is down to 782 errors.

npaudyal001’s picture

StatusFileSize
new2.05 MB

Fixed some more deprecated tests and module seems to be working from the surface. More tests need to be fixed

damienmckenna’s picture

StatusFileSize
new32.18 KB

An interdiff for #28.

damienmckenna’s picture

This is the same as #28 only it removes some lines that had been commented out instead of being removed.

damienmckenna’s picture

With #30 we're at 737 errors.

damienmckenna’s picture

StatusFileSize
new10.63 KB
new2.05 MB

Down to 713 errors.

Status: Needs review » Needs work

The last submitted patch, 32: lingotek-n3288313-32.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

damienmckenna’s picture

I think if we had working tests on the 4.0.x branch (#3361327: Fix test failures in 4.0.x (missing schema definition, etc)) we'd have a better idea of what changes were actually needed to make this work.

project update bot’s picture

Status: Needs work » Needs review
StatusFileSize
new962 bytes
new1.97 MB

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 #12888

This patch was created using these packages:

  1. mglaman/phpstan-drupal: 1.1.35
  2. palantirnet/drupal-rector: 0.15.1
npaudyal001’s picture

StatusFileSize
new481 bytes

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,...
npaudyal001’s picture

StatusFileSize
new2.06 MB

This is #32 by removing the yml file diffs since a different commit to it was made.

npaudyal001’s picture

StatusFileSize
new2.06 MB

Updating the versions of webform and cohesion to be compatible with d10 in dev dependencies.

npaudyal001’s picture

StatusFileSize
new2.06 MB

Adding cweagans/composer patches in extras to see if composer failures will go away.

npaudyal001’s picture

StatusFileSize
new2.06 MB

Functional tests should hopefully now be in the clear.

Status: Needs review » Needs work

The last submitted patch, 41: lingotek-n3288313-41.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

npaudyal001’s picture

StatusFileSize
new2.06 MB
npaudyal001’s picture

StatusFileSize
new2.06 MB
npaudyal001’s picture

StatusFileSize
new2.06 MB
murrow’s picture

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?

npaudyal001’s picture

StatusFileSize
new2.1 MB

@murrow, This looks good. I am uploading the patch with some drupalCI fixes so we can run the test against drupal 10.

murrow’s picture

@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 #3361327: Fix test failures in 4.0.x (missing schema definition, etc), which seems a long way from reaching D10. Should I shift my attention to the tests in this branch and not wait on #3361327: Fix test failures in 4.0.x (missing schema definition, etc) 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.

npaudyal001’s picture

@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.

murrow’s picture

Further updates. I'm still making my way through the code with Drupal Check.

npaudyal001’s picture

StatusFileSize
new2.15 MB

More fixes to the unit tests suggested by drupal check. Includes rewriting tests without at() matcher and withconsecutive().

murrow’s picture

Thanks for this patch, @npaudyal001. I am almost there and should have a fresh patch coming over the next few days.

murrow’s picture

StatusFileSize
new2.28 MB
new130.98 KB

Further updates, with some Unit tests. 23 tests failing.

murrow’s picture

Removing whitespace

npaudyal001’s picture

StatusFileSize
new2.4 MB

Thanks @murrow. I apologize for disappearing all these days. Had some health issues. Here is a patch with some more updates.

npaudyal001’s picture

StatusFileSize
new2.4 MB

Fixing patch conflict

npaudyal001’s picture

@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.

murrow’s picture

@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: https://www.drupal.org/pift-ci-job/2747512

murrow’s picture

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 …

murrow’s picture

npaudyal001’s picture

StatusFileSize
new2.39 MB

Thanks @murrow. Updating composer.json with new d10 supporting webform module. This should fix the composer failure.

npaudyal001’s picture

@murrow, I am also seeing other changes in LingotekContentTranslationService.php and lingotek.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?

murrow’s picture

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?)

npaudyal001’s picture

StatusFileSize
new2.39 MB

More updates...

npaudyal001’s picture

StatusFileSize
new2.06 MB

@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.

npaudyal001’s picture

StatusFileSize
new2.06 MB

Fixing the corrupt patch, #65. Same with this... ignore this patch

npaudyal001’s picture

StatusFileSize
new2.39 MB
new6.48 KB

Further updates. Continuing from #64.

npaudyal001’s picture

StatusFileSize
new2.39 MB
new3.98 KB

Further fixes on functionals.

npaudyal001’s picture

StatusFileSize
new2.4 MB
new16.47 KB

Unit test fixes + additional updates

sja112’s picture

npaudyal001’s picture

StatusFileSize
new2.4 MB
new8.2 KB

Further updates. Replaced some older diagnostic dumps with newer ones as drupal 10 required updated ones.

npaudyal001’s picture

StatusFileSize
new2.4 MB

Fixing CI error

npaudyal001’s picture

StatusFileSize
new2.4 MB

Ignoring the legacy tests that required database snapshot from older lingotek database structure.

npaudyal001’s picture

StatusFileSize
new2.41 MB

Fixing changes related to group module and further updates

npaudyal001’s picture

StatusFileSize
new2.72 MB

Added missing binary files and fixed some file renames.

npaudyal001’s picture

StatusFileSize
new2.72 MB

Metatag fix

murrow’s picture

@npaudyal001, this is looking good. I will take a look into the coding standards errors now.

npaudyal001’s picture

StatusFileSize
new2.72 MB

Further fixes...

murrow’s picture

sja112’s picture

StatusFileSize
new2.4 MB
sja112’s picture

StatusFileSize
new2.4 MB
npaudyal001’s picture

StatusFileSize
new2.72 MB

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.

murrow’s picture

@npaudyal001 Do you need to update the project version control page to include the --binary option on git diff? https://www.drupal.org/project/lingotek/git-instructions

npaudyal001’s picture

StatusFileSize
new2.45 KB
new2.72 MB

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.

murrow’s picture

@npaudyal001, I think only a maintainer has permission to update the project's version control page. Could I leave this to you, please?

npaudyal001’s picture

@murrow, I don't see a way to update that page. It looks like thats a drupal default version control page for all modules.

damienmckenna’s picture

There isn't any way to modify the git instructions page, you're limited to just adding a note to the project page.

sja112’s picture

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?

sja112’s picture

StatusFileSize
new2.71 MB
sja112’s picture

StatusFileSize
new2.71 MB
sja112’s picture

StatusFileSize
new2.71 MB

Fixed:
error: patch failed: tests/src/Functional/LingotekLongTextFieldImportTest.php:70
error: tests/src/Functional/LingotekLongTextFieldImportTest.php: patch does not apply

npaudyal001’s picture

StatusFileSize
new2.72 MB
new784 bytes

@sja112, thanks for pointing that out. Heres the updated patch.

npaudyal001’s picture

StatusFileSize
new2.72 MB
new2.58 KB

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

npaudyal001’s picture

StatusFileSize
new2.72 MB

Not very helpful! Trying to update the dependency through dupalCI custom commands.

jahanzaib_at_straker’s picture

Status: Needs work » Reviewed & tested by the community
npaudyal001’s picture

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!

npaudyal001’s picture

Version: 4.0.x-dev » 4.1.x-dev
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.