File Gallery Handler Parent Gallery
- Status
- Closed
- Subject
- File Gallery Handler Parent Gallery
- Version
- 11.x
- Category
- Error
- Resolution status
- New
- Submitted by
- Greg Wheat
- Lastmod by
- Nelson Ko
- Rating
- Description
The code for the file gallery handler has a default parent gallery of -1. This causes the features not to work. It should probably be set to 1.
Here's the specific code in lib\core\Tiki\Profile\InstallHander\FileGallery.php
$defaults = array(
'owner' => 'admin',
'public' => 'n',
'galleryId' => null,
'parent' => -1,
'visible' => 'n', // fgal default is y so set here so it gets set only if specified in flags[]
);- Solution
Thanks Greg.
Changed to 1 in r48085. I think in the old days it used to be -1 but it caused all sorts of problems so it was changed.
- Importance
- 5
- Easy to solve?
- 10 easy
- Priority
- 50
- 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
- 4790
- Created
- Sunday 06 October, 2013 02:45:44 UTC
by Greg Wheat - LastModif
- Sunday 20 October, 2013 02:09:59 UTC