Skip to content

TypeError: can only concatenate str (not "NoneType") to str #560

@vildead

Description

@vildead
.ERROR 2025-03-09 18:06:49,838 log 7 140461253379904 Internal Server Error: /data-declarations-autocomplete
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
    response = get_response(request)
  File "/usr/local/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/code/web/views/data_declarations.py", line 145, in data_declarations_autocomplete
    "text": result.title + ", Project: " + result.project,
TypeError: can only concatenate str (not "NoneType") to str

Metadata

Metadata

Assignees

No one assigned

    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