From 0b32e2dff353ceb9bc463787c5897ecae7302ab7 Mon Sep 17 00:00:00 2001 From: Chris Carter Date: Tue, 20 Sep 2016 10:42:26 +0100 Subject: Show an "unmatched constraints" error for mismatching and present params Currently a misleading "missing required keys" error is thrown when a param fails to match the constraints of a particular route. This commit ensures that these params are recognised as unmatching rather than missing. Note: this means that a different error message will be provided between optimized and non-optimized path helpers, due to the fact that the former does not check constraints when matching routes. Fixes #26470. --- actionpack/CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'actionpack/CHANGELOG.md') diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index e7b8e1b628..5ffbc2ea5d 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,3 +1,10 @@ +* Show an "unmatched constraints" error when params fail to match constraints + on a matched route, rather than a "missing keys" error. + + Fixes #26470. + + *Chris Carter* + * Fix adding implicitly rendered template digests to ETags. Fixes a case when modifying an implicitly rendered template for a -- cgit v1.2.3