Replace getFieldUrl() with getAbsoluteUrl() from extended class

Created on 20 September 2021, over 3 years ago
Updated 30 October 2023, about 1 year ago

Problem/Motivation

Current code in getFieldUrl() could cause fatal errors when link field has/provide an empty value.

Steps to reproduce

Proposed resolution

Use getAbsoluteUrl() from extended RssField class from Drupal core to avoid such issues and recommend to use node/NID instead of link to content to generate value for link field.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇩🇪Germany IT-Cru Munich

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024