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
{{ message }}
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.
If a user uploads a schema with unresolvable JSON pointers, then the app will error. We can add error handling for the `get_mapping_sheet_from_* methods.
AttributeError: 'JsonRef' object has no attribute 'cache'
File "proxytypes.py", line 252, in __subject__
return self.cache
File "proxytypes.py", line 176, in __getattribute__
return _oga(self, attr)
KeyError: 'MilestoneReference'
File "jsonref.py", line 217, in resolve_pointer
document = document[part]
JsonRefError: Unresolvable JSON pointer: '/definitions/MilestoneReference'
(20 additional frame(s) were not displayed)
...
File "jsonref.py", line 174, in callback
result = self.resolve_pointer(self.store[uri], fragment)
File "proxytypes.py", line 134, in wrapper
return method(self, *args, **kwargs)
File "jsonref.py", line 219, in resolve_pointer
self._error("Unresolvable JSON pointer: %r" % pointer, cause=e)
File "proxytypes.py", line 134, in wrapper
return method(self, *args, **kwargs)
File "jsonref.py", line 229, in _error
cause=cause,
The text was updated successfully, but these errors were encountered:
If a user uploads a schema with unresolvable JSON pointers, then the app will error. We can add error handling for the `get_mapping_sheet_from_* methods.
Sentry Issue: OPEN-CONTRACTING-TOUCAN-W
The text was updated successfully, but these errors were encountered: