Undesired .css search

Ra Jo Ga Cha, modified 8 Years ago. Junior Member Posts: 77 Join Date: 1/19/17 Recent Posts
Hi, I'm still trying to port my theme from 6.2 to 7.0 and there's a new problem: Somewhere my theme is searching for .css instead of real .scss files:

14:43:31,686 WARN [http-nio-8080-exec-4][code_jsp:181] {code="404", msg="ProxyServlet: /o/my-theme/css/main.css", uri=/o/my-theme/css/main.css}
14:43:31,688 WARN [http-nio-8080-exec-7][code_jsp:181] {code="404", msg="ProxyServlet: /o/my-theme/css/aui.css", uri=/o/my-theme/css/aui.css}

I'm unable to find where is Liferay generating this paths to .css extended files. Where is this happening?
thumbnail
David H Nebinger, modified 8 Years ago. Liferay Legend Posts: 14933 Join Date: 9/2/06 Recent Posts
You will never have an SCSS in a theme import. SCSS files need to be transpiled into straight CSS, this occurs during theme build.
Ra Jo Ga Cha, modified 8 Years ago. Junior Member Posts: 77 Join Date: 1/19/17 Recent Posts
Then, why is it failing searching for the css files?
thumbnail
Olaf Kock, modified 8 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts
Ra Jo Ga Cha:
Then, why is it failing searching for the css files?


Does your theme contain those files? How are you migrating your theme from 6.2 to 7.0? By deploying the old theme? Did you change something?
Ra Jo Ga Cha, modified 8 Years ago. Junior Member Posts: 77 Join Date: 1/19/17 Recent Posts
First step was upgrading theme by upgrade tool given with the Liferay 7 Eclipse IDE. This wasn't enough so then I updated it again using the import tool of the themes generator. Next steps are "translating" manually vm templates to ftl. The only problematic part that I skipped commenting it, prior to make styles work, are bottom.jsp, body_bottom.jsp, etc references because I didn't find easy to solve it so I just delayed that part, but now I'm doubting if they're the files mandated to make this styles work.

The files are into the .war, .scss extended.

Edit: The errors about the bottom are that they're just "not found". They're called this way.

Avoided this issues creating a new Liferay 7 theme from the ashes (and Liferay 7's classic theme).
thumbnail
Siniša Šehović, modified 7 Years ago. New Member Posts: 7 Join Date: 7/25/09 Recent Posts

Hi,

have you tried using gulp to update your theme by executing gulp upgrade?

S.