ruedacal / razor-mediator-4-tridion

Automatically exported from code.google.com/p/razor-mediator-4-tridion
0 stars 0 forks source link

Imported Razor TBB's not up-to-date #17

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a Razor Template that's imported from the contentManager.config
2. Have that template @importRazor another template
3. Render some stuff using the @importRazor imported template.
4. Change the @importRazor imported template.
5. Render some stuff using the @importRazor imported template again.
6. See that the changes haven taken into account when rendering

What is the expected output? What do you see instead?
The changes should immediately be visible in the output.

What version of the product are you using? On what operating system?
2013 SP1, latest Razor mediator

Original issue reported on code.google.com by maarten....@amplexor.com on 25 Mar 2014 at 8:57

GoogleCodeExporter commented 8 years ago
It appears the publisher caches the Component Template. So when saving and 
checking-in the component's RT, the changes are taken into account.

Original comment by maarten....@amplexor.com on 25 Mar 2014 at 9:02

GoogleCodeExporter commented 8 years ago
Indeed - the cache is only dirtied if a change in the template is seen, not the 
TBB. A workaround is to make a trivial change in the template.

Original comment by dominic....@indivirtual.com on 18 Jun 2014 at 11:34