Hi,
There is a problem with Views when trying to display the same type of content but in different type of views.

Example:
1- Create a content type
2- Create content for it
3- Create a view as a block for the content type (FILTER CRITERIA Content: Type (= news))
4- Add the block in a block layout like Content and restrict it to a page like
5- Create a new view as a page for the same content type (FILTER CRITERIA Content: Type (= news))
6- Edit the design of the view block to show something different using the theme hoock file name suggestions (something like node--news-front.twig)
7- Clear cache
8- Open the page where the block is displayed
9- Then go to the view page we created for the content type

10-Clear cache and reverse step 8 and 9 so you start with the page and end with the block

What happens is that it seems that the File Output doesn't refresh on each page for the same content type and so it will keep the same format from the block to the page, and vice-versa, even if the file name isn't made for the page (like going from the front page to a view page will keep the front template on). The main THEME HOOK that I am looking at is NODE.

Thanks,
Sebastien Morais

P.S I am new to the Drupal environment (4 months only), if I have made a mistake sorry. Also sorry for my bad english.

Comments

keldus created an issue. See original summary.

snehi’s picture

Issue summary: View changes
Lendude’s picture

Priority: Major » Normal
Status: Needs work » Postponed (maintainer needs more info)
Issue tags: -views

node--news-front.twig

That's a node template override and not a view template override right? So was your node type called news-front or something? So do you mean that the non-overridden node layout was used on one view and the overriding layout was used on another view that was displaying the same nodes?

Sorry, just not quite sure where to look. If you can still reproduce the issue, maybe add some screenshots?

Version: 8.0.0-beta16 » 8.0.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.

pameeela’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
Issue tags: +Bug Smash Initiative

Thanks for reporting this issue. We rely on issue reports like this one to resolve bugs and improve Drupal core.

As part of the Bug Smash Initiative, we are triaging issues that are marked "Postponed (maintainer needs more info)".

Since there were no specific steps to reproduce the issue provided since the issue was postponed, I'm marking the issue "Closed (cannot reproduce)". If anyone can provide complete steps to reproduce the issue (starting from "Install Drupal core"), document those steps in the issue summary and set the issue status back to "Active".

Alternatively if you are seeking assistance with a problem that is not a bug, you can open a support request with the details.

Thanks!