When viewing articles in list, the number of reads is not displayed anymore (option: art_list_reads) on new articles since Tiki 13. Tiki 12 has no problem.
The bug was introduced in revision 49060. New articles now have tiki_articles.nbreads NULL rather than 0.
Solved for Tiki 17 via r63367
Solved for Tiki 16 via r63368
Solved for Tiki 15 via r63369
These solutions prevent future articles from having inoperant counters, but does not fix the counters of articles which were created while the bug prevailed. Such articles can be fixed with the following SQL queries:
UPDATE tiki_articles SET nbreads=0 WHERE nbreads IS NULL;
UPDATE tiki_submissions SET nbreads=0 WHERE nbreads IS NULL;
However, these queries set the number of reads to 0 instead of the actual number of reads which happened since their creation, which can be misleading.
Starting from Tiki 18, these queries can be executed by running
php console.php patch optional_20170801_initialize_article_nbreads_tiki
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |