Fix full_url in getRelatedEntityUrl() method

Created on 3 July 2024, 6 months ago

Problem/Motivation

Sometimes the entity related to the activity does not have a canonical URL, which causes a fatal error when viewing the activity.
This error occurs because there is no check to see if the entity has a canonical LinkTemplate

Proposed resolution

Add a condition to check if entity hasLinkTemplate canonical

πŸ› Bug report
Status

Needs review

Version

13.0

Component

Code (back-end)

Created by

πŸ‡ΊπŸ‡¦Ukraine v.koval

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

Comments & Activities

Production build 0.71.5 2024