[Koha-bugs] [Bug 18577] Importing a batch using a framework not fully set up causes and endless loop