Bug 18577

Summary: Importing a batch using a framework not fully set up causes and endless loop
Product: Koha Reporter: Bob Ewart <bob-ewart>
Component: MARC Bibliographic record staging/importAssignee: Nick Clemens <nick>
Status: Signed Off --- QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: bob-ewart, jonathan.druart, nick
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Change sponsored?: --- Patch complexity: Trivial patch
Bot Control: --- When did the bot last check this:
Who signed the patch off: Text to go in the release notes:
Attachments: Bug 18577 - Importing a batch using a framework not fully set up causes and endless loop
Bug 18577 - Importing a batch using a framework not fully set up causes and endless loop

Description Bob Ewart 2017-05-11 03:28:59 UTC
Importing a batch using a framework code that is defined but not set up causes the import to go into an endless loop.

Create a new framework code but don't set what it is based on.  
Then import a batch using that framework.
Comment 1 Nick Clemens 2017-06-23 14:14:36 UTC
Created attachment 64597 [details] [review]
Bug 18577 - Importing a batch using a framework not fully set up causes and endless loop

To test:
1 - Create a new framework - don't set it up
2 - Stage some records for import
3 - Manage the import, note your new framwork is in the list
4 - Apply patch
5 - Reload the page
6 - Note the framework is no longer an option
Comment 2 Alex Buckley 2017-06-25 14:39:32 UTC
Created attachment 64615 [details] [review]
Bug 18577 - Importing a batch using a framework not fully set up causes and endless loop

To test:
1 - Create a new framework - don't set it up
2 - Stage some records for import
3 - Manage the import, note your new framwork is in the list
4 - Apply patch
5 - Reload the page
6 - Note the framework is no longer an option

Followed test plan,  worked as intended
Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz>