[TYPO3-dam] DAM indexing with dam_scheduler / dam_cron

Frank Nägler typo3 at naegler.net
Tue Mar 15 15:41:19 CET 2011


Hi @ all,
after update to the latest version of DAM, the problem is not fixed.

But I have found the real problem with the indexer.
I Don't know if this bug is a core bug or a DAM-Indexer bug.

The problem are the exclude fields. After setting all fields from exclude=1 to exclude=0 the indexer works fine.
The indexer use tx_dam_db::insertUpdateData which use an instance of t3lib_TCEmain to insert or update the dam records.

The user _cli_scheduler which starts the index process has no access to the exclude fields, which results in broken categories as described and in broken records in tx_dam, because file_path and file_name for example are per default exclude fields.

_Frank

-- 
Frank Nägler
typo3 at naegler.net
http://www.frank-naegler.de
http://typo3weblog.de

Am 18.02.2011 um 15:59 schrieb Frank Nägler:

> Hi @ all,
> I have a big problem with DAM indexing by dam_cron or dam_scheduler.
> I have created a ticket here: http://bugs.typo3.org/view.php?id=17646
> 
> My first solution did not work. I can't find the reason for this issue. Maybe this is only a problem with TYPO3 4.5 !?
> currently no entries will be created. Log entries: 
> 
> Attempt to modify table 'tx_dam' without permission (msg#1.2.1)
> Attempt to modify table 'tx_dam_cat' without permission (msg#1.2.1)
> 
> My fix was to hook into checkModifyAccessList(), this works, but the created entries in tx_dam has no file_path or file_name and the entries in tx_dam_cat has no title. at the moment by database has 5000 categories without a title ;)
> 
> If anyone has an idea, I will test it.
> 
> _Frank
> 
> -- 
> Frank Nägler
> typo3 at naegler.net
> http://www.frank-naegler.de
> http://typo3weblog.de
> 
> _______________________________________________
> TYPO3-project-dam mailing list
> TYPO3-project-dam at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-dam



More information about the TYPO3-project-dam mailing list