[TYPO3-dam] Auto-Assignment of a category does not work

werner at aloah-from-hell.de werner at aloah-from-hell.de
Thu Nov 24 13:39:02 CET 2011


Hi everybody,

im using the DAM-Extensions in Version 1.2.3 on T3 4.5.6. I've created a Folder called "Foo"
and a DAM-Category "Bar" (Cat.-ID: 1). Files which are uploaded  into the Folder "Foo" should
be automatically be part of DAM-Category "Bar".

So - I've created a ".indexing.setup.xml" file with the help of the "Indexing-Tool"
within "Media". The File was successfully created[1] - but uploaded Files into
the mentioned directory don't get the DAM-Category assigned :(

Am I missing something here?

thanks and regards,
Werner




[1] .indexing.setup.xml
<phparray>
        <pid>61</pid>
        <pathlist type="array">
                <numIndex index="0">fileadmin/mediapool/Foo/</numIndex>
        </pathlist>
        <recursive>1</recursive>
        <ruleConf type="array">
                <tx_damindex_rule_recursive type="array">
                        <enabled>1</enabled>
                </tx_damindex_rule_recursive>
                <tx_damindex_rule_folderAsCat type="array">
                        <enabled>0</enabled>
                        <fuzzy>0</fuzzy>
                        <createCategory>0</createCategory>
                </tx_damindex_rule_folderAsCat>
                <tx_damindex_rule_doReindexing type="array">
                        <enabled type="boolean"></enabled>
                        <mode type="boolean"></mode>
                </tx_damindex_rule_doReindexing>
                <tx_damindex_rule_titleFromFilename type="array">
                        <enabled>0</enabled>
                </tx_damindex_rule_titleFromFilename>
                <tx_damindex_rule_dryRun type="array">
                        <enabled>0</enabled>
                </tx_damindex_rule_dryRun>
                <tx_damindex_rule_devel type="array">
                        <enabled>0</enabled>
                </tx_damindex_rule_devel>
        </ruleConf>
        <dataPreset type="array">
                <title></title>
                <keywords></keywords>
                <description></description>
                <caption></caption>
                <alt_text></alt_text>
                <file_orig_location></file_orig_location>
                <file_orig_loc_desc></file_orig_loc_desc>
                <ident></ident>
                <creator></creator>
                <publisher></publisher>
                <copyright></copyright>
                <instructions></instructions>
                <date_cr></date_cr>
                <date_mod></date_mod>
                <loc_desc></loc_desc>
                <loc_country>0</loc_country>
                <loc_city></loc_city>
                <language></language>
        </dataPreset>
        <dataPostset type="array">
                <category>1,</category>
        </dataPostset>
        <dataAppend type="array">
        </dataAppend>
        <dryRun>0</dryRun>
        <doReindexing type="boolean"></doReindexing>
        <collectMeta type="boolean">1</collectMeta>
        <extraSetup type="NULL"></extraSetup>
</phparray>


More information about the TYPO3-project-dam mailing list