collectives icon indicating copy to clipboard operation
collectives copied to clipboard

Image fails to load with 403 after insertion

Open max-nextcloud opened this issue 1 year ago • 2 comments

Describe the bug After editing a new page and inserting a new image the image won't render and displays a 403 error in view mode:

grafik

To Reproduce Steps to reproduce the behavior:

  1. Create a new page in a collective
  2. Insert an image
  3. Click done
  4. See failed image rendering with 403 error
  5. Reload the page to see that the image upload was successful.

Expected behavior Show the image right away.

Server details:

  • local cypress run against current master
  • cloud.nextcloud.com on 29.0.0.rc4

Failed network request

The failed network request actually seems to come before even inserting the image. grafik

max-nextcloud avatar Apr 15 '24 07:04 max-nextcloud

I noticed this while working on the Supports page content editing and switching to read mode pages spec. So it looks like we may have a failing test for it already.

max-nextcloud avatar Apr 15 '24 07:04 max-nextcloud

This also affects 28.0.4.

Aveyron-RetD avatar Apr 22 '24 07:04 Aveyron-RetD

Noticed the same behavior under 28.0.3 and 29.0.0

JPG_2024-05-28

Server details:

Collectives app version: [2.11.0]
Nextcloud version: [29.0.0] and [28.0.3]

Client details:

OS: [Linux Mint 21.3]
Browser: [Firefox 126.0, Chromium 124.0.6367.201]
Device: [desktop]

sen4git avatar May 28 '24 08:05 sen4git

Noticed the same behavior under 28.0.3 and 29.0.0

Could you please upgrade to 28.0.5 and 29.0.1 and see whether this still happens there? We shipped some related fixes with the latest releases.

mejo- avatar May 28 '24 08:05 mejo-

Sorry - I'm not admin and have to wait for upgades ...

sen4git avatar May 28 '24 08:05 sen4git

Hello, We have same issue on our nextcloud instance.

Server details: Nexcloud version: [28.0.5] Collectives version : [2.11.0]

LeutholdF avatar Jun 11 '24 11:06 LeutholdF

Hi, we have the same problem:

Nextcloud version: 28.0.3 Collectives version: 2.12.0

AT-SGAI-CSIC avatar Jun 14 '24 07:06 AT-SGAI-CSIC

Hi, we have update to Nextcloud version 29.0.3 and Collectives again with version 2.12.0, and the problem persists, we see 403 errors in web console when we insert images. The errors are also random, once in some images and other times in others.

imagen

AT-SGAI-CSIC avatar Jun 27 '24 08:06 AT-SGAI-CSIC

We're just getting hit with this recently. Has anyone found a workaround? Does re-uploading the image help?

chmac avatar Jun 28 '24 09:06 chmac

To me it seems like this happens when opening the document creates a new editing session for the document. For documents that already have an editing session, I cannot reproduce the issue.

How to check: when you face this issue, please navigate to another page and then go back to the page where you hit this problem. Now the images should load even in view mode. Could those that still face this issue please check if this is true for you?

mejo- avatar Jul 01 '24 13:07 mejo-

@mejo- seems that this has been fixed. What's the release schedule for this fix?

NikoKS avatar Jul 24 '24 07:07 NikoKS

@mejo- seems that this has been fixed. What's the release schedule for this fix?

This should be fixed with nextcloud 29.0.3 and 28.0.8.

mejo- avatar Jul 24 '24 10:07 mejo-