Closed (duplicate)
Project:
Printer, email and PDF versions
Version:
7.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2013 at 00:07 UTC
Updated:
10 Jul 2013 at 13:11 UTC
I use Organic Groups.
The node entity I want to print as PDF is associated with a group.
All OG tokens including [node:group:label] are listed in the REPLACEMENT PATTERNS at admin/config/user-interface/print/pdf
But unfortunately [node:group:label] - [node:title] is not processed correctly.
Say the node I want to print as PDF belongs to "Students" OG group, and titled as "Weekly Schedule", the filename becomes nodegrouplabel_-_weekly_schedule.pdf instead of students_-_weekly_schedule.pdf as expected.
Comments
Comment #1
jcnventuraI think there's two problems at play here.
1. One longstanding bug is that the printer-friendly versions are not members of the OG (#385994: Printer-friendly pages do not inherit group membership from original page).
2. The other is that the token is not removed when there's no replacement #1984106: Token not replaced when value is not available.
For now, avoid using OG-tokens, or as I'm not an OG user, contribute to fixing #1 above.
Closing as duplicate of the issues above.