Closed (fixed)
Project:
Replicate UI
Version:
8.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Sep 2017 at 13:40 UTC
Updated:
12 Feb 2018 at 20:59 UTC
Jump to comment: Most recent
Comments
Comment #2
ruslan piskarovHello @LaravZ.
I just have installed clear Drupal 8.4.2 and met the fatal error. So I made the rollback your commit https://www.drupal.org/node/2869271 on my localhost and now the module works. But since EntityManagerInterface is deprecated, it is temporary for me and not a good solution. I will provide a new patch for fixing this issue soon.
Thank you.
Comment #3
ruslan piskarovComment #4
bloomt commentedThe website encountered an unexpected error. Please try again later.
TypeError: Argument 1 passed to Drupal\Core\Entity\ContentEntityForm::__construct() must implement interface Drupal\Core\Entity\EntityManagerInterface, instance of Drupal\Core\Entity\EntityTypeManager given, called in modules/contrib/replicate_ui/src/Form/ReplicateConfirmForm.php on line 34 in Drupal\Core\Entity\ContentEntityForm->__construct() (line 56 of core/lib/Drupal/Core/Entity/ContentEntityForm.php).
I get this error when trying to replicate my node, are these issues related?
Comment #5
laravz commented@bloomt Probably yes. You might want to revert the module to a previous version.
Comment #6
sanduhrsSee #2869271: Replace all usages of deprecated EntityManagerInterface for a patch to revert.
Comment #7
berdirReuploading the patch here, this really needs to be reverted, it's not possible to avoid the deprecated usage at the moment. Patch is referenced above.
Comment #9
berdirReverted and set the other issue to postponed. Thanks.