Support for recursive path resolution in LocalStream

Created on 10 May 2014, over 10 years ago
Updated 12 July 2024, 4 months ago

Problem/Motivation

Considering issue #2168733: locale.settings.yml uses absolute path which contradicts CMI effort β†’ , the LocalStreamWrapper needs to support recursive path resolution, e.g.:

transaltions://folder can depend from public://translation folder, but LocalStreamWrapper do not support recursive stream resolution.

Proposed resolution

Update the native PHP function realpath and dirname in function getLocalPath with Drupal wrappers.

Remaining tasks

Unit Testing, maybe using vfsStream library.

πŸ› Bug report
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component
File systemΒ  β†’

Last updated about 11 hours ago

Created by

πŸ‡¨πŸ‡­Switzerland steva1982

Live updates comments and jobs are added and updated live.
  • Needs reroll

    The patch will have to be re-rolled with new suggestions/changes described in the comments in the issue.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024