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

Moving a marker in a datasync feed shows an error notification #104

Open
jakobbuis opened this issue Jan 2, 2025 · 0 comments
Open

Moving a marker in a datasync feed shows an error notification #104

jakobbuis opened this issue Jan 2, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@jakobbuis
Copy link

jakobbuis commented Jan 2, 2025

Steps to reproduce

  1. Create a mission named "test" in the admin panel with default role subscriber, no password, with another callsign -- not yours -- as the owner.
  2. Open ATAK with Data sync plugin
  3. Connect to OTS
  4. Subscribe to feed
  5. Place a marker called "Incident Command Post"
  6. Place a second marker called "EMS Staging"
  7. Lasso-select both markers and send them to the test feed.
  8. Long-press the EMS Staging marker to initiate the move; move the marker somewhere else.
  9. 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.

@jakobbuis jakobbuis changed the title Cannot move a marker in a datasync feed Moving a marker in a datasync feed shows an error notification Jan 2, 2025
@brian7704 brian7704 added the bug Something isn't working label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants