-
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)
[CMS-9227] A SASS with imports is not refreshed until the root file is not changed
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Patch available [ 10005 ] | New: Resolved [ 5 ] |
Assignee | New: Raphaël Franchet [ raphael ] |
Assignee | Original: Grégory Lefebvre [ glefebvre ] |
Status | Original: In Progress [ 3 ] | New: Patch available [ 10005 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Rank | New: Ranked higher |
Sprint | Original: 4.2 M5 [ 22 ] | New: 4.2 M6 [ 23 ] |
Rank | New: Ranked higher |
Sprint | New: 4.2 M5 [ 22 ] |