Ratings have broken for me when using $conf['rate_items'] array entries that aren't integers 0-9, I used the LocalFiles Editor plugin.
The star icons filled incorrectly.
The rating score did not update for some values.
Non-numeric rate items cause an error when selected.
Thanks.
Ratings have broken for me when using $conf['rate_items'] array entries that aren't integers 0-9, I used the LocalFiles Editor plugin.
The star icons filled incorrectly.
The rating score did not update for some values.
Non-numeric rate items cause an error when selected.
Thanks.
<!-- github-sync-id:125796387 -->
Rate items are supposed to be integers. You can only choose where you start and basically how many different marks you want to have.
Obviously rating score cannot be updated for non numeric values and the database backend expect integer for rates
Rate items are supposed to be integers. You can only choose where you start and basically how many different marks you want to have.
Obviously rating score cannot be updated for non numeric values and the database backend expect integer for rates
<!-- github-comment-id:170325407 -->
Thanks for replying, perhaps this could be documented in config_default.inc.php or could raise an error? It is not obvious from outside that you can't say have an ordered array ['bad','alright','good','excellent']. Also if I wasn't clear before combinations of 0-9 i.e. 10 caused the first problem.
Thanks for replying, perhaps this could be documented in config_default.inc.php or could raise an error? It is not obvious from outside that you can't say have an ordered array ['bad','alright','good','excellent']. Also if I wasn't clear before combinations of 0-9 i.e. 10 caused the first problem.

<!-- github-comment-id:170344277 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Ratings have broken for me when using $conf['rate_items'] array entries that aren't integers 0-9, I used the LocalFiles Editor plugin.
The star icons filled incorrectly.
The rating score did not update for some values.
Non-numeric rate items cause an error when selected.
Thanks.
Rate items are supposed to be integers. You can only choose where you start and basically how many different marks you want to have.
Obviously rating score cannot be updated for non numeric values and the database backend expect integer for rates
Thanks for replying, perhaps this could be documented in config_default.inc.php or could raise an error? It is not obvious from outside that you can't say have an ordered array ['bad','alright','good','excellent']. Also if I wasn't clear before combinations of 0-9 i.e. 10 caused the first problem.
