-
Bug
-
Resolution: Fixed
-
Major
-
4.2.0
-
None
-
None
-
Chrome
-
4.2 M6
How to reproduce it :
- In my skin, I have a custom.scss file with only this inside :
@import "custom/custom";
- In the custom folder, the _custom.scss file imports those files :
@import "custom.variables"; @import "fonts"; @import "custom.mixins"; @import "custom.global"; @import "../settings/variables";
- None of theses files import another file.
- I make a change inside the custom/_custom.scss file and I reload my page
> the css is not updated - I make a change inside the root custom.scss file
> the css file that I previously changed is updated
I have 2 errors in the logs :
Location: org.ametys.plugins.core.ui.resources.AbstractCompiledResourceHandler._getDependenciesKeys(AbstractCompiledResourceHandler.java:226) Thrown: java.lang.NullPointerException at org.ametys.plugins.core.ui.resources.AbstractCompiledResourceHandler._getDependenciesKeys(AbstractCompiledResourceHandler.java:198) at org.ametys.plugins.core.ui.resources.AbstractCompiledResourceHandler._getDependenciesKeys(AbstractCompiledResourceHandler.java:217) at org.ametys.plugins.core.ui.resources.AbstractCompiledResourceHandler._getDependenciesKeys(AbstractCompiledResourceHandler.java:217) at org.ametys.plugins.core.ui.resources.AbstractCompiledResourceHandler.getKey(AbstractCompiledResourceHandler.java:145)
Location: org.ametys.plugins.core.ui.resources.AbstractCompiledResourceHandler._getCalculatedLastModified(AbstractCompiledResourceHandler.java:184) Thrown: java.lang.NullPointerException at org.ametys.plugins.core.ui.resources.AbstractCompiledResourceHandler._getCalculatedLastModified(AbstractCompiledResourceHandler.java:160) at org.ametys.plugins.core.ui.resources.AbstractCompiledResourceHandler._getCalculatedLastModified(AbstractCompiledResourceHandler.java:175) at org.ametys.plugins.core.ui.resources.AbstractCompiledResourceHandler._getCalculatedLastModified(AbstractCompiledResourceHandler.java:175) at org.ametys.plugins.core.ui.resources.AbstractCompiledResourceHandler.getValidity(AbstractCompiledResourceHandler.java:151)