PageRepository should remove empty entries in pageOverlayFields
I realize this is something exotic. However, when you do something like this:
$GLOBALS['TYPO3_CONF_VARS']['FE']['pageOverlayFields'] = ',doktype';
No translations work.
This occured while after updating one of our systems from 4.5.x to 6.2.5, so it must have "worked" in 4.5 (or was at least ignored).
The solution is rather simple, the PageRepository just has to remove empty entries just like the rootline utility does for addRootLineFields.
The attached Patch should cover it.