You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Manually creating a target in a brand-new TOM produces a TemplateDoesNotExist error on the TargetDetailView
To Reproduce
Steps to reproduce the behavior:
On the 'Targets' page go to Create Targets -> Catalog Search
Enter "M31" in the search term box, selecting "Simbad" as the catalog to search. This will correctly produce a TargetCreateView page with the RA and Dec filled in from Simbad
Scroll to the bottom and click Submit
See error:
File "/Users/rstreet1/software/test_tom_venv/lib/python3.9/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "/Users/rstreet1/software/test_tom_venv/lib/python3.9/site-packages/django/core/handlers/base.py", line 222, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/Users/rstreet1/software/test_tom_venv/lib/python3.9/site-packages/django/core/handlers/base.py", line 362, in process_exception_by_middleware
response = middleware_method(request, exception)
File "/Users/rstreet1/software/test_tom_venv/lib/python3.9/site-packages/tom_common/middleware.py", line 29, in process_exception
raise exception
File "/Users/rstreet1/software/test_tom_venv/lib/python3.9/site-packages/django/core/handlers/base.py", line 220, in _get_response
response = response.render()
File "/Users/rstreet1/software/test_tom_venv/lib/python3.9/site-packages/django/template/response.py", line 114, in render
self.content = self.rendered_content
File "/Users/rstreet1/software/test_tom_venv/lib/python3.9/site-packages/django/template/response.py", line 92, in rendered_content
return template.render(context, self._request)
File "/Users/rstreet1/software/test_tom_venv/lib/python3.9/site-packages/django/template/backends/django.py", line 63, in render
reraise(exc, self.backend)
File "/Users/rstreet1/software/test_tom_venv/lib/python3.9/site-packages/django/template/backends/django.py", line 84, in reraise
raise new from exc
django.template.exceptions.TemplateDoesNotExist: bootstrap4/field.html
Expected behavior
The Target should be created normally. Note that it appears to be a problem with the TargetDetailView missing a field because the Target is actually stored in the TOM DB.
Desktop (please complete the following information):
OS: Mac OS Ventura 13.3.1a
The text was updated successfully, but these errors were encountered:
Describe the bug
Manually creating a target in a brand-new TOM produces a TemplateDoesNotExist error on the TargetDetailView
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The Target should be created normally. Note that it appears to be a problem with the TargetDetailView missing a field because the Target is actually stored in the TOM DB.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: