fixes #1898
Merge pull request #1904 from dotCMS/issue-1898-remote-publishing-workflow-fails-from-browser-view

fixes #1898