Found deprecation issues:

------ ---------------------------------------------------------------------- 
  Line   field_defaults.module                                                 
 ------ ---------------------------------------------------------------------- 
  193    Call to deprecated function drupal_set_message():                     
         in drupal:8.5.0 and is removed from drupal:9.0.0.                     
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.  
 ------ ---------------------------------------------------------------------- 

 ------ ---------------------------------------------------------------------- 
  Line   src/Form/SettingsForm.php                                             
 ------ ---------------------------------------------------------------------- 
  71     Call to deprecated function drupal_set_message():                     
         in drupal:8.5.0 and is removed from drupal:9.0.0.                     
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.  
 ------ ---------------------------------------------------------------------- 

 ------ ----------------------------------------------------------------------------------------------------------------- 
  Line   src/Tests/FieldDefaultsTestBase.php                                                                              
 ------ ----------------------------------------------------------------------------------------------------------------- 
  10     Class Drupal\field_defaults\Tests\FieldDefaultsTestBase extends deprecated class Drupal\simpletest\WebTestBase:  
         in drupal:8.8.0 and is removed from drupal:9.0.0. Instead,                                                       
         use \Drupal\Tests\BrowserTestBase. See https://www.drupal.org/node/3030340.                                      
  40     Call to method setUp() of deprecated class Drupal\simpletest\WebTestBase:                                        
         in drupal:8.8.0 and is removed from drupal:9.0.0. Instead,                                                       
         use \Drupal\Tests\BrowserTestBase. See https://www.drupal.org/node/3030340.                                      
  57     Call to method drupalLogin() of deprecated class Drupal\simpletest\WebTestBase:                                  
         in drupal:8.8.0 and is removed from drupal:9.0.0. Instead,                                                       
         use \Drupal\Tests\BrowserTestBase. See https://www.drupal.org/node/3030340.                                      
 ------ ----------------------------------------------------------------------------------------------------------------- 

                                                                                                                        
 [ERROR] Found 5 errors

Found related issue to review for the drupal_set_message() deprecation. Patch for remaining items to follow.

CommentFileSizeAuthor
#4 3135659-4.patch3.26 KBsharma.amitt16
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

MattKD created an issue. See original summary.

sharma.amitt16’s picture

It's a duplicate issue with

https://www.drupal.org/project/field_defaults/issues/3090709

Please check before creating a new issue of the same kind.

MattKD’s picture

I mentioned the existing issue in the description, and added it as a related issue. This issue is meant to resolve the remaining errors and required info file update.

sharma.amitt16’s picture

Status: Active » Needs review
FileSize
3.26 KB

Apologies, I missed the note about the duplicate link.

Kindly review the patch.

b_sharpe’s picture

Status: Needs review » Fixed

  • b_sharpe committed 7c2e2a4 on 8.x-1.x
    Issue #3135659 by sharma.amitt16: Drupal 9 compatibility
    

Status: Fixed » Closed (fixed)

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