Skip to content

Some groups can not be added to the "visible to Groups" list. #2

@JuSachs

Description

@JuSachs

Some groups can not be added to the "visible to Groups" list.

Some work, some not.
If the do not work, an error 400 response is shown.
In the error response
{"error":"Invalid group ID format"}
is listed.

With a bit of research, this could be easily duplicated, if a group name is created with a "." or " " (space) in the name.
Note: changing the group name after creation does not help, as the internal name is fixed to the creation name.

How to duplicate:
Goto NextCloud admistration and create two groups
"test.group" and "testgroup"

Now go to the DashLink settings page and either create a new or modify an existing link.
If I try to add a group with the "." in its name, i get the error 400 response.
If i add the group without the "." in its name, i can add the group as expected.

Tested with nextcloud 32.0.5 and DashLink 1.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions