"Wrong" default package used in ResourceInterceptor
When using a resource link in a Fluid template FLOW3's ResourceInterceptor transforms that into a Resource ViewHelper setup. If it doesn't detect a package key in the used URL the current package is used as default.
This doesn't work in TYPO3, as the current package is TYPO3, whereas the template file comes from the site's package. The intuitive behavior would be if the package the template is in was used as default.
Updated by Karsten Dambekalns over 11 years ago
- Estimated time changed from 2.00 h to 1.00 h
This should be solved in consumer code - as the Fluid parser receives a simple string with the template to parse, the interceptor needs to be configured before this step. Thus a default package to use should be added to the ResourceInterceptor and (in this case) TYPO3 should configure it as needed.