NAS-141135 / 27.0.0-BETA.1 / Fix `pool.snapshottask.run` after type-safe model conversion (by creatorcary) (#18996)
#18015 made `CRUDService.get_instance()` return a Pydantic model
(`PeriodicSnapshotTaskEntry`) instead of a plain `dict`, and converted
the callers to attribute access. The `pool.snapshottask.run` method was
missed, so it still used dict subscripting and raised `TypeError` on
every call:
```
File "middlewared/plugins/snapshot.py", line 292, in run
if not task["enabled"]:
TypeError: 'PeriodicSnapshotTaskEntry' object is not subscriptable
```
Original PR: https://github.com/truenas/middleware/pull/18994
Co-authored-by: Logan Cary <logan.cary at ixsystems.com>
games/star_traders: Update 7.20 => 7.21
Version 7.21 (17th May, 2026)
-----------------------------
Added SPDX__ licence identifiers to all source code files.
__ https://spdx.dev/
Minor bug fix for the manual page: removed the invocation to the
undefined "mR" font. Updated all documentation to use HTTPS instead of
the insecure Git and obsolete FTP protocols.
Updated to GNU Gettext 0.22 or later. Updated to the latest snapshot of
the Gnulib GNU Portability Library, including changes to make Star
Traders work with Gnulib’s new Python-based ``gnulib-tool``. Modified
the configuration code to work with Autoconf 2.73 and later.
Extensively tested this release with many Linux distributions and
[8 lines not shown]
[flang][FIR] Make fir.type a valid memref element type (#199236)
Implement `MemRefElementTypeInterface` on `fir::RecordType` so that
`memref<!fir.type<…>>` verifies, enabling downstream passes to use
memrefs of Fortran derived types.
lib/libc/gen/fts.3: use 'options' consistently in fts_set() description
The RETURN VALUES section used "instr" to describe the fts_set()
argument, while the SYNOPSIS and all other references use "options".
Fix the inconsistency.
MFC after: 1 week
Sponsored by: Google LLC (GSoC 2026)
Reviewed by: asomers
Pull Request: https://github.com/freebsd/freebsd-src/pull/2213
NAS-141135 / 26.0.0-BETA.2 / Fix `pool.snapshottask.run` after type-safe model conversion (by creatorcary) (#18995)
#18015 made `CRUDService.get_instance()` return a Pydantic model
(`PeriodicSnapshotTaskEntry`) instead of a plain `dict`, and converted
the callers to attribute access. The `pool.snapshottask.run` method was
missed, so it still used dict subscripting and raised `TypeError` on
every call:
```
File "middlewared/plugins/snapshot.py", line 292, in run
if not task["enabled"]:
TypeError: 'PeriodicSnapshotTaskEntry' object is not subscriptable
```
Original PR: https://github.com/truenas/middleware/pull/18994
---------
Co-authored-by: Logan Cary <logan.cary at ixsystems.com>
NAS-141135 / 26.0.0-RC.1 / Fix `pool.snapshottask.run` after type-safe model conversion (#18994)
#18015 made `CRUDService.get_instance()` return a Pydantic model
(`PeriodicSnapshotTaskEntry`) instead of a plain `dict`, and converted
the callers to attribute access. The `pool.snapshottask.run` method was
missed, so it still used dict subscripting and raised `TypeError` on
every call:
```
File "middlewared/plugins/snapshot.py", line 292, in run
if not task["enabled"]:
TypeError: 'PeriodicSnapshotTaskEntry' object is not subscriptable
```