[Koha-bugs] [Bug 31142] Don't generate object for depth > 1
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Aug 15 14:42:23 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31142
--- Comment #3 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jonathan Druart from comment #0)
> We shouldn't need to generate objects the is more than one level deep in the
> structure.
> For instance if we generate a patron, then the library, we certainly don't
> need to generate the SMTP server.
I am not sure if this is always true.
Even in our tests we may generate objects in the assumption that the underlying
object is created too, be it on level 1 or deeper.
If the object is optional, I would assume that I can set the FK to NULL and not
create that object on the next level.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list