Page MenuHomePhabricator

[BlueSpiceBlog] Less_Exception_Compiler: variable @bs-color-primary is undefined in file resources/bluespice.blog.less
Closed, ResolvedPublic

Description

BlueSpiceBlog fails test somehow. Tested on Gerrit #445996 while commenting check experimental.

Code search for bs-color-primary.

There was 1 error:

1) /workspace/src/extensions/BlueSpiceBlog/resources/bluespice.blog.less in the "ext.bluespice.blog.styles" module
Less_Exception_Compiler: variable @bs-color-primary is undefined in file /workspace/src/extensions/BlueSpiceBlog/resources/bluespice.blog.less in bluespice.blog.less on line 30, column 16
28| 	padding: 0.5em;
29| 	border-style: solid;
30| 	border-color: @bs-color-primary;
31| 
32| 	&:focus {
33| 		border-color: @bs-color-secondary;

/workspace/src/vendor/oyejorge/less.php/lib/Less/Tree/Variable.php:49
/workspace/src/vendor/oyejorge/less.php/lib/Less/Tree/Expression.php:52
/workspace/src/vendor/oyejorge/less.php/lib/Less/Tree/Value.php:27
/workspace/src/vendor/oyejorge/less.php/lib/Less/Tree/Rule.php:75
/workspace/src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php:94
/workspace/src/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php:94
/workspace/src/vendor/oyejorge/less.php/lib/Less/Parser.php:199
/workspace/src/includes/resourceloader/ResourceLoaderFileModule.php:973
/workspace/src/tests/phpunit/LessFileCompilationTest.php:46
/workspace/src/tests/phpunit/MediaWikiTestCase.php:475
/workspace/src/maintenance/doMaintenance.php:94

--

There was 1 warning:

1) Warning
The data provider specified for ResourcesTest::testFileExistence is invalid.
variable @bs-color-primary is undefined in file /workspace/src/extensions/BlueSpiceBlog/resources/bluespice.blog.less in bluespice.blog.less on line 30, column 16
28| 	padding: 0.5em;
29| 	border-style: solid;
30| 	border-color: @bs-color-primary;
31| 
32| 	&:focus {
33| 		border-color: @bs-color-secondary;

/workspace/src/maintenance/doMaintenance.php:94

Event Timeline

hashar created this task.Aug 22 2018, 9:53 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 22 2018, 9:53 AM
hashar updated the task description. (Show Details)Aug 22 2018, 9:56 AM
hashar updated the task description. (Show Details)

Change 455182 had a related patch set uploaded (by Pwirth; owner: Pwirth):
[mediawiki/extensions/BlueSpiceBlog@master] Add missing less vars. T202499

https://gerrit.wikimedia.org/r/455182

Change 455182 merged by jenkins-bot:
[mediawiki/extensions/BlueSpiceBlog@master] Add missing less vars. T202499

https://gerrit.wikimedia.org/r/455182

hashar closed this task as Resolved.Aug 28 2018, 8:24 AM
hashar assigned this task to Pwirth.