Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Jamf Plugin for GLPI Changelog

## [UNRELEASED]

### Fixed

- Fix failed to open stream: No such file or directory (`jamf/tools/pmv.json`)

## [3.2.0] - 2026-04-23
Comment thread
Rom1-B marked this conversation as resolved.

### Added
Expand Down
4 changes: 1 addition & 3 deletions inc/migration.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -618,9 +618,7 @@ public function apply_3_0_0_migration(): void
// Copy default pmv from tools dir
$pmv_file_path = GLPI_PLUGIN_DOC_DIR . '/jamf/pmv.json';
if (!file_exists($pmv_file_path)) {
Toolbox::logDebug($pmv_file_path);
Toolbox::logDebug(Plugin::getPhpDir('jamf') . '/tools/pmv.json');
copy(Plugin::getPhpDir('jamf') . '/tools/pmv.json', $pmv_file_path);
copy(Plugin::getPhpDir('jamf') . '/resources/pmv.json', $pmv_file_path);
}

// Register Cron task to update PMV periodically
Expand Down
File renamed without changes.