Loading...
 
Skip to main content

batch directory upload sets 'galleryId' incorrectly

Status
Pending
Subject
batch directory upload sets 'galleryId' incorrectly
Version
2.x
Category
  • Error
Feature
File Gallery (elFinder or standard UI)
Resolution status
Partially solved
Submitted by
snarlydwarf
Lastmod by
snarlydwarf
Rating
(0)
Description

There appears to be some conflict regarding values returned by tikilib's list_file_galleries, returning 'parentId' instead of 'galleryId', when tiki-batch_upload_files.php wants galleryId.

This results in the pulldown list of which gallery to move the incoming files having wrong values set, moving them to the 'parent' gallery instead of the selected gallery, and for top-level galleries, moving them to the invalid "gallleryId = -1"-gallery, where they are unrecoverable.

Solution

fixed in 12605. (used 'id' not 'galleryId' in tpl... though I would think the real bug is in tikilib.. galleryId would seem to be the standard name for this value.)

Importance
9 high
Priority
45
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
1708
Created
Friday 18 April, 2008 17:37:00 UTC
by Unknown
LastModif
Thursday 10 July, 2008 10:47:27 UTC


Show PHP error messages