If you don't call require_login() on a Moodle 2 page, you get a warning saying that the page's context hasn't been set. I always understood that part of the intention of this was to make sure that you do call require_login() for security, or that you ensure you set the context manually if you don't need the page behind login[1].
However, it was just pointed out to me that even though an error message is displayed, so is the page's content. Should this not display as a coding error that stops the page being displyed until it's fixed, especially if there are security implications?