Skip to content

Sharing broken for Notes in categories #2969

@AndyScherzinger

Description

@AndyScherzinger

This issue respects the following points:

Describe the bug

Simply have a Notes sorted into a category:

  • exisitng shares can't be loaded
  • shares can't be created

Web

https://.../ocs/v2.php/apps/files_sharing/api/v1/shares?format=json&path=/Notes/food/Neue Notiz.md&reshares=true
-> 2 shares

https://.../ocs/v2.php/apps/files_sharing/api/v1/shares?format=json&path=/Notes/food/Neue+Notiz.md&shared_with_me=true
-> No shares

Android app

https://.../ocs/v2.php/apps/files_sharing/api/v1/shares?format=json&path=/Notes/Neue+Notiz.md&shared_with_me=true
http 404:

java.lang.IllegalStateException: {
  "ocs":{
    "meta":{
      "status":"failure",
      "statuscode":404,
      "message":"Wrong path, file\/folder does not exist"
      },
      "data":[]
    }
  }

Expected behavior

Sharing works

Notes Android version

main branch

Notes server version

latest

Nextcloud Android version

master

Nextcloud version

latest 32

Device

OnePluis

Android Version

16

App Store

  • Google Play Store
  • F-Droid
  • Huawei App Gallery

Stacktrace

No response

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions