[TYPO3-core] RFC #16983: Bug: 16983: getViewDomain returns "http://" when called with id = 0 and existing sys_domain rec -> "Generate Workspace Preview Link" broken

Andreas Kiessling kiessling at pluspol.info
Tue Feb 22 11:36:37 CET 2011


Hi,

On 22.02.2011 11:18, Tolleiv.Nietsch wrote:
> +1 by reading - but I think in 4.5 and trunk it won't be relevant
> anymore after http://forge.typo3.org/issues/12855 (see workspace list)
> is done. But I try to find some time in the next days for testing.

Well, who knows if an extension uses it somewhere. The function is not 
limited to be used in workspaces only.

I'd be fine to throw an exception if it is called with id=0 in 4.5 and 
trunk. Otoh, the function says, it would return a domain. That way, you 
would always get something "useful".

Regards,
Andreas



More information about the TYPO3-team-core mailing list