Problem/Motivation

https://www.drupal.org/node/3489502

 ------ --------------------------------------------------------------- 
  Line   name.views.inc                                                 
 ------ --------------------------------------------------------------- 
  14     Call to deprecated function views_field_default_views_data():  
         in drupal:11.2.0 and is removed from drupal:12.0.0. Use        
         \Drupal::service('views.field_data_provider')                  
         ->defaultFieldImplementation($field_storage); instead.         
         🪪 function.deprecated                                         
 ------ --------------------------------------------------------------- 
 [ERROR] Found 1 error     

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork name-3535845

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

bluegeek9 created an issue. See original summary.

bluegeek9’s picture

Assigned: bluegeek9 » Unassigned
Issue summary: View changes
Status: Active » Needs review

The tests are failing due to changes in Drupal 11.2.2.

The tests are addressed in #3078341: Can't load content type display edit page with name field enabled

shubham_pareek_19’s picture

Status: Needs review » Reviewed & tested by the community

The logic works with Drupal 11.

liam morland made their first commit to this issue’s fork.

liam morland’s picture

Perhaps this should use DeprecationHelper::backwardsCompatibleCall().

bluegeek9’s picture

Assigned: Unassigned » bluegeek9
Status: Reviewed & tested by the community » Active
bluegeek9’s picture

Assigned: bluegeek9 » Unassigned
Status: Active » Needs review
bluegeek9’s picture

vinodhini.e’s picture

Hi, I have tested this module on Drupal 11.2.2 and I also faced the same issue while running the Upgrade Status module.
After applying merge request #39 and running Upgrade Status again, the issue did not occur, and it is working as expected.

bluegeek9’s picture

Status: Needs review » Fixed
//www.flaticon.com/free-icons/thank-you Thank you for your contribution! Your continued support makes this project sustainable.
There are multiple ways to show appreciation for the work contributed to this project including:
  • Triage issues and adding more context to existing issues.
  • Flagging Name Field as a favorite on the project page to help others discover it and show your support.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • bluegeek9 committed d617523f on 8.x-1.x
    Issue #3535845 by bluegeek9: deprecated: views_field_default_views_data...

Status: Fixed » Closed (fixed)

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