fix the warning
regression test added
Merge pull request #1378 from chennan47/feature/view_only_link_banner_fix

Feature/view only link banner fix