LPS-38455 Prevent NPE when updating portlet preferences if layout does not have a revision
LPS-38400 Before we render the edit_article view to add a new JournalArticle from Structure, we need to set groupId of the article in the backend (ActionUtill)

This way we ensure that the new article will be created under the current scope Group, even if the structure comes from the Global scope.