David Tombs opened SPR-12759 and commented
The use of RedirectAttributes is documented in four places in the reference documentation:
- In its bullet in Supported method argument types
- In Specifying redirect and flash attributes
- In RedirectView
- In Using flash attributes
The problem is you have to read (and find) all four sections to fully understand how RedirectAttributes is used, and even what the default behavior is if ignoreDefaultModelOnRedirect is false.
I suggest improving the documentation to eliminate #2 (merging content into #3 and #4) and link to #3 and #4 from #1. This would have saved me about an hour of scratching my head yesterday!
I'm happy to do this myself and create a pull request if others agree.
Affects: 4.1.5
Referenced from: commits b0848db, 463878a
David Tombs opened SPR-12759 and commented
The use of
RedirectAttributesis documented in four places in the reference documentation:The problem is you have to read (and find) all four sections to fully understand how
RedirectAttributesis used, and even what the default behavior is ifignoreDefaultModelOnRedirectis false.I suggest improving the documentation to eliminate #2 (merging content into #3 and #4) and link to #3 and #4 from #1. This would have saved me about an hour of scratching my head yesterday!
I'm happy to do this myself and create a pull request if others agree.
Affects: 4.1.5
Referenced from: commits b0848db, 463878a