FAQ won't list
- Status
- Open
- Subject
- FAQ won't list
- Version
- 8.x
9.x - Feature
- FAQ
- Resolution status
- New
- Submitted by
- schap
- Lastmod by
- schap
- Rating
- Description
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!)- Solution
- Importance
- 9 high
- Priority
- 45
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 4138
- Created
- Friday 27 January, 2012 15:26:45 UTC
by schap - LastModif
- Friday 27 January, 2012 15:26:45 UTC