Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'UUID' object has no attribute 'replace' #4700

Closed
sentry-io bot opened this issue Sep 2, 2024 · 0 comments · Fixed by #4704
Closed

AttributeError: 'UUID' object has no attribute 'replace' #4700

sentry-io bot opened this issue Sep 2, 2024 · 0 comments · Fixed by #4704
Assignees
Labels
DEV: backend P0 - critical Priority: Release blocker or regression

Comments

@sentry-io
Copy link

sentry-io bot commented Sep 2, 2024

Sentry Issue: STUDIO-HDF

AttributeError: 'UUID' object has no attribute 'replace'
(7 additional frame(s) were not displayed)
...
  File "contentcuration/viewsets/base.py", line 668, in list
    return Response(self.serialize(queryset))
  File "contentcuration/viewsets/base.py", line 642, in serialize
    list(map(self._map_fields, values_queryset or [])), queryset
  File "contentcuration/viewsets/base.py", line 628, in _map_fields
    item[key] = value(item)
  File "search/viewsets/savedsearch.py", line 48, in <lambda>
    "id": lambda x: x["id"].replace("-", ""),
@sentry-io sentry-io bot added DEV: backend P3 - low Priority: Stretch goal labels Sep 2, 2024
@akolson akolson added this to the Studio: Bulk Editing Release milestone Sep 2, 2024
@rtibbles rtibbles added P0 - critical Priority: Release blocker or regression and removed P3 - low Priority: Stretch goal labels Sep 3, 2024
@rtibbles rtibbles self-assigned this Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DEV: backend P0 - critical Priority: Release blocker or regression
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants