bootstrap_package icon indicating copy to clipboard operation
bootstrap_package copied to clipboard

Error after update LTS11.5.5 and BP 12.0.4

Open amr-webdesign opened this issue 3 years ago • 1 comments

Bug Report

Prerequisites

  • [ ] Can you reproduce the problem on TYPO3 v10.4 LTS
  • [ x] Can you reproduce the problem on TYPO3 v11.3
  • [ x] Did you perform a cursory search to see if your bug or enhancement is already reported?

[A clear and concise description of what the bug is.]

I upadte my LTS to latest 11.5.5 Then I upadte BP from 12.0 to 12.0.4 cause with 12.0 my site crashed always on using Sitepackagebuilder 11 some of the backend Layouts of BP-Package didn't work as excample 50/50 had no result Constant variables didnt change any color so I changed back to Setting only BP_Package and Bootstrap4
disabled Sitepackage cleared all caches and configration Then I upadte BP_package from 12.0 to 12.0.4 again

  1. Setting only BP_Package and Bootstrap4
  2. Then I upadte BP_package from 12.0 to 12.0.4 again
  3. backend layouts example are availble again

Looking ot my frontpage shows a lot off errors

[What actually happened]

Screenshots

Error: argument $color of red($color) must be a color: typo3conf/ext/bootstrap_package/Resources/Public/Scss/bootstrap5/../../Contrib/bootstrap5/scss/_functions.scss on line 37, at column 3 Call Stack: #0 function to-rgb typo3conf/ext/bootstrap_package/Resources/Public/Scss/bootstrap5/../../Contrib/bootstrap5/scss/_functions.scss on line 61 #1 function map-loop typo3conf/ext/bootstrap_package/Resources/Public/Scss/bootstrap5/../../Contrib/bootstrap5/scss/_variables.scss on line 94 #2 import typo3conf/ext/bootstrap_package/Resources/Public/Scss/bootstrap5/../../Contrib/bootstrap5/scss/_variables.scss typo3conf/ext/bootstrap_package/Resources/Public/Scss/bootstrap5/../../Contrib/bootstrap5/scss/bootstrap.scss on line 11 #3 import typo3conf/ext/bootstrap_package/Resources/Public/Scss/bootstrap5/../../Contrib/bootstrap5/scss/bootstrap.scss typo3conf/ext/bootstrap_package/Resources/Public/Scss/bootstrap5/theme.scss on line 9 #4 import typo3conf/ext/bootstrap_package/Resources/Public/Scss/bootstrap5/theme.scss (unknown file) on line 1

[If applicable, add screenshots to help explain your problem.]

Versions

LTS 11.5.5
You can get this information from executing composer show at the command line if your TYPO3 installation is composer based, otherwise the version number will be shown in the extension manager.

amr-webdesign avatar Jan 31 '22 09:01 amr-webdesign

This is the line

// Colors @function to-rgb($value) { @return red($value), green($value), blue($value); }

// stylelint-disable scss/dollar-variable-pattern

amr-webdesign avatar Jan 31 '22 09:01 amr-webdesign

This is a nasty issue, it happens when you pass a $color in it´s string value instead of hex or rgb interpretation. For example if you set somewhere "white" instead of "#ffffff".

benjaminkott avatar Jun 21 '23 15:06 benjaminkott