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

added check #1031

Merged
merged 5 commits into from
Jun 27, 2024
Merged

added check #1031

merged 5 commits into from
Jun 27, 2024

Conversation

ajstanley
Copy link

*Issue 1030: (link)

What does this Pull Request do?

If an Islandora installation does not use Fedora then viewing a media object will cause a fatal error

What's new?

A check for $fedora_root has been added to islandora_entity_view

How should this be tested?

Delete or comment out the flysystem config from settings.php, then try to view a media

Additional Notes:

Any additional information that you think would be helpful when reviewing this
PR.

Interested parties

@Islandora/committers

@adam-vessey
Copy link

Shouldn't the display not be defining field_gemini_uri, if Fedora's not in use? https://github.com/Islandora/islandora/pull/1031/files#diff-9f1c9d46d88dce55fa1d0ce1103dd4184b824342407a63c2397844703c09b78eR548

@aOelschlager aOelschlager requested a review from rosiel June 26, 2024 17:19
@rosiel
Copy link
Member

rosiel commented Jun 26, 2024

from Tech call:

  • We'll clean up this section of code... thanks @ajstanley and @adam-vessey
  • We'll also make a ticket for moving the "fedora stuff" to its own module

islandora.module Outdated Show resolved Hide resolved
@rosiel rosiel merged commit 0105343 into Islandora:2.x Jun 27, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants