php drupal-check.phar modules/contrib/workbench_email/
 36/36 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

 ------ ---------------------------------------------------------------------------------- 
  Line   src/Form/TemplateForm.php                                                         
 ------ ---------------------------------------------------------------------------------- 
  280    Call to deprecated method urlInfo() of class Drupal\Core\Entity\EntityInterface.  
 ------ ---------------------------------------------------------------------------------- 

 ------ -------------------------------------------------------------------------------------------------------------------------------------------------- 
  Line   src/Plugin/RecipientTypeInterface.php                                                                                                             
 ------ -------------------------------------------------------------------------------------------------------------------------------------------------- 
  23     Interface Drupal\workbench_email\Plugin\RecipientTypeInterface extends deprecated interface Drupal\Component\Plugin\ConfigurablePluginInterface.  
 ------ -------------------------------------------------------------------------------------------------------------------------------------------------- 

                                                                                                                        
 [ERROR] Found 2 errors   

Comments

Sergiu Stici created an issue. See original summary.

sergiu stici’s picture

Status: Active » Needs review
StatusFileSize
new1.62 KB

Here's the patch, please review.

larowlan’s picture

Issue tags: +DrupalSouth 2019
+++ b/src/Form/TemplateForm.php
@@ -277,7 +277,7 @@ class TemplateForm extends EntityForm {
+    $form_state->setRedirectUrl($workbench_email_template->toUrl('collection')->toString());

can you remove the ->toString() here which will fix the test fail.

Can you repost the output of drupal-check after applying this patch?

Thanks!

sergiu stici’s picture

StatusFileSize
new1.61 KB
php drupal-check.phar modules/contrib/workbench_email/
 36/36 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

                                                                                                                        
 [OK] No errors

Here is a new patch. I removed ->toString().

larowlan’s picture

Status: Needs review » Fixed

🎉
Thanks

Cutting a new release

Status: Fixed » Closed (fixed)

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