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

Event attachments: Unable to create sharing link when using the file picker #6557

Open
kesselb opened this issue Dec 10, 2024 · 0 comments
Open
Labels
1. to develop Accepted and waiting to be taken care of bug

Comments

@kesselb
Copy link
Contributor

kesselb commented Dec 10, 2024

Steps to reproduce

  1. Create an event (don't save!)
  2. Click "More details"
  3. Click "Add from Files" (it's important to pick a file from picker, don't upload one)
  4. Add an attendee
  5. Click "Save"
  6. A modal is shown to confirm creating the share link
  7. Click "Invite"
  8. See an error toast "Wrong path, file/folder does not exist"

Expected behavior

It should work 🥳

Actual behaviour

It does not work 😞

There's a POST request for /ocs/v2.php/apps/files_sharing/api/v1/shares with the body {"shareType":3,"path":"/Calendar/welcome.txt"}.

The issue is the static "Calendar" prefix. That only works for newly uploaded files, but not if an existing file (outside the calendar directory) was picked.

Calendar app version

stable5.0

@kesselb kesselb added 0. to triage Pending approval or rejection bug 1. to develop Accepted and waiting to be taken care of and removed 0. to triage Pending approval or rejection labels Dec 10, 2024
@kesselb kesselb changed the title Event attachments: Create sharing link not possible when using hte file picker Event attachments: Create sharing link not possible when using then file picker Dec 10, 2024
@kesselb kesselb changed the title Event attachments: Create sharing link not possible when using then file picker Event attachments: Unable to create sharing link when using the file picker Dec 10, 2024
@kesselb kesselb moved this to 📄 To do in 💌 📅 👥 Groupware team Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of bug
Projects
Status: 📄 To do
Development

No branches or pull requests

1 participant