Problem:
FAQs do not appear in the 'list FAQs page' tiki-list_faqs.php
"No records found."
This bug is visible with fresh install 8.3
or content upgraded from 6.6 to 8.3.
(feature work ok in 6.6)
Adding a new FAQ work (the new entry is seen in database with select * from tiki_faqs;)
but it will not display in the FAQs list either.
Looking at the PHP code, it seems it is a permission problem.
in tikilib.php
function list_faqs()
code below: //FIXME Perm:filter ?
By removing the test on permission :
if ($objperm'tiki_p_view_faqs' == 'y')
the FAQs do appear correctly.
It could be related with the 6.6->8.3 changes in user_lib.php function get_permissions() or the
way FAQs permissions are retrieved with tikilib.php
$objperm = $this->get_perm_object($res'faqId', 'faq', '', false);.
They are quite a number of other //FIXME Perm:filter ? comments in the tikilib.php,
so it is possible that this bug affects other features (or is already reported!)
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 |