Skip to content

Share API returns truncated circleId in share_with value #30458

Description

@jmptbl

I hope the brevity of this report can be forgiven - it's a really simple bug fix.

The Share API is returning a truncated circleId in share_with in share elements of IShare::TYPE_CIRCLE. Example API outputs below.

Nextcloud 22.2.3
PHP 8.0.13

Never upgraded, fresh install.

Attached patch fixes it for me: share-api-circleid.txt

Share element from the Share API showing the truncation in share_with: share-api-example.txt

The Circle element in share_with above, but from the Circle API: circle-api-example.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapbugneeds info

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions