sljan
(Jan Syring-Lingenfelder)
March 16, 2016, 1:47pm
#1
Hi everyone,
I just updated my Neos site to 2.1.4. Now I don’t get the CSS in backend. The include looks like this:
<link rel="stylesheet" type="text/css"
href="http://domain.tld/_Resources/Static/Packages/TYPO3.Neos/Styles/Includes-built.css%3Fbust%3D932c8dfef2b1"/>
while it should look more like this:
<link rel="stylesheet" type="text/css"
href="http://domain.tld/_Resources/Static/Packages/TYPO3.Neos/Styles/Includes-built.css?bust=932c8dfef2b1"/>
I’ve already tried a ./flow resource:publish
but that didn’t change anything. Also, frontend and login screen work just fine.
Any ideas?
Thank you in advance
ilCerchiari
(nicola Cerchiari)
March 16, 2016, 2:26pm
#2
Hi,
same problem here.
Tried to:
clean and publish resources
clear caches
core migration
nodes migrations and repair
doctrine migration
Everything went good but the problem persists.
One note: I got the problem on all backend modules but content editing (i.e. Administration, Management, …).
THanks,
Nicola
sljan
(Jan Syring-Lingenfelder)
March 16, 2016, 3:29pm
#3
Yes exactly, content module works just fine.
I wonder if this might be related to “BUGFIX: Additional styles for modules loaded after Neos”, although in the corresponding comment there is no noticeable difference in how the stylesheet is included. Could it be possible that the f:uri viewhelper behaves differently?
plob
(Philippe L)
March 16, 2016, 3:47pm
#4
Hi all,
Same problem with me.
With a problem on the administration configuration page access, see the discussion here
ilCerchiari
(nicola Cerchiari)
March 16, 2016, 4:54pm
#5
if it’s of any help the problem, from a quick test, seems to generate in file: TYPO3.Neos\Resources\Private\Templates\Backend\Module\Index.html (lines 9).
In content editing the same snippet is called from file TYPO3.Neos\Resources\Private\Templates\TypoScriptObjects\NeosBackendHeaderData.html (line 11) instead, and the ways the link is generated are different:
error :
<link rel="stylesheet" type="text/css"
href="{f:uri.resource(path: 'Styles/Includes-built.css?bust={neos:backend.cssBuiltVersion()}', package: 'TYPO3.Neos')}"/>
correct :
< link rel="stylesheet" type="text/css" href="{f:uri.resource(path: 'Styles/Includes-built.css', package: 'TYPO3.Neos')}?bust={neos:backend.cssBuiltVersion()}" />
in the first the query string is included into the <f:uri.resource> viewhelper path property
My 2 cents and hope it helps,
Nicola
aertmann
(Aske Ertmann)
March 17, 2016, 1:34am
#6
plob
(Philippe L)
March 17, 2016, 7:20am
#7
Thank a lot aertmann. It’s good for me.
For information, this fix has not resolved the problem on the administration configuration page access, see the discussion here