web icon indicating copy to clipboard operation
web copied to clipboard

Parent link in upload info does not work for share root folders

Open JammingBen opened this issue 1 year ago • 4 comments

Steps to reproduce

  1. As einstein, share a folder folder with write permissions with admin
  2. As admin, go to your shares and open that folder
  3. Upload a resource
  4. Go to some other page, e.g. your personal space
  5. Click on "Show details" on the upload info (bottom right side) and then go to the parent folder folder

Expected behavior

You are being redirected to the folder correctly.

Actual behavior

The redirect is broken, it shows "Resource not found".

Note that the fix for this needed to target stable-8.0.

JammingBen avatar Jan 19 '24 09:01 JammingBen

@JammingBen Getting different type of error. Anything uploaded by Admin or Einstein from Admin point of view into shared folder by Einstein won't even show the "Shared via" and console logs PROPFIND 403 error (Shared with edit permissions)

jacob-nv avatar Jan 23 '24 15:01 jacob-nv

@JammingBen Getting different type of error. Anything uploaded by Admin or Einstein from Admin point of view into shared folder by Einstein won't even show the "Shared via" and console logs PROPFIND 403 error (Shared with edit permissions)

Could you maybe post a video or exact steps of what you are doing? Uploading works fine for me, it's just the parent folder that is buggy.

JammingBen avatar Jan 24 '24 07:01 JammingBen

@JammingBen Running OCIS_IMAGE=owncloud/ocis:5.0.0-rc.1 Login as Admin, Login as Einstein

Einstein:

  • Create folder with name folder
  • Click on context menu, Click on Share
  • Search for Admin, switch from Can view to Can edit, submit

Admin:

  • Go to shares, see the shared folder, open folder
  • Upload testing png I have prepared
  • Click context menu for file, Detail image (Try to refresh page, repeat last step, same error)

Einstein:

  • Check the shared folder, file uploaded, context menu, detail, see the /folder path (click, everything works fine)
  • Upload new file

Admin:

  • Check the uploaded file, context menu, details, same error

jacob-nv avatar Jan 24 '24 13:01 jacob-nv

Click context menu for file, Detail

Ahh now I get it. The error occours when opening the right sidebar, that's another bug. I'll create a ticket for it.

For this issue you don't need to open the sidebar though. It's about the parent folder link ("for admin") in this overlay on the bottom right:

image

JammingBen avatar Jan 26 '24 05:01 JammingBen

Seems to be fixed meanwhile, hence closing.

JammingBen avatar May 21 '24 12:05 JammingBen