Add field of content type in Article:field_test
Add four articles for test:

1.This is a test article 1 for the field_test = one
2.This is a test article 2 for the field_test = one
3.This is a test article 3 for the field_test = two
4.This is a test article 4 for the field_test = two

1 and 2 of field_test = one
3 and 4 of field_test = two

Add view info:
Title: Test View
Path: /test/%
Show in Format: Fields
Filter criteria: Content: Test Field (= [current-page:url:args:last])
Contextual filters: Global: Null = Provide default value = Content ID from URL
Caching: None

Install Module: views_tokenized

Access URL: http://www.abc.com/test/one , Page print articles:
This is a test article 1 for the field_test = one
This is a test article 2 for the field_test = one

Access URL: http://www.abc.com/test/two , Page print articles:
This is a test article 3 for the field_test = two
This is a test article 4 for the field_test = two

The above steps is correct, Now to speak the error:
When i install modules: views_tokenized and Mustache Logic-less Views
Filter criteria: Content: Test Field (= [current-page:url:args:last]) or (= {{current-page.url.args.last}})
When i access url "/test/one" in first, page print "...field_test = one" of two articles,
But when i access url "/test/two" in second, page still print "...field_test = one" of two articles, not are "...field_test = two",
Install module "Mustache Logic-less Views" makes "views_tokenized" cache error.

When i install modules: only "Mustache Logic-less Views", There is no "views_tokenized".
Filter criteria: Content: Test Field (= [current-page:url:args:last]) or (= {{current-page.url.args.last}})
The same like above error.

Conclusion: "Mustache Logic-less Views" module use token in view, the cache is not correct. At the same time it makes module "views_tokenized" cache not correct.

1
2

CommentFileSizeAuthor
7.png50.66 KBmsn5158
4.png131.49 KBmsn5158

Comments

msn5158 created an issue. See original summary.

mxh’s picture

Project: Views Tokenized » Mustache Logic-less Templates
Version: 1.0.0-rc1 » 2.0.x-dev

Thanks for the bug report. By reading your summary, it seems that it's a problem with the mustache_views module, not with views_tokenized, right? Moving the issue accordingly.

mxh’s picture

Title: Module "Mustache Logic-less Views" makes "views_tokenized" cache failure in view » Cache problem when token data is being used

This is a general problem

  • mxh committed cddd8485 on 2.0.x
    Issue #3337372 by msn5158, mxh: Cache problem when token data is being...
mxh’s picture

Status: Active » Fixed

This is supposed to be fixed with the next release of this module (v2.2.2). If not, feel free to re-open this.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.