'context' may not contain 'view' variable