Closed (fixed)
Project:
Context
Version:
8.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2019 at 22:51 UTC
Updated:
20 Jun 2020 at 19:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
sergiu stici commentedHere is the patch, please review.
Comment #3
strozx commentedI have reviewed and saw that drupal_set_message() in ContextDeleteForm.php was not updated so I updated it and here is the patch.
Comment #4
strozx commentedThere was still one deprecated bit of code in there
Comment #5
bzoks commentedPatch in #4 solves all issues reported by drupal-check, project features it touches still work as expected on D8.7
Comment #6
lisa.rae commentedWith the release of Drupal 9 beta and resulting updates to deprecated code, there are new D9 Compatibility issues:
Rerolled patch from #4 to include new issues. Patch attached.
Comment #7
lisa.rae commentedComment #8
nace_fr commentedPatch from #6 solves all issues reported by drupal-check. Changing status to RTBC.
Comment #9
boshtian commentedComment #10
ngkoutsaik commentedThe patch failed to apply and I had to reroll it.
Additionally I got an error when scanning it with status update.
80 Call to deprecated method getStorage() of class Drupal\Core\Entity\EntityManager. Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use Drupal\Core\Entity\EntityTypeManagerInterface::getStorage() instead.Comment #11
ngkoutsaik commentedThe rerolled and updated patch with the additional fix.
Comment #12
kbrodej commentedHi.
Reviewed the patch from #11. Patch applied cleanly.
However I did remove empty class docblocks which were added in #4 which should be solved in Coding standards issue.
Also I replaced qualifiers for BlockRepositoryInterface with imports.
Comment #13
ngkoutsaik commentedHi,
thanks for updating the patch. I tested yours and it applied cleanly.
Comment #15
boshtian commented