Problem/Motivation

As an editor on drupal.nl i expect to be able to upload files, this was possible before last version.

Steps to reproduce

Deploy most recent code for https://druplal.nl and upload a file with an existing database.
Notice that the version of the issue might not be the actual code of what is deployed.

Proposed resolution

Determine if this is devops or code, and fix it.

Remaining tasks

- fix the code
- redeploy.

User interface changes

none

API changes

none

Data model changes

none

Issue fork la_eu-3587540

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

florisg created an issue. See original summary.

taran2l’s picture

Status: Active » Postponed (maintainer needs more info)

hi @florisg what exactly does not work ?

florisg’s picture

Status: Postponed (maintainer needs more info) » Active

File upload in production site: https://drupal.nl
For example when uploading an image.
This is something to investigate, not postpond.

evilargest’s picture

Hey @florisg, could you provide STR for this problem?

I see that there is a similar problem with the WebP derivative image generation, so images on some pages can be broken (see https://www.drupal.nl/partners/ronder), which might be related. However, the issue is fixed, and it does not reproduce anymore.

Trying to upload an image to a media entity worked out fine without any crits/problems on local/staging environments. Is there anything else we should pay attention to?

taran2l’s picture

The source of the issue is probably:

Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException: Non-reusable blocks must set an access dependency for access control. in Drupal\Core\Routing\AccessAwareRouter->checkAccess()

caused by #3047022: Layout builder fails to assign inline block access dependencies for the overrides section storage on entities with pending revisions

nope

evilargest’s picture

Status: Active » Needs review
taran2l’s picture

Status: Needs review » Needs work
taran2l’s picture

Version: 1.1.0 » 2.x-dev
Status: Needs work » Closed (outdated)

I think this issue was drupal.nl specific due to the issue with webp + tinypng modules combination, and it's already fixed on production

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

taran2l’s picture