Problem/Motivation

When creating or editing the node of a content type with Field Redirect configured, the following warning displays,

Warning: Array to string conversion in Drupal\field_redirect\Service\UtilityService->formAlter() (line 325 of modules/contrib/field_redirect/src/Service/UtilityService.php).

Steps to reproduce

  1. Configure Field Redirect on a content type
  2. Create a node of that content type

Proposed resolution

TBD

Remaining tasks

  • ❌ Submit merge request
  • ❌ Test fix
  • ❌ Write test coverage
  • ❌ Merge into 2.0.x-dev branch

User interface changes

none

API changes

none

Data model changes

none

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

cedewey created an issue. See original summary.

abhishek_gupta1 made their first commit to this issue’s fork.

abhishek_gupta1’s picture

Status: Active » Needs review

@cedewey, I have fixed the issue. please kindly review the MR

zealialize’s picture

Status: Needs review » Closed (outdated)

@cedewey
@abhishek_gupta1
Thanks for reporting the warning message issue.
This issue will be fixed in version 3.0.0.