Skip to content

Shared With list ends with comma on 1 device #8967

Closed

Description

@luckman212

Versions

  • Syncthing v1.23.6, macOS (64-bit ARM)
  • Chrome 114.0.5735.198

2 old possibly related issues:

I don't think this necessarily began with 1.23.6 but I happened to notice it this morning when I upgraded my 2 systems. The "Shared With" line on my main computer has the name of the other Mac, but ends with a lone comma:

screenshot_gEuS0Fdx_gh

I checked the config.xml and nothing jumped out at me as being incorrect / duplicate etc. I even diff'ed it against the other peer, and aside from the machine IDs, they are identical. Strangely, the other machine does not display this comma. Could it have to do with the hyphen in the computer name?

Activity

  1. added
    bug
    needs-triage
    on Jul 5, 2023
  2. tomasz1986 commented on Jul 5, 2023

    @tomasz1986
    Member

    This is probably caused by #8923.

    I've managed to reproduce the following way:

    1. Add a new folder on Device 1 and share it with Device 2.
    2. On Device 2, accept the folder.
    3. The "shared with" list now displays a trailing comma on Device 2 (but not on Device 1).
  3. calmh commented on Jul 5, 2023

    @calmh
    Member

    Yeah... When iterating over the list, if the last device ID is the local device, there'll be a spurious comma.

  4. removed
    needs-triage
    on Jul 5, 2023
  5. added a commit that references this issue on Jul 6, 2023
    5f8e63b
  6. added this to the v1.23.7 milestone on Jul 10, 2023
  7. added 3 commits that reference this issue on Jul 10, 2023
    878304f
    0c7a479
    88fa161
  8. added a commit that references this issue on Jan 28, 2024
    6ff5ed6
  9. added
    frozen-due-to-age
    on Jul 6, 2024
  10. locked and limited conversation to collaborators on Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfrozen-due-to-age

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions