https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |julian.maurice@biblibre.com --- Comment #123 from Julian Maurice <julian.maurice@biblibre.com> --- I think that polymorphism (at the Koha::Object level) is not the best solution here. I think the problem is that Koha::File::Transport tries to be many things at once: it is a database entity and a file transporter. Those are two very different things. We could have Koha::File::Transport::FTP and Koha::File::Transport::SFTP as non-Koha::Object and have (for instance) a Koha::File::Transport::transporter method that returns the correct object depending on the value of transport column. Would that work ? -- You are receiving this mail because: You are watching all bug changes.