Closed pb-amy closed 3 years ago
Issue was related to a third party dependency (https://github.com/scssphp/scssphp) which was updated to a version that introduced breaking changes in the pressbooksedu-golden-bedrock. We fixed by locking the dependency to a working version in pressbooks composer.json file: https://github.com/pressbooks/pressbooks/pull/2126/commits/a94b9c5fd39d484e50d15091182c81491d33eda3.
Prerequisites
Description
This bug was issued through client interaction: https://pressbooks.zendesk.com/agent/tickets/4722
When textbox colours are changed on Theme Options and the changes are saved, it will issue a large SASS error message (copied and pasted below)
Subsequently, while the changes in the colour are reflected in the book preview/webbook, the textboxes stop showing on the editor itself. Screen recording of what happens: https://drive.google.com/file/d/11R-CGqXszEJP1sP-bAu4YmjRERjBoE9E/view
Two notes: There was no CSS and this is an issue across multiple themes (I tested Graham, McLuhan and Andreesen).
Here's the SASS error message:
Steps to Reproduce
Expected behavior: Textbox colours should save without an error message, and the textboxes should appear in the editor.
Actual behavior: Textbox colours show error message when saved, and textboxes do not show in the editor (but it does in the webbook)
System Information