diff --git a/.CollectionClass.inc.swp b/.CollectionClass.inc.swp index be96c584..4672c0ca 100644 Binary files a/.CollectionClass.inc.swp and b/.CollectionClass.inc.swp differ diff --git a/CollectionClass.inc b/CollectionClass.inc index 7f191c80..964cd457 100644 --- a/CollectionClass.inc +++ b/CollectionClass.inc @@ -753,10 +753,11 @@ function collection_creation_form_validate($form, &$form_state) { function collection_creation_form_submit($form, &$form_state) { global $user; module_load_include('inc', 'fedora_repository', 'api/fedora_item'); + module_load_include('inc', 'fedora_repository', 'api/dublin_core'); $module_path = drupal_get_path('module', 'fedora_repository'); $thumbnail = drupal_get_path('module', 'Fedora_Repository') . '/images/Crystal_Clear_filesystem_folder_grey.png'; $collection_pid = $form_state['values']['collection_pid']; - $collection_name = $form_state['values']['collection_name']; + $new_collection_label = $form_state['values']['collection_name']; $parent_collection = $form_state['values']['parent_collection']; $all_cModels = get_content_models_as_option_array(); $collection_policy = ' @@ -779,7 +780,7 @@ function collection_creation_form_submit($form, &$form_state) { $node->addAttribute('pid', $content_model); } } - $item = fedora_item::ingest_new_item($collection_pid, 'A', $new_collections_label, $user->name); + $item = fedora_item::ingest_new_item($collection_pid, 'A', $new_collection_label, $user->name); $item->add_relationship('isMemberOfCollection', $parent_collection, RELS_EXT_URI); $item->add_relationship('hasModel', 'islandora:collectionCModel', FEDORA_MODEL_URI); $item->add_datastream_from_string($collection_policy_xml->saveXML(), 'COLLECTION_POLICY'); diff --git a/fedora_repository.info b/fedora_repository.info index 1f31d60c..7e808460 100644 --- a/fedora_repository.info +++ b/fedora_repository.info @@ -4,5 +4,5 @@ dependencies[] = imageapi dependencies[] = tabs description = Shows a list of items in a fedora collection. package = Islandora -version = 6.1 +version = 11.2.beta1 core = 6.x diff --git a/plugins/fedora_imageapi.info b/plugins/fedora_imageapi.info index 76f8688a..e54e3f05 100644 --- a/plugins/fedora_imageapi.info +++ b/plugins/fedora_imageapi.info @@ -1,7 +1,7 @@ name = Fedora ImageAPI description = Adds image manipulation support through a REST interface -package = Islandora +package = Islandora Dependencies dependencies[] = fedora_repository dependencies[] = imageapi -version = 6.1 +version = 11.2.beta1 core = 6.x