Stale Bugbot comment from a previous run.
| β¦ | β¦ | @@ -1,318 +1,558 @@ | |
| 147 | + | selected | |
| 148 | + | .filter((target) => target.prices !== null) | |
| 149 | + | .flatMap((target) => [...plans.get(target.environmentId)!.errors]), | |
| 150 | + | ); | |
Unwritable envs block valid price saves
Medium Severity
The save-blocking errors map keeps validation failures from every selected environment with loaded prices, including ones already marked unavailable (offline, read-only, old server). A single-field edit of an existing override then fails validation on those destinations because they still need a complete price to create one. Save stays disabled, and Apply to is frozen once drafts exist, so writable environments cannot receive the change without discarding and deselecting first.
Additional Locations (2)
Reviewed by Cursor Bugbot for commit 0d1c2ef4d8475dbadac7a383bbdef20020d425cf. Configure here.
Fixed in f3f881b61. Only writable destinations contribute save-blocking validation; unavailable destinations still receive their own Not saved result. Regression tests cover offline, read-only, and older servers without an existing override while another environment can accept a single-column edit. All 33 focused tests and web typecheck pass.