- 🇬🇧United Kingdom catch
This hasn't been an issue since 2015 after
c1316d695782
. Marking as outdated.
The Public Stream Wrapper uses self::getDirectoryPath()
to call the getDirectoryPath()
method in an instantiated object context. This means that PHP does early binding and calls DrupalPublicStreamWrapper
's getDirectoryPath()
method, even when using a stream wrapper that inherits from DrupalPublicStreamWrapper
. This means that you have to redefine getExternalUrl()
in your custom stream wrapper class just to use your overridden getDirectoryPath()
method.
Make getExternalUrl()
call the current instance's getDirectoryPath()
method instead of DrupalPublicStreamWrapper
's version of that method.
Re-roll patch.
None.
PublicStream will work slightly differently (in a good way).
For some reason, the public stream wrapper uses self::getDirectoryPath()
to call the getDirectoryPath()
method in an instantiated object context. This means that PHP does early binding and calls DrupalPublicStreamWrapper
's getDirectoryPath()
method, even when using a stream wrapper that inherits from DrupalPublicStreamWrapper
. This means that you have to redefine getExternalUrl()
in your custom stream wrapper class just to use your overridden getDirectoryPath()
method.
This patch makes getExternalUrl()
call the current instance's getDirectoryPath()
method instead of DrupalPublicStreamWrapper
's version of that method.
Closed: outdated
9.5
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
This hasn't been an issue since 2015 after c1316d695782
. Marking as outdated.