Skip to content

Commit

Permalink
Merge pull request #636 from albig/prepare-3.2.2
Browse files Browse the repository at this point in the history
Prepare Bugfix Release 3.2.2
  • Loading branch information
Alexander Bigga authored Jul 1, 2021
2 parents 354af41 + e1b4b3c commit 65b53f3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
6 changes: 4 additions & 2 deletions Classes/Plugin/OaiPmh.php
Original file line number Diff line number Diff line change
Expand Up @@ -1013,9 +1013,11 @@ protected function generateOutputForDocumentList(DocumentList $documentListSet)
$output->appendChild($header);
}
} else {
// Add sets.
// Add sets but only if oai_name field is not empty.
foreach (explode(' ', $resArray['collections']) as $spec) {
$header->appendChild($this->oai->createElementNS('http://www.openarchives.org/OAI/2.0/', 'setSpec', htmlspecialchars($spec, ENT_NOQUOTES, 'UTF-8')));
if ($spec) {
$header->appendChild($this->oai->createElementNS('http://www.openarchives.org/OAI/2.0/', 'setSpec', htmlspecialchars($spec, ENT_NOQUOTES, 'UTF-8')));
}
}
if ($verb === 'ListRecords') {
// Add record node.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Settings.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[general]
project = Kitodo.Presentation
release = 3.2.1
release = 3.2.2
copyright = since 2017 by Kitodo Release Management Team

[html_theme_options]
Expand Down
6 changes: 3 additions & 3 deletions class.ext_update.php
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,9 @@ protected function updateFormatClasses(): void
{
$oldRecords = $this->oldFormatClasses();
$newValues = [
'ALTO' => 'Kitodo\\\\Dlf\\\\Format\\\\Alto', // Those are effectively single backslashes
'MODS' => 'Kitodo\\\\Dlf\\\\Format\\\\Mods',
'TEIHDR' => 'Kitodo\\\\Dlf\\\\Format\\\\TeiHeader'
'ALTO' => 'Kitodo\\Dlf\\Format\\Alto', // Those are effectively single backslashes
'MODS' => 'Kitodo\\Dlf\\Format\\Mods',
'TEIHDR' => 'Kitodo\\Dlf\\Format\\TeiHeader'
];
$queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable('tx_dlf_formats');

Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
$EM_CONF[$_EXTKEY] = [
'title' => 'Kitodo.Presentation',
'description' => 'Base plugins, modules, services and API of the Digital Library Framework. It is part of the community-based Kitodo Digitization Suite.',
'version' => '3.2.1',
'version' => '3.2.2',
'category' => 'misc',
'constraints' => [
'depends' => [
Expand Down

0 comments on commit 65b53f3

Please sign in to comment.