core icon indicating copy to clipboard operation
core copied to clipboard

scss files containing import statements with single quotes results in an NPE

Open gblankendal opened this issue 8 years ago • 1 comments

Current Behavior

SCSS files containing import statements with single quotes result in NullPointer Exceptions for example: @import url('https://fonts.googleapis.com/css?family=Montserrat:500,700|Open+Sans'); @import 'faq';

Expected Behavior

Compile correctly! In addition to that, if some scss compile error occurs I expect the logs to tell me which file caused the error. It took me quite some time of debugging to find the real error. Imagine more than 20 scss files in some import chain.

Known Workarounds

Use double quotes instead of single quotes however this means more work when migrating existing themes to dotCMS.

Your Environment

  • dotCMS version used: 4.3.3
  • Operating System and version: Windows 10 Pro, Version 1803
  • Java Brand and version: "1.8.0_172"

gblankendal avatar Jun 04 '18 10:06 gblankendal

This issue has been automatically marked as stale because it has not had activity within the past 90 days. It will be closed in 30 days no further activity occurs. Thank you.

stale[bot] avatar Sep 28 '19 05:09 stale[bot]