Closed (fixed)
Project:
Social PWA
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
27 Dec 2021 at 09:37 UTC
Updated:
15 Feb 2022 at 19:39 UTC
Jump to comment: Most recent
Add Drupal 9 compatibility, follow up from https://www.drupal.org/project/social_pwa/issues/3255925
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
Comment #3
avpadernoFor some of the changes, there is already an issue: #3218432: ActivitySend plugin doesn't support injected services. Those changes should be removed from the changes proposed here.
Comment #4
basvredelingPatch looks pretty solid to me. @apaderno are you talking about the rename of the
create()method when saying there is already an issue for parts of the patch?Since https://www.drupal.org/project/social/issues/3218415 the main method name has been changed to process(). That change was part of the Drupal 9 (open social 11) release. So while technically not a D9 incompatibility, it is part of the D9 updates necessary to get this working with the dependencies.
Comment #5
avpaderno@basvredeling I was saying there is already an issue for some of the changes done in this issue. Each issue should be for different changes.
As for the method rename, it doesn't apply to the 10.3.x branch, which means it cannot be applied to this project too. To be applied, this project should require the Open Social distribution 11.x.
Comment #6
avpadernoI changed the title, since the patch doesn't make the project compatible with Drupal 9, but with the 11.0.x branch of the Open Social distribution from which the project depends.
Comment #7
nkoporec@apaderno I added Open Social 11 as a dependency. When this gets merged the maintainer can then either tag a new version that will be only OS 11 compatible or branch out the D8 version of this module. I think this is the most straightforward way to do it, I also left the create() changes as it is necessary to have it, otherwise, the module will not install and therefore can not even be tested.
Comment #8
nkoporecComment #9
nachosalvador commentedLooks good to me.
Comment #10
nkoporecAfter talking with one of the maintainers, we decided to keep the OS 10 compatibility, so I have adjusted the code so it is now compatible with both versions.
Comment #11
nachosalvador commentedLooks good
Comment #14
robertragas commentedThanks for the work guys, merged it and released it in the 1.4 branch.