Latte cache invalidation bug

Notice: This thread is very old.
Pavel Janda
Member | 977
+
0
-

Latte config.neon section before:

latte:
	macros:
		- Somewhere\Utils\Macros

After a couple weeks we moved the class under different namespace:

latte:
	macros:
		- Else\Utils\Macros

Tracy reports: “Class ‘Somewhere\Utils\Macros’ not found”. Deleting Latte cache files helped.

Felix
Nette Core | 1196
+
0
-

It's oukey. Macros are compiled, so you have to remove templates.

Pavel Janda
Member | 977
+
0
-

Yes, the solution is pretty straightforward, but that doesn't mean Latte behaves correctly (not behaves at all).