Issue Feature Closed

#57297Add UID to SysDomainCache

Henrik Ziegenhain 03/25/14, 16:01 updated 10/19/17, 21:00

Description

If you are building an extension based on Domain-Records (outputting Data based on a domain-record) it would be better to check against an Id instead of the domain name.

With TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->getSysDomainCache() you can fetch pid, domainName and the forced-option for domain-records.
It would be very easy to simply add the uid to the select statement and return it.

Having this uid in Frontend enables you to store the domain-record id in Database and output the data only if the ids from current domain-record and database field are matching.

I will make a patch the following days.

I think its nearly a no-brainer, but as it`s a feature the target version must be 6.3 imho.

Reviews 2