After upgrade to 2.2, Last Files module is empty.
- Status
- Closed
- Subject
- After upgrade to 2.2, Last Files module is empty.
- Version
- 2.x
- Category
- Error
- Regression
- Feature
- File Gallery (elFinder or standard UI)
Modules - Submitted by
- jhamell
- Lastmod by
- Marc Laporte
- Rating
- Description
- After upgrading from 1.9.11 to 2.2, the Last Files module is showing up empty.
- Solution
Tracking the problem back, the SQL request itself was actually trying to isolate only entries in which galleryId == -1. My understanding is that a value of -1 means all galleries. To fix it, I modify a single line in lib/tikilib.php:
function get_files
Line: 2124A conditional checks :
elseif ( $galleryId >= -1 && ! $recursive )And I believe that it *should* be checking for $galleryId > -1. I made the correction, and Last Files is now displaying correctly, and I haven't yet noticed other problems this may have raised.
This works fine in 7.x. Feel free to reopen if you can reproduce in a current release.- Importance
- 2
- Priority
- 10
- 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
- 2283
- Created
- Tuesday 03 February, 2009 21:07:13 UTC
by Unknown - LastModif
- Wednesday 08 June, 2011 21:48:09 UTC