nielash
0891ce3060
bisync: fix rc ignoring legacy backupdir1/2 and invalid values
...
Before this change, since v1.74.0 (bb78eb8ab ), the rc `sync/bisync` call
read the `backupdir1` and `backupdir2` parameters (the names used before
they were renamed to `backupDir1` and `backupDir2`) only when the new name
was also given with an invalid value, because the fallback sat inside an
`rc.NotErrParamNotFound(err)` check, which is true only for an invalid
value. Otherwise, `backupdir1` and `backupdir2` had no effect.
The same change made an invalid value for any optional parameter (for
example `"resync": "yes"`, or a `filtersFile` that isn't a string) be
treated as if the parameter were missing, instead of returning an error.
After this change, the old backup dir names are read when the new ones are
missing, and an invalid value returns an error again, as it did before
v1.74.0.
2026-10-14 15:42:18 -04:00
..
2026-09-09 10:24:48 +01:00
2026-07-31 16:56:33 +01:00
2026-10-13 12:17:17 +01:00
2026-04-02 16:32:54 +01:00
2026-04-02 16:32:54 +01:00
2026-10-08 14:15:46 +01:00
2026-10-08 16:51:58 +01:00
2026-10-08 10:53:05 +01:00
2026-09-05 17:53:08 +01:00
2026-07-31 16:56:33 +01:00
2026-04-13 16:45:00 +01:00
2026-10-14 15:42:18 -04:00
2026-07-31 16:56:33 +01:00
2025-07-21 20:23:16 +02:00
2026-07-31 16:56:33 +01:00
2026-10-09 12:06:35 +01:00
2026-04-02 16:32:54 +01:00
2026-04-02 16:32:54 +01:00
2026-04-02 16:32:54 +01:00
2026-04-02 16:32:54 +01:00
2025-08-26 12:04:00 +02:00
2026-08-27 17:28:04 +01:00
2025-11-01 15:52:41 +01:00
2026-10-14 09:36:13 +01:00
2026-04-02 16:32:54 +01:00
2026-10-07 12:16:42 +01:00
2026-09-21 12:26:31 +01:00
2026-07-31 16:56:33 +01:00
2026-10-08 17:16:24 +02:00
2026-07-31 16:56:33 +01:00
2026-10-13 12:17:17 +01:00
2026-04-02 16:32:54 +01:00
2026-04-02 16:32:54 +01:00
2026-05-01 15:56:56 +01:00
2026-05-01 15:56:56 +01:00
2026-10-05 17:39:34 +01:00
2026-07-02 11:21:21 +01:00
2026-07-31 16:56:33 +01:00
2026-10-13 12:17:17 +01:00
2026-04-02 16:32:54 +01:00
2026-07-31 16:56:33 +01:00
2026-07-31 16:56:33 +01:00
2026-09-21 14:09:21 +01:00
2026-04-02 16:32:54 +01:00
2026-04-02 16:32:54 +01:00
2026-04-02 16:32:54 +01:00
2026-10-08 22:49:33 +01:00
2026-09-03 12:06:27 +01:00
2026-07-31 16:56:33 +01:00
2026-07-31 16:56:33 +01:00
2026-09-21 12:26:31 +01:00
2023-11-28 19:10:04 +00:00
2026-04-02 16:32:54 +01:00
2026-07-31 16:56:33 +01:00
2026-05-14 10:53:04 +01:00
2023-09-11 12:28:23 +01:00
2026-04-02 16:32:54 +01:00
2025-07-21 20:23:16 +02:00
2026-07-31 16:56:33 +01:00
2026-10-02 15:44:25 +01:00
2026-07-31 16:56:33 +01:00
2026-07-31 16:56:33 +01:00
2026-04-02 16:32:54 +01:00
2026-04-02 16:32:54 +01:00
2026-10-13 12:17:17 +01:00
2026-04-02 16:32:54 +01:00
2026-04-21 21:06:49 +02:00
2026-04-02 16:32:54 +01:00
2026-05-01 15:56:56 +01:00
2026-04-02 16:32:54 +01:00
2026-07-31 16:56:33 +01:00
2025-10-14 16:24:07 +01:00
2026-07-31 16:56:33 +01:00
2026-04-02 16:32:54 +01:00
2026-04-02 16:32:54 +01:00
2026-04-02 16:32:54 +01:00
2026-10-14 09:38:25 +01:00
2026-10-08 22:49:33 +01:00
2026-06-28 23:53:05 +02:00
2026-10-13 12:17:17 +01:00
2026-07-31 16:56:33 +01:00
2026-10-13 12:17:17 +01:00
2026-04-02 16:32:54 +01:00
2026-04-02 16:32:54 +01:00
2026-08-27 17:59:08 +02:00
2026-04-02 16:32:54 +01:00
2026-09-10 16:57:15 +01:00
2026-08-27 17:59:08 +02:00
2026-04-02 16:32:54 +01:00
2026-09-05 17:53:08 +01:00
2026-01-30 17:08:44 +00:00
2026-04-02 16:32:54 +01:00
2026-04-02 16:32:54 +01:00
2026-10-13 12:17:17 +01:00
2026-09-08 16:40:17 +01:00
2026-07-31 16:56:33 +01:00