Breaking: #69863 - Changes in ViewHelpers post Standalone-Fluid
See forge#69863
Description
The following ViewHelpers have changed behaviours in Fluid:
- The f:ViewHelper argumentcase defaulthas been marked as deprecated. To indicate which case is the default, usef:.default Case 
- Tag content of f:is no longer ignored and will be output if called withrender optional="1".
- Arguments iconandOnly stylehave been removed fromAttributes f:.be. buttons. csh 
- Argument alternatehas been removed fromBackground Colors f:.be. table List 
- ViewHelpers no longer use the escapingproperty but instead useInterceptor Enabled escapeandChildren escapeto control each behavior.Output 
- All ViewHelpers no longer initialize standard arguments ("additionalArguments" and "data") in __, but instead do this inconstruct () initialize. If you override this method, you need to make sure you include a call toArguments () parent::in your subclass.initialize Arguments () 
The following ViewHelper classes are now only found in namespace TYPO3Fluid\ and no longer exist in TYPO3\:
- TYPO3\- CMS\ - Fluid\ - View - Helpers\ - Alias - View - Helper 
- TYPO3\- CMS\ - Fluid\ - View - Helpers\ - Switch - View - Helper 
- TYPO3\(present as deprecated alias until final removal)- CMS\ - Fluid\ - View - Helpers\ - Case - View - Helper 
- TYPO3\- CMS\ - Fluid\ - View - Helpers\ - Comment - View - Helper 
- TYPO3\- CMS\ - Fluid\ - View - Helpers\ - Cycle - View - Helper 
- TYPO3\- CMS\ - Fluid\ - View - Helpers\ - For - View - Helper 
- TYPO3\- CMS\ - Fluid\ - View - Helpers\ - Grouped - For - View - Helper 
- TYPO3\- CMS\ - Fluid\ - View - Helpers\ - If - View - Helper 
- TYPO3\- CMS\ - Fluid\ - View - Helpers\ - Then - View - Helper 
- TYPO3\- CMS\ - Fluid\ - View - Helpers\ - Else - View - Helper 
- TYPO3\- CMS\ - Fluid\ - View - Helpers\ - Layout - View - Helper 
- TYPO3\- CMS\ - Fluid\ - View - Helpers\ - Render - View - Helper 
- TYPO3\- CMS\ - Fluid\ - View - Helpers\ - Section - View - Helper 
- TYPO3\- CMS\ - Fluid\ - View - Helpers\ - Spaceless - View - Helper 
- TYPO3\- CMS\ - Fluid\ - View - Helpers\ - Format\ - Cdata - View - Helper 
- TYPO3\- CMS\ - Fluid\ - View - Helpers\ - Format\ - Htmlspecialchars - View - Helper 
- TYPO3\- CMS\ - Fluid\ - View - Helpers\ - Format\ - Printf - View - Helper 
- TYPO3\- CMS\ - Fluid\ - View - Helpers\ - Format\ - Raw - View - Helper 
Impact
- A warning about use of an unregistered argument defaultwill be displayed if templates containf:withcase defaultargument.
- Unexpected template output will be output if templates are rendered which contain <f:.render partial/ section optional="1">will be output now</ f: render> 
- A warning about use of an unregistered argument iconand/orOnly stylewill be displayed if templates containAttributes f:with either argument.be. buttons. csh 
- A warning about use of an unregistered argument alternatewill be displayed if templates containBackground Colors f:with that argument.be. table List 
- Any third-party ViewHelpers subclassing any of the classes listed above must change parent class to new namespace.
- Any third-party ViewHelpers using escapingproperty to disable escaping.Interceptor Enabled 
Affected Installations
Any TYPO3 instance that uses a template which contains:
- An f:withcase defaultargument.
- An f:withrender optional="1"and having content in the<f:tag.render> 
- An f:with eitherbe. buttons. csh iconorOnly style(value irrelevant).Attributes 
- An f:withbe. table List alternate(value irrelevant).Background Colors 
- Any third-party ViewHelper which subclasses any of the classes listed above.
- Any third-party ViewHelper which uses escapingproperty to disable escaping.Interceptor Enabled 
Migration
- Remove the defaultoption and changef:tocase f:for that case.default Case 
- Remove the tag contents of f:.render 
- Remove arguments iconandOnly stylefromAttributes f:where found.be. buttons. csh 
- Remove argument alternatefromBackground Colors f:where found.be. table List 
- Update namespace of parent class in ViewHelpers subclassing any of the classes listed above.
- Update ViewHelper class to use escapeand/orChildren escapedepending on desired behavior.Output