-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OPENEUROPA-1798: Page header content is not reflecting changes made before node is published #215
Conversation
f8e03ed
to
53087b3
Compare
]; | ||
$node = $this->getNode(); | ||
if ($node->get('oe_summary')->isEmpty()) { | ||
return $metadata; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not correct. Below we are also adding the news
and publication date metas which do not have anything to do with the summary and would not be shown if the summary field is empty. So we cannot return early in this case.
$supported = [ | ||
'entity.node.canonical', | ||
'entity.node.latest', | ||
'entity.node.revision', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's missing the route: entity.node.latest_version
. This is what users see as part of the editorial workflow. And I wonder if entity.node.latest
actually exists anywhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep I think entity.node.latest
was a mistake of mine.
…ring functional tests.
… is covered by the base implementation.
…e view routes plugins.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks ok.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving on behalf of Hernani's last review, since he cannot approve his own PR.
OPENEUROPA-1798
Description
[Insert description here]
Change log
Commands