Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG Redisplay CMS forms with validation errors
Guess the fragment based on the returned HTML. The validation error HTTP response is generated by Form rather than the controller (LeftAndMain), so we can't set custom PJAX headers easily.
- Loading branch information
3156e75
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible that this change causes problems with the Navigation in the CMS?
See this Forum Post for a detailed description and screenshots of the problem: http://www.silverstripe.org/customising-the-cms/show/20470
3156e75
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could well be. It's the cause of http://open.silverstripe.org/ticket/7702 which looks similar
I'm working on a fix now.
3156e75
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, that was damn fast!
Jep, seems to bee the same!
I tried with git bisect to locate the correct revision and this is the first one with the Bug.
3156e75
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool. There's a fix in branches/3.0 and branches/3.0.1 now - let me know if that doesn't fix your issue.