Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Nov 2022 at 00:37 UTC
Updated:
2 Dec 2022 at 10:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
poker10 commentedLet's see what the testbot says.
Comment #4
poker10 commentedThe "problem" is, that the
FileTransferclass uses the magic__get()method for$chrootand$connectionproperties.If we declare them in the class, this magic method would not be called,
$connectionwould not be initialized and that is the failure above.Probably the easiest solution is to mark that class with
#[AllowDynamicProperties](see the patch), but it is only workaround. There are also other solutions, but these will need to change the magic method and it will be a bigger change, so it is questionable.Comment #6
mcdruid commentedI agree that keeping the changes to a minimum makes sense here.
Thanks!