-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Get METS url with newest presentation version #968
Comments
Btw.: I went back till 6074cdf from Mar. 2022 and the variable (and some more) is still empty. So maybe its since the Extbase/Fluid transition. |
As I have suspected, this issue appears after the Extbase/fluid transition ce36746 . I digged a bit deeper. Prior to v4.x the construct function of Document set the Then I realized that somehow I missed, that there is no |
Closed this, because while it is true, that |
- $uid and $location were moced to the new Document class - see kitodo#968 Signed-off-by: Christos Sidiropoulos <[email protected]>
Description
With presentation 3.3 there was a variable called
$uid
stored in aDocument
object. It holds the UID (solr indexed) or the URL (mets) of the document.Now with presentation 4.x the mentioned variable is empty for all METS files I've tested (around 30) or any solr indexed documents.
Is this on purpose or a bug? If on purpose, what would be the correct way to get the url?
Reproduction
Try any METS files and check if
$doc->uid
(for PageView) or$this->document->getDoc()
(PageViewController) is empty or not.Example: https://digital.slub-dresden.de/oai/?verb=GetRecord&metadataPrefix=mets&identifier=oai:de:slub-dresden:db:id-512520879
But you can try any of those too: https://github.com/UB-Mannheim/kitodo-presentation/wiki/METS-Examples
Environment
The text was updated successfully, but these errors were encountered: