Closed (fixed)
Project:
Fivestar
Version:
8.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Feb 2017 at 06:32 UTC
Updated:
11 Jan 2019 at 10:22 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
saradaprasad17 commentedFixed the issue . Uploaded patch file .
Comment #3
sylus commentedNot sure how this fixed your issue?
When I changed to any other custom style I couldn't see the icons on the front end. You are adding the css stylesheet to the name attribute.
Should be:
With the patch:
Comment #4
davps commentedComment #5
gg24 commentedComment #6
dbt102 commentedThanks for reporting the issue @saradaprasad17, and for the input of everyone else. I tested on a fresh D8 install and I do not see the error after I apply the -4 patch. Did not check it with other custom styles @stylus. If that is still a problem, please reopen this issue. Will commit soon ...
Comment #8
dbt102 commentedComment #10
magicmirror commentedI am getting this error even with the latest module, which appears to have the patch included. However mine is line 43:
Notice: Undefined index: modules/fivestar/widgets/outline/outline.css in Drupal\fivestar\Plugin\Field\FieldFormatter\StarsFormatter->viewElements() (line 43 of modules/contrib/fivestar/src/Plugin/Field/FieldFormatter/StarsFormatter.php).
Comment #11
nikita_tt@magicmirror
If you still see this error apparently there are configs which keep "modules/fivestar/widgets/......." settings. Just go through all config files in a "sync" directory and change "modules/fivestar/widgets" to "modules/contrib/fivestar/widgets/".
In my case, I changed "modules/fivestar/widgets/basic/basic.css" to "modules/contrib/fivestar/widgets/basic/basic.css" and re-imported changed configs.