MODX3 Gitify Problem with Babel

Hello,

I use gitify to synchronize content from dev to staging.

I found out, that translation info from hidden TV ‘babelLanguageLinks’ are not synchronized.

So I included in dotfile the following:


    template_variables_contentvalues:
        class: modTemplateVarResource
        primary: id
        where:
            - { 'tmplvarid:IN': [124] }

But I get always error messages in command line such like this:


INSERT INTO `am_site_tmplvar_contentvalues` (`id`, `tmplvarid`, `contentid`, `value`) VALUES (105520, 124, 6906, 'web:6906;en:9681')
Array
(
    [0] => 23000
    [1] => 1062
    [2] => Duplicate entry '105520' for key 'PRIMARY'
)

- Could not save new modTemplateVarResource: 105520

Linked TVs to template are included in content YAML files. But hidden not.

Any ideas what I can do?

Change TV from hidden and link to template?

Thank you in advance.

bye
Chris

I believe the problem isn’t that the “Input Type” is “Hidden”, but that the TV “babelLanguageLinks” isn’t assigned to any template. When Gitify extracts the TV values for a resource, it uses the resource template to decide what TVs to include.