[v4] toUrl()
on Link field with Page that got deleted throws error
#5367
Milestone
toUrl()
on Link field with Page that got deleted throws error
#5367
Description
Kirby's Url component will throw an error when trying to create the Url for a page that doesn't exist anymore.
Expected behavior
null
return, no error; similar to when the field would be empty (it's shown empty in the panel as well).To reproduce
$field->toUrl()
Your setup
Kirby Version 4.0.0.alpha-4
The text was updated successfully, but these errors were encountered: