Drupal 9 compatibility issues according to Upgrade Status:

================================================================================
URL Embed, --
Scanned on Mon, 06/01/2020 - 21:38

FILE: modules/d9/url_embed/src/Tests/ConvertUrlToEmbedFilterTest.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Fix now        14   Class Drupal\url_embed\Tests\ConvertUrlToEmbedFilterTest    
                    extends deprecated class Drupal\simpletest\WebTestBase.     
                    Deprecated 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. Replacement available  
                    from drupal:8.6.0.                                          
--------------------------------------------------------------------------------
Fix now        27   Call to method setUp() of deprecated class                  
                    Drupal\simpletest\WebTestBase. Deprecated 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. Replacement available  
                    from drupal:8.6.0.                                          
--------------------------------------------------------------------------------

FILE: modules/d9/url_embed/src/Tests/UrlEmbedTestBase.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Fix now        17   Class Drupal\url_embed\Tests\UrlEmbedTestBase extends       
                    deprecated class Drupal\simpletest\WebTestBase. Deprecated  
                    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. Replacement available  
                    from drupal:8.6.0.                                          
--------------------------------------------------------------------------------
Fix now        57   Call to method setUp() of deprecated class                  
                    Drupal\simpletest\WebTestBase. Deprecated 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. Replacement available  
                    from drupal:8.6.0.                                          
--------------------------------------------------------------------------------

FILE: modules/d9/url_embed/tests/src/Functional/LinkEmbedFormatterTest.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 36   Call to deprecated method strtolower() of class             
                    Drupal\Component\Utility\Unicode. Deprecated in drupal:8.6.0
                    and is removed from drupal:9.0.0. Use mb_strtolower()       
                    instead.                                                    
--------------------------------------------------------------------------------
Fix now        38   Call to deprecated function entity_create(). Deprecated in  
                    drupal:8.0.0 and is removed from drupal:9.0.0. Use The      
                    method overriding Entity::create() for the entity type, e.g.
                    \Drupal\node\Entity\Node::create() if the entity type is    
                    known. If the entity type is variable, use the entity       
                    storage's create() method to construct a new entity:        
--------------------------------------------------------------------------------
Fix now        45   Call to deprecated function entity_create(). Deprecated in  
                    drupal:8.0.0 and is removed from drupal:9.0.0. Use The      
                    method overriding Entity::create() for the entity type, e.g.
                    \Drupal\node\Entity\Node::create() if the entity type is    
                    known. If the entity type is variable, use the entity       
                    storage's create() method to construct a new entity:        
--------------------------------------------------------------------------------
Check manually 53   Call to deprecated function entity_get_form_display().      
                    Deprecated in drupal:8.8.0 and is removed from drupal:9.0.0.
                    Use EntityDisplayRepositoryInterface::getFormDisplay()      
                    instead.                                                    
--------------------------------------------------------------------------------
Check manually 62   Call to deprecated function entity_get_display(). Deprecated
                    in drupal:8.8.0 and is removed from drupal:9.0.0. Use       
                    EntityDisplayRepositoryInterface::getViewDisplay() instead. 
--------------------------------------------------------------------------------
Check manually 96   Call to deprecated function entity_get_display(). Deprecated
                    in drupal:8.8.0 and is removed from drupal:9.0.0. Use       
                    EntityDisplayRepositoryInterface::getViewDisplay() instead. 
--------------------------------------------------------------------------------

FILE: modules/d9/url_embed/url_embed.info.yml

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 0    Add <code>core_version_requirement: ^8 || ^9

to
modules/d9/url_embed/url_embed.info.yml to designate that
the module is compatible with Drupal 9. See
https://drupal.org/node/3070687.
--------------------------------------------------------------------------------

CommentFileSizeAuthor
#3 url_embed-d9.patch416 bytesBerdir
#2 3144522-2.patch4.27 KBSuresh Prabhu Parkala
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Sutharsan created an issue. See original summary.

Suresh Prabhu Parkala’s picture

Status: Active » Needs review
FileSize
4.27 KB

Please review!

Berdir’s picture

FileSize
416 bytes

Most of that happened elsewhere already and this actually requires 8.8 now, so I just committed the .info.yml part.

Berdir’s picture

Status: Needs review » Fixed

  • Berdir committed 608b32e on 8.x-1.x
    Issue #3144522 by Suresh Prabhu Parkala, Berdir: Drupal 9 compatibility
    
Berdir’s picture

Status: Needs review » Fixed

  • Berdir committed 9381192 on 8.x-1.x
    Issue #3144522 by Berdir: Use assertStringContainsString()
    

Status: Fixed » Closed (fixed)

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