Skip to content
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

EWPP-1362: Reorganise publication date extra field class. #933

Merged
merged 1 commit into from
Aug 31, 2021

Conversation

nagyad
Copy link
Member

@nagyad nagyad commented Aug 31, 2021

No description provided.

Copy link
Member

@ademarco ademarco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new extra_field_oe_theme_content_news_date field is missing from the hidden section on ./modules/oe_theme_content_news/config/install/core.entity_view_display.node.oe_news.teaser.yml. It should be enough to re-export it.

@@ -65,14 +70,20 @@ content:
third_party_settings: { }
hidden:
body: true
extra_field_oe_theme_content_news_date: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need also update teaser in update path?

Also I'm not sure that we need

  $display = $storage->createFromStorageRecord($display_values);
  $display->save();

in oe_theme_content_news_post_update_00009 because teaser and full displays should be there and if they were removed it was done intentionally. Looks like it is just copy paste from oe_theme_content_news_post_update_00003.

@yenyasinn yenyasinn merged commit f06d3f7 into EPIC-EWPP-1360-News-v3 Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants