Checking environment for view promotion. Fixes #2089
Merge pull request #2136 from daviddavis/temp_1367412898

Checking environment for view promotion. Fixes #2089