created an attachment (id=162949)
report

description:
[automation] exported pdf file can't be open when the report has a label with toc

build:
2.6.0.v20100325-0630

steps to reproduce:
1. new a label
2. set toc on the label
3. preview in web viewer and export as pdf

actual result:
can't open exported pdf file.

expect result:
exported pdf file can be open
