Open GarrettArm opened 6 years ago
@GarrettArm From the Introduction we have that this module provides a "... Drush command to ingest compound objects." The inclusion of batch.form.inc was partial work from initial development. Sorry to have mislead you. If someone is able to get the batch GUI working like for other content models, a pull-request would be most welcome. Thanks!
I've added a GUI batch ingest feature to a new solution pack I'm working on and would like to point out the salient bits that make it work. They might be applicable to creating a GUI for this batch module.
I'm going to add some code to clean up the uploaded zip file and temporary extracted content directory soon.
I can help with this, or, if you want, take an initial stab at it.
Fatal error: Class 'IslandoraCompoundBatch' not found in /opt/mounts/drupal/ldl/sites/all/modules/islandora_compound_batch/includes/batch.form.inc on line 75
$preprocessor = new IslandoraCompoundBatch($connection, $parameters);
The class IslandoraCompoundBatch is not defined. I'm seeing the previous commit of this line was: $preprocessor = new IslandoraNewspaperBatch($connection, $parameters); which referenced islandora_compound_batch.inc: class IslandoraNewspaperBatch extends IslandoraScanBatch .....
The file islandora_compound_batch.inc was removed in later commits. Along with it, the class IslandoraNewspaperBatch (or IslandoraCompoundBatch) was eliminated.
The GUI won't work until there is an IslandoraCompoundBatch class defined.
Any advice on your reasoning before I try to craft my own IslandoraCompoundBatch class?