Closed (outdated)
Project:
Drupal core
Version:
11.x-dev
Component:
file system
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
10 May 2014 at 14:03 UTC
Updated:
14 Feb 2025 at 16:25 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
steva1982 commentedComment #2
steva1982 commentedComment #3
mavimo commentedI've verified #1, test are required but feature is OK, also in the related issue.
Comment #4
mgiffordComment #5
mavimo commentedComment #6
mavimo commentedComment #7
mgiffordThis looks fine, but just looking at this warning in the api docs.
There are no similar concerns listed with drupal_dirname.
Thanks for writing up the tests.
Comment #8
mavimo commented@mgifford yes, but in this case we have to fix the "wrong usage" of realpath() function, that must never used (do not support StreamWrapper).
NB: this also solve issue #2168733: locale.settings.yml uses absolute path which contradicts CMI effort that improve CMI.
Comment #9
mile23Reroll of #5.
drupal_realpath()doesn't exist anymore and is replaced by thefile_systemservices'srealpath()method.An obvious flaw in this patch is that I'm using
\Drupalinstead of rigging up injected services. We can change that if interest picks up here.Comment #12
clemens.tolboom@Mile23 its better to fix as much as possible ;-)
Replace t() function
Replace t() function
Comment #13
mavimo commented@clemens.tolboom why we need to replace t() function? The UI interface need translation, right? It is also used on PrivateStream class (and other implemented stream).
Comment #24
larowlanIs this still an issue?
I'm not sure how I go about reproducing it, can you please provide steps to reproduce starting from 'install drupal' thanks
Comment #25
clemens.tolboomI came up with these command but have no translations setup.
or (better readable)
vendor/bin/drush php:cliMy output
Comment #26
clemens.tolboomInstalling all translation modules http://drupal.d9/admin/config/media/file-system has a setting
and
stream_get_wrappers();has translations available.Not sure how to continue further :-O
Comment #29
smustgrave commentedSo should this bug be reopened?
Comment #31
acbramley commentedLooks like this is still missing an IS update with clear steps on how to reproduce. I don't quite follow what #25 and #26 are showing.
Comment #32
smustgrave commentedSince there hasn't been any IS or steps to reproduce in a few years going to close out. If still an issue please reopen.