Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-41827

Sakai's SASS source mapping isn't accurate

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: OPEN
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 19.0, 20.0
    • Fix Version/s: None
    • Component/s: Library
    • Labels:
      None
    • Environment:
      Firefox, Chromium
    • Test Plan:
      Hide

      Ensure the Library project builds properly. (developers)

      Inspect any element on a Sakai page using your browser and confirm the CSS rules are referencing files with ".scss" extensions rather than "tool.css". (You may have to enable "Enable Source Maps" in your Firefox settings via F11, for example.)

      Show
      Ensure the Library project builds properly. (developers) Inspect any element on a Sakai page using your browser and confirm the CSS rules are referencing files with ".scss" extensions rather than "tool.css". (You may have to enable "Enable Source Maps" in your Firefox settings via F11, for example.)

      Description

      I've noticed for the last few months that when inspecting page elements with the browser's inspect functionality, the CSS line numbers are not being translated to the SASS files proper line numbers, either at all or accurately.

      Determine why the source maps are not accurate or showing at all.

      According to Andrea Schmidt in SAK-41732, Firefox's browser logs indicate:

      Error while fetching an original source: request failed with status 404

      Learn more link: https://developer.mozilla.org/en-US/docs/Tools/Debugger/Source_map_errors

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    sfoster9 Shawn Foster
                    Reporter:
                    sfoster9 Shawn Foster
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    3 Start watching this issue

                    Dates

                    • Created:
                      Updated:

                      Git Integration