# HG changeset patch # User Alain Mazy # Date 1795795372 -3600 # Node ID f36647d66fea6cff8783886d0bf4301eb7e08d11 # Parent c59121419559fc5fd2819b528a6003d1dc79f619 It is now allowed to use MaximumStorageSize != 0 with PatientLevelEnabled = true diff -r c59121419559 -r f36647d66fea NEWS --- a/NEWS Fri Nov 27 13:52:05 2026 +0100 +++ b/NEWS Fri Nov 27 17:02:52 2026 +0100 @@ -1,6 +1,11 @@ Pending changes in the mainline =============================== +General +------- + +* It is now allowed to use `MaximumStorageSize != 0` with `PatientLevelEnabled = true`. + Version 1.13.1 (2026-11-17) =========================== diff -r c59121419559 -r f36647d66fea OrthancServer/Sources/main.cpp --- a/OrthancServer/Sources/main.cpp Fri Nov 27 13:52:05 2026 +0100 +++ b/OrthancServer/Sources/main.cpp Fri Nov 27 17:02:52 2026 +0100 @@ -1843,9 +1843,9 @@ unsigned int maximumPatientCount = lock.GetConfiguration().GetMaximumPatientCount(); unsigned int maximumStorageSize = lock.GetConfiguration().GetMaximumStorageSize(); - if (!context.IsPatientLevelEnabled() && (maximumPatientCount != 0 || maximumStorageSize != 0)) + if (!context.IsPatientLevelEnabled() && (maximumPatientCount != 0)) { - LOG(ERROR) << "Can not set MaximumPatientCount or MaximumStorageSize when PatientLevelEnabled is set to false since these options require patient recycling."; + LOG(ERROR) << "Can not set MaximumPatientCount when PatientLevelEnabled is set to false."; return false; }