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

Allow NoILS to validate in installer without further configuration. #4285

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

EreMaijala
Copy link
Contributor

No description provided.

@EreMaijala EreMaijala requested a review from demiankatz March 10, 2025 07:33
Copy link
Member

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we may need a different approach here, but apologies if I'm misunderstanding/overlooking something!

@@ -580,7 +581,8 @@ protected function checkILS()
$status = false;
} else {
try {
$status = 'ils-offline' !== $this->getILS()->getOfflineMode(true);
$status = 'ils-offline' !== $this->getILS()->getOfflineMode(true)
|| ($this->getILS()->getDriver() instanceof NoILS);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it might be better to read the setting from config.ini instead of fetching the driver object. Otherwise, if NoILS failover is enabled and the primary driver is having problems, this will suppress warnings about the issue.

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.

2 participants