OpenTAKServer
OpenTAKServer copied to clipboard
Moving a marker in a datasync feed shows an error notification
Steps to reproduce
- Create a mission named "test" in the admin panel with default role subscriber, no password, with another callsign -- not yours -- as the owner.
- Open ATAK with Data sync plugin
- Connect to OTS
- Subscribe to feed
- Place a marker called "Incident Command Post"
- Place a second marker called "EMS Staging"
- Lasso-select both markers and send them to the test feed.
- Long-press the EMS Staging marker to initiate the move; move the marker somewhere else.
- Select OK in the "Publish Content to Feeds" pop-up.
Expected
marker to be moved, and a notification to say it was successfully moved.
Happened
- the marker is moved on the local map
- a notification is shown saying "publishing EMS Staging to https://example.com"
- after a short while, the notification changes to "failed to publish EMS staging to https://example.com"
Remarks
It appears the server does get the marker. There is a valid COT message in the server log (with debug on):
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<event version="2.0" uid="eb6f62b0-916b-4d8d-82c5-bb8db8ec4d54" type="a-f-G"
time="2025-01-02T14:05:22.641Z" start="2025-01-02T14:05:22.641Z"
stale="2026-01-02T14:05:22.641Z" how="h-g-i-g-o" access="Undefined">
<point lat="52.0101887" lon="4.3376216" hae="44.6" ce="9999999.0" le="9999999.0" />
<detail>
<status readiness="true" />
<archive />
<link uid="ANDROID-84b12a7a33bd270f" production_time="2025-01-02T14:05:22.641Z"
type="a-f-G-U-C" parent_callsign="KILLER" relation="p-p" />
<contact callsign="EMS staging" />
<remarks />
<color argb="-1" />
<usericon iconsetpath="COT_MAPPING_2525C/a-f/a-f-G" />
<archive />
<precisionlocation altsrc="SRTM1" />
<marti>
<dest mission="test" />
</marti>
</detail>
</event>
After you do a full sync of the feed, the marker stays in place too on the client. And I can see the marker animate to the new location on the OTS admin panel.
I think the ATAK client is expecting some kind of confirmation message, which it doesn't get.