Skip to content
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

[presentation] Uncaught TypeError: fulltextData is undefined #33

Open
csidirop opened this issue Nov 8, 2022 · 2 comments
Open

[presentation] Uncaught TypeError: fulltextData is undefined #33

csidirop opened this issue Nov 8, 2022 · 2 comments
Assignees
Labels
bug Something isn't working presentation Issue concerns Kitodo.Presentation TODO

Comments

@csidirop
Copy link
Member

csidirop commented Nov 8, 2022

This METS-file leads to following error:

Quellübergreifende (Cross-Origin) Anfrage blockiert: Die Gleiche-Quelle-Regel verbietet das Lesen der externen Ressource auf https://digital.blb-karlsruhe.de/download/fulltext/alto3/6911877. (Grund: CORS-Kopfzeile 'Access-Control-Allow-Origin' fehlt). Statuscode: 200.
Uncaught TypeError: fulltextData is undefined   
    displayHighlightWord http://localhost/typo3temp/assets/compressed/merged-24a89e8c0b8a706addda4d3b36e29407.js?1667895749:4739   
    init http://localhost/typo3temp/assets/compressed/merged-24a89e8c0b8a706addda4d3b36e29407.js?1667895749:4811   
    i http://localhost/typo3temp/assets/compressed/merged-0dc22ab655cb5add6553fcbba02c533b.js?1667894514:3   
    c http://localhost/typo3temp/assets/compressed/merged-0dc22ab655cb5add6553fcbba02c533b.js?1667894514:3   
    fireWith http://localhost/typo3temp/assets/compressed/merged-0dc22ab655cb5add6553fcbba02c533b.js?1667894514:3   
    t[0] http://localhost/typo3temp/assets/compressed/merged-0dc22ab655cb5add6553fcbba02c533b.js?1667894514:3   
    resolveCallback http://localhost/typo3temp/assets/compressed/merged-24a89e8c0b8a706addda4d3b36e29407.js?1667895749:4864  
    i http://localhost/typo3temp/assets/compressed/merged-0dc22ab655cb5add6553fcbba02c533b.js?1667894514:3   
    initLayer http://localhost/typo3temp/assets/compressed/merged-24a89e8c0b8a706addda4d3b36e29407.js?1667895749:4869   
    c http://localhost/typo3temp/assets/compressed/merged-0dc22ab655cb5add6553fcbba02c533b.js?1667894514:3   
    fireWith http://localhost/typo3temp/assets/compressed/merged-0dc22ab655cb5add6553fcbba02c533b.js?1667894514:3   
    t[0] http://localhost/typo3temp/assets/compressed/merged-0dc22ab655cb5add6553fcbba02c533b.js?1667894514:3   
    finishLoading http://localhost/typo3temp/assets/compressed/merged-24a89e8c0b8a706addda4d3b36e29407.js?1667895749:698   
    fetchImageData http://localhost/typo3temp/assets/compressed/merged-24a89e8c0b8a706addda4d3b36e29407.js?1667895749:726   
    c http://localhost/typo3temp/assets/compressed/merged-0dc22ab655cb5add6553fcbba02c533b.js?1667894514:3   
    fireWith http://localhost/typo3temp/assets/compressed/merged-0dc22ab655cb5add6553fcbba02c533b.js?1667894514:3   
    t[0] http://localhost/typo3temp/assets/compressed/merged-0dc22ab655cb5add6553fcbba02c533b.js?1667894514:3   
    onload http://localhost/typo3temp/assets/compressed/merged-24a89e8c0b8a706addda4d3b36e29407.js?1667895749:759   
[merged-24a89e8c0b8a7](http://localhost/typo3temp/assets/compressed/merged-24a89e8c0b8a706addda4d3b36e29407.js?1667895749)   

Which leads to presentaion being able to show the document but the fulltexts.

@csidirop csidirop added bug Something isn't working TODO presentation Issue concerns Kitodo.Presentation labels Nov 8, 2022
@csidirop csidirop self-assigned this Nov 8, 2022
@csidirop
Copy link
Member Author

csidirop commented Nov 8, 2022

CORS header 'Access-Control-Allow-Origin' missing could mean that the ALTOs are not accessible from this domain but they are: https://digital.blb-karlsruhe.de/download/fulltext/alto3/6911877

@csidirop
Copy link
Member Author

csidirop commented Nov 8, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working presentation Issue concerns Kitodo.Presentation TODO
Projects
Status: 🔖 Ready
Development

No branches or pull requests

1 participant