FreeTAKTeam / FreeTakServer

Situational Awareness Server compatible with TAK clients
Eclipse Public License 2.0
649 stars 166 forks source link

RestAPI /ManageGeoObject/getGeoObject broken #286

Closed JZNT closed 2 years ago

JZNT commented 2 years ago

OS: Ubuntu 20.04.3 Installation method: FreeTAKHub/Ansible (easy_install.sh)

Issue: API endpoint /ManageGeoObject/getGeoObject seems broken on 1.9. It is returning "expected string or bytes-like object". Might be related to SQLAlchemy, as the code throws an exception at: https://github.com/FreeTAKTeam/FreeTakServer/blob/d8cb7996c2ac716349d5836b96b0bb18900d0722/FreeTAKServer/controllers/services/RestAPI.py#L622

kfir12345 commented 2 years ago

any updates?

naman108 commented 2 years ago

A test for the fix needs to be written then the fix and test will be pushed together.

brothercorvo commented 2 years ago

@naman108 can you fix this one?