Closed (fixed)
Project:
Layout Builder Symmetric Translations
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
16 Mar 2022 at 14:32 UTC
Updated:
15 Nov 2022 at 15:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
victoria-marina commentedI'll work on this.
Comment #3
victoria-marina commentedHi! I don't know exactly how to solve the @internal warnings, but I made a patch to solve the other ones. Kindly review it.
Comment #4
tmaiochi commentedI'll review this!
Comment #5
s3b0un3tThank's you @victoria-marina and @tmaiochi for your responsiveness.
Comment #6
avpadernoSince the patch changes the code to use a method that is available starting from Drupal 9.1.x, the core requirement should reflect that.
The dependency on a particular version of the System module isn't more necessary, starting from Drupal 8.8.x.
core_version_requirementis sufficient.Comment #7
tmaiochi commentedI made some changes on #3, and I tried to fix @internal warnings, but I couldn't.
And I did the changes asked in #6
Comment #8
avpadernoAs for the warnings for the @internal methods/classes, I would check if those methods/classes have been marked as internal in Drupal 10. If they are internal since Drupal 8 or Drupal 9, it's not a Drupal 10 compatibility issue. That still needs to be fixed, but it's not on scope for this issue.
Comment #9
avpadernoComment #10
rassoni commentedComment #11
rassoni commentedComment #12
lucasbaralmI will work on it.
Comment #13
lucasbaralmFirst, I checked all the internal warnings mentioned in the issue summary against drupal docs, concluding that they were all internal in before Drupal 10.
Then running the tests even though they are partially broken they showed the following warning about deprecations:
So, fixing these warnings as mentioned in https://www.drupal.org/node/3152690, I created the following patch
Comment #14
sophiavs commentedI'll be reviewing the last patch :)
Comment #15
sophiavs commentedEverything looks fine on the patch, just as @lucasbaralm said, the most erros are on the tests calling undefined methods, in special "Drupal\Component\Plugin\PluginInspectionInterface::getConfiguration", so it still needs works to change that method.
Comment #16
gquisini commentedComment #17
gquisini commentedI was working on this issue before I assign myself to it and thought I was solving it, but in reality I made a lot of changes to the tests and other stuffs that are not related to this issue. My bad.
Comment #18
phenaproximaHiding patches in favor of switching to a merge request workflow.
Comment #20
phenaproximaAlthough it seems that D10 testing is somehow broken upstream (it's being looked into), it passed on Drupal 10 beta2, which is good enough for me. I've gotten sign-off in Slack from @tedbow and @tim.plunkett regarding the constructor change that breaks backwards compatibility -- I don't personally think it's a problem, for a few reasons:
Comment #21
phenaproximaUpdating credit.
Comment #23
phenaproximaThanks, everyone, for your work on this. Merged into 8.x-2.x! New release forthcoming.