Fixed
Project:
E-Arkiv
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 Nov 2026 at 19:06 UTC
Updated:
11 Nov 2026 at 07:35 UTC
Jump to comment: Most recent
The status report never shows the E-Arkiv requirements, so a site without httrack gets no warning until an archive job fails.
Hooks::requirements() reads the settings archiver and storage from earkiv.settings, but they are called default_archiver_plugin and default_storage_plugin. No plugin requirements are ever checked, and earkiv_requirements('runtime') returns an empty array.HTTrackArchiver::requirements() checks str_contains($return, 'command not found'), but shell_exec() returns NULL when the command is missing, because the message goes to stderr. The check is then FALSE and no error is reported.Hooks::create(). It passes language_manager where the constructor expects the config factory. This is not hit today because the class is autowired as a service, but it fails as soon as create() is used.httrack and select the HTTrack archiver.drush php:eval 'print_r(earkiv_requirements("runtime"));'.default_archiver_plugin and default_storage_plugin in Hooks::requirements().shell_exec() as a missing command for httrack, tar and gzip alike.config.factory in Hooks::create().The deprecated REQUIREMENT_* constants are left as they are; they are replaced in #3597448.
The status report shows the HTTrack, tar, gzip and private file system requirements of the selected plugins.
None.
None.
AI-Generated: Yes (Used Claude Code to find the bugs, draft this issue and write the merge request.)
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
thomas alsén commentedMerged into 1.0.x!