Skip to content

Commit fcc8bf0

Browse files
committed
Mark dispatch action as deprecated due to grails-gsp#551
1 parent 0ab0d9b commit fcc8bf0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

grails-web-url-mappings/src/main/groovy/org/grails/web/mapping/DefaultUrlMappingInfo.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,13 @@ public String getId() {
212212
return evaluateNameForValue(id);
213213
}
214214

215+
/**
216+
* @deprecated
217+
* This method will be removed in a future grails version since the associated g:submitAction is being removed.
218+
* Grails will no longer support redirecting to a different action name by adding a parameter with the prefix
219+
* '_action'
220+
*/
221+
@Deprecated(since = "7.0.0")
215222
private String checkDispatchAction(HttpServletRequest request) {
216223
if (request.getAttribute(WebUtils.EXCEPTION_ATTRIBUTE) != null || WebUtils.isForwardOrInclude(request)) {
217224
return null;

0 commit comments

Comments
 (0)