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

PHP notice Undefined index: rel in Flysystem/Adapter/FedoraAdapter.php #1870

Open
kayakr opened this issue Jul 13, 2021 · 1 comment · May be fixed by Islandora/islandora#849
Open

PHP notice Undefined index: rel in Flysystem/Adapter/FedoraAdapter.php #1870

kayakr opened this issue Jul 13, 2021 · 1 comment · May be fixed by Islandora/islandora#849
Labels
Subject: Fedora Related specifically to Fedora, usually should point somewhere to the Fedora project. Type: bug identifies a problem in the software with clear steps to reproduce

Comments

@kayakr
Copy link
Contributor

kayakr commented Jul 13, 2021

In system based on isle-dc I see numerous PHP notices from Islandora Notice: Undefined index: rel in Drupal\islandora\Flysystem\Adapter\FedoraAdapter->getMetadataFromHeaders() (line 155 of modules/contrib/islandora/src/Flysystem/Adapter/FedoraAdapter.php).
https://github.com/Islandora/islandora/blob/8.x-1.x/src/Flysystem/Adapter/FedoraAdapter.php#L155 assumes rel attribute to exist.

@dannylamb
Copy link
Contributor

Seeing this over at Born-Digital now that we're on the Fcrepo 6.0.0. Should be a very simple fix.

@kstapelfeldt kstapelfeldt added Subject: Fedora Related specifically to Fedora, usually should point somewhere to the Fedora project. Type: bug identifies a problem in the software with clear steps to reproduce and removed bug labels Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Subject: Fedora Related specifically to Fedora, usually should point somewhere to the Fedora project. Type: bug identifies a problem in the software with clear steps to reproduce
Projects
Development

Successfully merging a pull request may close this issue.

3 participants