forked from DSpace/DSpace
-
Notifications
You must be signed in to change notification settings - Fork 21
Labels
fixed in DSpace/DSpaceissue was fixed upstreamsissue was fixed upstreamsupstream issuethis is an issue in DSpace/DSpace trackerthis is an issue in DSpace/DSpace tracker
Description
curl --no-progress-meter "https://lindat.mff.cuni.cz/repository/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai:lindat.mff.cuni.cz:20.500.12801/3901488-03" | xmllint --format -
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="static/style.xsl"?>
<OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd">
<responseDate>2025-08-04T14:24:17Z</responseDate>
<request verb="GetRecord" identifier="oai:lindat.mff.cuni.cz:20.500.12801/3901488-03" metadataPrefix="dim">https://lindat.mff.cuni.cz/repository/server/oai/request</request>
<GetRecord>
<record>
<header>
<identifier>oai:lindat.mff.cuni.cz:20.500.12801/3901488-03</identifier>
<datestamp>2025-06-24T19:43:00Z</datestamp>
<setSpec>com_20.500.12801_1</setSpec>
<setSpec>com_20.500.12800_1</setSpec>
<setSpec>col_20.500.12801_3</setSpec>
</header>
<metadata>
<dim:dim xmlns:dim="http://www.dspace.org/xmlns/dspace/dim" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:doc="http://www.lyncode.com/xoai" xsi:schemaLocation="http://www.dspace.org/xmlns/dspace/dim http://www.dspace.org/schema/dim.xsd"><dim:field mdschema="dc" element="contributor" qualifier="author">Veselý, Bohumil</dim:field><dim:field mdschema="dc" element="date" qualifier="accessioned">2021-10-18T20:39:15Z</dim:field><dim:field mdschema="dc" element="date" qualifier="available">2021-10-18T20:39:15Z</dim:field><dim:field mdschema="dc" element="date" qualifier="issued" lang="*">0000</dim:field><dim:field mdschema="dc" element="identifier" qualifier="other">3901488-03</dim:field><dim:field mdschema="dc" element="identifier" qualifier="uri">http://hdl.handle.net/20.500.12801/3901488-03</dim:field><dim:field mdschema="dc" element="description">Librarian Bohumír Lifka on Bohumil Veselý's balcony.</dim:field><dim:field mdschema="dc" element="language" qualifier="iso">zxx</dim:field><dim:field mdschema="dc" element="publisher">Národní filmový archiv</dim:field><dim:field mdschema="dc" element="rights" lang="*">Creative Commons - Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0)</dim:field><dim:field mdschema="dc" element="rights" qualifier="uri" lang="*">http://creativecommons.org/licenses/by-nc-nd/4.0/</dim:field><dim:field mdschema="dc" element="rights" qualifier="label" lang="*">PUB</dim:field><dim:field mdschema="dc" element="subject">klobouk smeknutí</dim:field><dim:field mdschema="dc" element="subject">Galerie osobností</dim:field><dim:field mdschema="dc" element="subject">Places::Praha::Nové Město::Školská::pavlač Bohumila Veselého</dim:field><dim:field mdschema="dc" element="subject">People::Lifka Bohumír (1900-1987)</dim:field><dim:field mdschema="dc" element="title">Bohumír Lifka (librarian)</dim:field><dim:field mdschema="dc" element="type">clip</dim:field><dim:field mdschema="local" element="approximateDate" qualifier="issued">cca 1930-1965</dim:field><dim:field mdschema="local" element="contact" qualifier="person">Technical;Contact;lindat@nfa.cz;Národní filmový archiv</dim:field><dim:field mdschema="local" element="has" qualifier="files" lang="*">yes</dim:field><dim:field mdschema="local" element="branding">NFA</dim:field><dim:field mdschema="local" element="refbox" qualifier="format">{title}, {publisher}, {repository}, {pid}.</dim:field><dim:field mdschema="local" element="language" qualifier="name">Nolinguistic content</dim:field><dim:field mdschema="local" element="files" qualifier="size" lang="*">241650171</dim:field><dim:field mdschema="local" element="files" qualifier="count" lang="*">2</dim:field><dim:field mdschema="metashare" element="ResourceInfo#ContentInfo" qualifier="mediaType">video</dim:field>restricted</dim:dim>
</metadata>
</record>
</GetRecord>
</OAI-PMH>
especially:
qualifier="mediaType">video</dim:field>restricted</dim:dim>
This actually seem to be two issues:
1. for some reason the xoai metadataFormat (the source for the xslt transformations) has:
<element name="access-status">
<field name="value">restricted</field>
</element>
restricted doesn't feel right for this item; the collections this is in, has Anonymous in the DEFAULT READ group, but also other groups:
(investigate from:
Line 55 in f882077
| accessStatusType = accessStatusService.getAccessStatus(context, item); |
2. the apply-templates in dim xslt
(
| <xsl:apply-templates select="//doc:field[@name='value']"/> |
dim:dim (this seems similar to what was happening in DSpace#6556)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
fixed in DSpace/DSpaceissue was fixed upstreamsissue was fixed upstreamsupstream issuethis is an issue in DSpace/DSpace trackerthis is an issue in DSpace/DSpace tracker