Skip to content

Exception ContentNotFound on GetFriendlyUrl in situation when content was deleted #24

@jevgenijsp

Description

@jevgenijsp

We have cases when content was deleted in Optimizely, but not reindexed in find and we trying to get the URL of the removed content.
Is it possible to return an empty string for that case? So we won't need to handle the error at our level.

How to reproduce:

  • remove content and try to call GetFriendlyUrl with content reference of the removed content
  • exception ContentNotFound raised

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions