Loading...
 
Skip to main content

PDF generation for structures creates badly named file

Status
Closed
Subject
PDF generation for structures creates badly named file
Version
1.9.x
Category
  • Error
Feature
Wiki (page view, edit, history, rename, etc)
Others
PDF
Wiki Structure (book & table of content)
Resolution status
Won't Fix
Submitted by
Elizabeth Dalton
Lastmod by
Beestje
Rating
(0)
Description

In 1.9.2, the ability to create PDF files from structures is fixed (which is great). All files in the structure are now automatically added to the include list when the PDF icon is clicked while in an active structure.

However, the resulting file is badly named. For example, in a structure consisting of:

test structure edit

* 1 numbers x edit
o 1.1 one x edit
o 1.2 two x edit
* 2 colors x edit
o 2.1 blue x edit
o 2.2 green x edit

(http://gaeacoop.org/tiki/tiki-index.php?page_ref_id=1Question)

the resulting PDF file is named "green" rather than "test_structure.pdf" or "test structure.pdf". Not only is this generally confusing (naming the pdf file for the last page in the structure is pretty counter-intuitive), but the lack of the PDF extension prevents the browser from automatically opening the file. I was able to force the file to open with Acrobat Reader 5.0 for Macintosh on OSX 1.3, but only after setting the file filter to "all files." Many less experienced users would have stalled before this.

The PDF generation should default to the name of the structure plus the ".pdf" extension, and probably should also allow this file name to be manually changed before the PDF is generated.

Solution

Closing bug as PDF generation is cancelled as of 2.x and only security fixes will be released for the 1.9 branch.

Check the PDF docsQuestion for more info.

Importance
3
Priority
15
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
421
Created
Monday 28 November, 2005 18:44:23 UTC
by Unknown
LastModif
Thursday 23 April, 2009 14:13:55 UTC


Show PHP error messages