- Issue created by @tstoeckler
- @tstoeckler opened merge request.
- π©πͺGermany tstoeckler Essen, Germany
See #3541994: Fix CI β for the CI failures.
- First commit to issue fork.
\Drupal\l10n_server\ConnectorParseHandlerInterface::parseHandler()
documents FALSE
as a valid return value.
\Drupal\l10n_server\Form\ConnectorBatchConfirmParseForm::batchOperation()
, however, does not account for this and unconditionally calls a method on the return value.
If the setup is such that the parser will return FALSE
(for example if \Drupal\l10n_server\Entity\Storage\L10nServerReleaseStorage::getIdsToRefresh()
returns an empty set) attempt to initiate a batch parsing job from the UI. This will lead to an exception.
Account for the return value being FALSE
.
-
-
-
Needs review
3.0
User interface
See #3541994: Fix CI β for the CI failures.