-
- 7 Posts
I have some complex Templates with dozens of TVs. Recently, I noticed that merely opening and saving a child Resource breaks inheritance by saving a copy of the parent's contents into the child TV.
In the attached database screenshots (modxrevo_site_tmplvar_contentvalues), I opened resource 778 (a child of 773) and click save. Now there are 5 more TV values in the database!
This only seems to happen on 5 or 6 TVs, not all of them. Anyone else experienced this?
That typically only happens if the values are edited.. perhaps there's a subtle difference between the value that is set as default, and the value that gets submitted on save?
-
- 7 Posts
The default for these TVs is "@INHERIT". It shows in the mgr as 'Value Inherited' and I am not editing anything. Simple Opening the Resource and clicking save causes the behavior.
-
- 24,544 Posts
Do you have any plugins attached to a DocFormSave event?