Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-12430

SAAS compiler error with conditional import on super dev mode

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.9.0
    • None
    • None
    • None
    • 4.9.0 M9
    • Oui

      If you have a conditional import like this :
      @import "plugin:rocket.chat?://resources/css/Rocket.Chat";

      The super dev mode renderer fails with this error:

      Unable to compile the SASS file
      [...]
      Caused by: io.bit3.jsass.CompilationException: Error: java.net.URISyntaxException: Unable to resolve SASS import, no matching source found: plugin:rocket.chat?://resources/css/Rocket.Chat
      java.lang.RuntimeException: java.net.URISyntaxException: Unable to resolve SASS import, no matching source found: plugin:rocket.chat?://resources/css/Rocket.Chat
      at org.ametys.core.minimize.css.sass.AmetysScssImporter.apply(AmetysScssImporter.java:117)
      at io.bit3.jsass.adapter.NativeImporterWrapper.apply(NativeImporterWrapper.java:39)

            raphael Raphaël Franchet
            ogehin Olivier Gehin
            Raphaël Franchet Raphaël Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: