D10 - private file system

Created on 28 December 2023, 11 months ago

Problem/Motivation

see Forum entry
https://www.drupal.org/forum/support/upgrading-drupal/2023-11-29/private... β†’

Problem:
A private file (audio) cannot be accessed through the private file system. I get error 403, even though it can be accessed through the browser using the notation file:///...
This file is present only ONCE for both D9 and D10, using the same access bit definition in both cases.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Closed: works as designed

Version

10.2 ✨

Component
File systemΒ  β†’

Last updated about 1 hour ago

Created by

πŸ‡¦πŸ‡ΉAustria hstoellinger Salzburg

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @hstoellinger
  • πŸ‡¦πŸ‡ΉAustria hstoellinger Salzburg

    The file can be accessed successfully under Drupal9, but NOT on Drupal10

  • πŸ‡¦πŸ‡ΉAustria hstoellinger Salzburg
  • Status changed to Postponed: needs info 11 months ago
  • Unfortunately this bug report is not actionable as written. Please add to this bug report the steps to reproduce. Those steps must explain how the file is displayed on content to which the current user has access, and must be reproducible by othersβ€”in most cases that means these should begin with installing Drupal. That information needs to be here, in this bug report.

    Getting the file with file:/// is irrelevant.

  • πŸ‡¦πŸ‡ΉAustria hstoellinger Salzburg

    Getting the file with file:///... means that the file itself can at least be read and processed o.k. outside of Drupal through any browser. It would be great if somebody DID look at the description of the problem in my Forum entry - as given in the Issue. Very frustrating - preventing me from migrating to D10!

  • I understand the frustration but bug reports must have information to have the bug fixed.

  • πŸ‡¦πŸ‡ΉAustria hstoellinger Salzburg

    The file is displayed within a "long text-field" of a page like so:

    ...
      <div class="rmaudio">
        <audio controls="controls">
          <source src="/system/files/2022-02/rainermarschAusgeblendet_0.mp3" 
          type="audio/mpeg">
        </audio>
      </div>
    ...
    
  • πŸ‡¦πŸ‡ΉAustria hstoellinger Salzburg

    Hello,
    I should apparently apologize! I forgot to specify "private file system" for the storage location of the audio file. Sorry!

  • Status changed to Closed: works as designed 11 months ago
Production build 0.71.5 2024