We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
`AttributeError` on unchecked link list
### Describe the Bug
<!-- A clear and concise description of what the bug is. -->
Unchecked links do not have a `status_message`, which causes an `AttributeError` on the unchecked link list

### Steps to Reproduce

1. Add unchecked links
2. Go to `/analytics/linkcheck/unchecked/`
3. See error

### Expected Behavior
<!-- A clear and concise description of what you expected to happen. -->
The list of unchecked links should be shownn

### Actual Behavior
<!-- A clear and concise description of what actually happened. -->
`AttributeError: 'NoneType' object has no attribute 'startswith'`

### Additional Information
<!-- Add any other context (e.g. logs, screenshots, etc.) about the problem here. -->
<details>
  <summary>Traceback</summary>
  
  
  ```
Traceback (most recent call last):
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/core/handlers/exception.py", lin
e 47, in inner
    response = get_response(request)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 204
, in _get_response
    response = response.render()
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/response.py", line 105,
 in render
    self.content = self.rendered_content
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/response.py", line 83,
in rendered_content
    return template.render(context, self._request)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/backends/django.py", li
ne 61, in render
    return self.template.render(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py", line 170, in
render
    return self._render(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py", line 162, in
_render
    return self.nodelist.render(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py", line 938, in
render
    bit = node.render_annotated(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py", line 905, in
render_annotated
    return self.render(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/loader_tags.py", line 1
50, in render
    return compiled_parent._render(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py", line 162, in
_render
    return self.nodelist.render(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py", line 938, in
render
    bit = node.render_annotated(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py", line 905, in
render_annotated
    return self.render(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/loader_tags.py", line 1
50, in render
    return compiled_parent._render(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py", line 162, in
_render
    return self.nodelist.render(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py", line 938, in
render
    bit = node.render_annotated(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py", line 905, in
render_annotated
    return self.render(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/loader_tags.py", line 62, in render
    result = block.nodelist.render(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py", line 938, in render
    bit = node.render_annotated(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py", line 905, in render_annotated
    return self.render(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/loader_tags.py", line 62, in render
    result = block.nodelist.render(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py", line 938, in render
    bit = node.render_annotated(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py", line 905, in render_annotated
    return self.render(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/loader_tags.py", line 62, in render
    result = block.nodelist.render(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py", line 938, in render
    bit = node.render_annotated(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py", line 905, in render_annotated
    return self.render(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/defaulttags.py", line 214, in render
    nodelist.append(node.render_annotated(context))
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py", line 905, in render_annotated
    return self.render(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/loader_tags.py", line 195, in render
    return template.render(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py", line 172, in render
    return self._render(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py", line 162, in _render
    return self.nodelist.render(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py", line 938, in render
    bit = node.render_annotated(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py", line 905, in render_annotated
    return self.render(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py", line 988, in render
    output = self.filter_expression.resolve(context)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py", line 698, in resolve
    new_obj = func(obj, *arg_vals)
  File "/opt/integreat-cms/.venv/lib/python3.8/site-packages/integreat_cms/cms/templatetags/text_filters.py", line 34, in linkcheck_status_filter
    if status_message.startswith("Other Error:"):
AttributeError: 'NoneType' object has no attribute 'startswith'
  ```
  
</details>


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `integreat_cms/cms/templatetags/text_filters.py`
Content:
```
1 """
2 This is a collection of tags and filters for strings.
3 """
4 from django import template
5 
6 register = template.Library()
7 
8 
9 @register.filter(name="words")
10 def words(text):
11     """
12     Split the given text into a list of words, see :meth:`python:str.split`.
13 
14     :param text: The input string
15     :type text: str
16 
17     :return: The list of words in the text
18     :rtype: list
19     """
20     return text.split()
21 
22 
23 @register.filter(name="linkcheck_status_filter")
24 def linkcheck_status_filter(status_message):
25     """
26     Due to a long status entry for a single kind of faulty link,
27     this filter reduced the output when display in list view
28 
29     :param status_message: error description
30     :type status_message: str
31     :return: a concise message
32     :rtype: str
33     """
34     if status_message.startswith("Other Error:"):
35         return "Other Error"
36     return status_message
37
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/integreat_cms/cms/templatetags/text_filters.py b/integreat_cms/cms/templatetags/text_filters.py
--- a/integreat_cms/cms/templatetags/text_filters.py
+++ b/integreat_cms/cms/templatetags/text_filters.py
@@ -2,6 +2,7 @@
 This is a collection of tags and filters for strings.
 """
 from django import template
+from django.utils.translation import ugettext as _
 
 register = template.Library()
 
@@ -31,6 +32,8 @@
     :return: a concise message
     :rtype: str
     """
+    if not status_message:
+        return _("Unknown")
     if status_message.startswith("Other Error:"):
-        return "Other Error"
+        return _("Error")
     return status_message

{"golden_diff": "diff --git a/integreat_cms/cms/templatetags/text_filters.py b/integreat_cms/cms/templatetags/text_filters.py\n--- a/integreat_cms/cms/templatetags/text_filters.py\n+++ b/integreat_cms/cms/templatetags/text_filters.py\n@@ -2,6 +2,7 @@\n This is a collection of tags and filters for strings.\n \"\"\"\n from django import template\n+from django.utils.translation import ugettext as _\n \n register = template.Library()\n \n@@ -31,6 +32,8 @@\n     :return: a concise message\n     :rtype: str\n     \"\"\"\n+    if not status_message:\n+        return _(\"Unknown\")\n     if status_message.startswith(\"Other Error:\"):\n-        return \"Other Error\"\n+        return _(\"Error\")\n     return status_message\n", "issue": "`AttributeError` on unchecked link list\n### Describe the Bug\r\n<!-- A clear and concise description of what the bug is. -->\r\nUnchecked links do not have a `status_message`, which causes an `AttributeError` on the unchecked link list\r\n\r\n### Steps to Reproduce\r\n\r\n1. Add unchecked links\r\n2. Go to `/analytics/linkcheck/unchecked/`\r\n3. See error\r\n\r\n### Expected Behavior\r\n<!-- A clear and concise description of what you expected to happen. -->\r\nThe list of unchecked links should be shownn\r\n\r\n### Actual Behavior\r\n<!-- A clear and concise description of what actually happened. -->\r\n`AttributeError: 'NoneType' object has no attribute 'startswith'`\r\n\r\n### Additional Information\r\n<!-- Add any other context (e.g. logs, screenshots, etc.) about the problem here. -->\r\n<details>\r\n  <summary>Traceback</summary>\r\n  \r\n  \r\n  ```\r\nTraceback (most recent call last):\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/core/handlers/exception.py\", lin\r\ne 47, in inner\r\n    response = get_response(request)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/core/handlers/base.py\", line 204\r\n, in _get_response\r\n    response = response.render()\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/response.py\", line 105,\r\n in render\r\n    self.content = self.rendered_content\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/response.py\", line 83,\r\nin rendered_content\r\n    return template.render(context, self._request)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/backends/django.py\", li\r\nne 61, in render\r\n    return self.template.render(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py\", line 170, in\r\nrender\r\n    return self._render(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py\", line 162, in\r\n_render\r\n    return self.nodelist.render(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py\", line 938, in\r\nrender\r\n    bit = node.render_annotated(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py\", line 905, in\r\nrender_annotated\r\n    return self.render(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/loader_tags.py\", line 1\r\n50, in render\r\n    return compiled_parent._render(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py\", line 162, in\r\n_render\r\n    return self.nodelist.render(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py\", line 938, in\r\nrender\r\n    bit = node.render_annotated(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py\", line 905, in\r\nrender_annotated\r\n    return self.render(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/loader_tags.py\", line 1\r\n50, in render\r\n    return compiled_parent._render(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py\", line 162, in\r\n_render\r\n    return self.nodelist.render(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py\", line 938, in\r\nrender\r\n    bit = node.render_annotated(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py\", line 905, in\r\nrender_annotated\r\n    return self.render(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/loader_tags.py\", line 62, in render\r\n    result = block.nodelist.render(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py\", line 938, in render\r\n    bit = node.render_annotated(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py\", line 905, in render_annotated\r\n    return self.render(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/loader_tags.py\", line 62, in render\r\n    result = block.nodelist.render(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py\", line 938, in render\r\n    bit = node.render_annotated(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py\", line 905, in render_annotated\r\n    return self.render(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/loader_tags.py\", line 62, in render\r\n    result = block.nodelist.render(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py\", line 938, in render\r\n    bit = node.render_annotated(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py\", line 905, in render_annotated\r\n    return self.render(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/defaulttags.py\", line 214, in render\r\n    nodelist.append(node.render_annotated(context))\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py\", line 905, in render_annotated\r\n    return self.render(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/loader_tags.py\", line 195, in render\r\n    return template.render(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py\", line 172, in render\r\n    return self._render(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py\", line 162, in _render\r\n    return self.nodelist.render(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py\", line 938, in render\r\n    bit = node.render_annotated(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py\", line 905, in render_annotated\r\n    return self.render(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py\", line 988, in render\r\n    output = self.filter_expression.resolve(context)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/django/template/base.py\", line 698, in resolve\r\n    new_obj = func(obj, *arg_vals)\r\n  File \"/opt/integreat-cms/.venv/lib/python3.8/site-packages/integreat_cms/cms/templatetags/text_filters.py\", line 34, in linkcheck_status_filter\r\n    if status_message.startswith(\"Other Error:\"):\r\nAttributeError: 'NoneType' object has no attribute 'startswith'\r\n  ```\r\n  \r\n</details>\r\n\n", "before_files": [{"content": "\"\"\"\nThis is a collection of tags and filters for strings.\n\"\"\"\nfrom django import template\n\nregister = template.Library()\n\n\n@register.filter(name=\"words\")\ndef words(text):\n    \"\"\"\n    Split the given text into a list of words, see :meth:`python:str.split`.\n\n    :param text: The input string\n    :type text: str\n\n    :return: The list of words in the text\n    :rtype: list\n    \"\"\"\n    return text.split()\n\n\n@register.filter(name=\"linkcheck_status_filter\")\ndef linkcheck_status_filter(status_message):\n    \"\"\"\n    Due to a long status entry for a single kind of faulty link,\n    this filter reduced the output when display in list view\n\n    :param status_message: error description\n    :type status_message: str\n    :return: a concise message\n    :rtype: str\n    \"\"\"\n    if status_message.startswith(\"Other Error:\"):\n        return \"Other Error\"\n    return status_message\n", "path": "integreat_cms/cms/templatetags/text_filters.py"}], "after_files": [{"content": "\"\"\"\nThis is a collection of tags and filters for strings.\n\"\"\"\nfrom django import template\nfrom django.utils.translation import ugettext as _\n\nregister = template.Library()\n\n\n@register.filter(name=\"words\")\ndef words(text):\n    \"\"\"\n    Split the given text into a list of words, see :meth:`python:str.split`.\n\n    :param text: The input string\n    :type text: str\n\n    :return: The list of words in the text\n    :rtype: list\n    \"\"\"\n    return text.split()\n\n\n@register.filter(name=\"linkcheck_status_filter\")\ndef linkcheck_status_filter(status_message):\n    \"\"\"\n    Due to a long status entry for a single kind of faulty link,\n    this filter reduced the output when display in list view\n\n    :param status_message: error description\n    :type status_message: str\n    :return: a concise message\n    :rtype: str\n    \"\"\"\n    if not status_message:\n        return _(\"Unknown\")\n    if status_message.startswith(\"Other Error:\"):\n        return _(\"Error\")\n    return status_message\n", "path": "integreat_cms/cms/templatetags/text_filters.py"}]}