Closed (won't fix)
Project:
FillPDF
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jun 2012 at 19:38 UTC
Updated:
9 Sep 2015 at 08:55 UTC
Jump to comment: Most recent
I'm pretty sure Fill PDF used to work with multiple tokens in a single mapping. It seems like this changed at some point. Need to check in 6.x-1.x and 7.x-1.x and fix the issue if it exists. It may have to do with token_replace().
Comments
Comment #1
wizonesolutionsTagging.
Comment #2
wizonesolutionsShould test this while working on new version.
Comment #3
dafederIt seems to work if I comment out these lines (fillpdf.module lines 343-345)
SO far no ill effects. Can't say I totally understand what this was meant to do in the first place, is this an acceptable solution
Comment #4
dafederMy bad, this messes up multiple nids. Looking for another solution.
Comment #5
wizonesolutionsYeah, I was just about to say the same thing about the multiple NIDs. I forget if we currently loop over each node/submission separately (we probably do) or why exactly we fixed it that way. The actual code is checking, if I'm not mistaken, that the replaced token is not the same as the token pattern itself. You can probably
git log -p fillpdf.moduleand/$tokenin themodeit goes into to search for changes to that code, and then check what the commit message was to get some context.Comment #6
wizonesolutionsYeah, I was just about to say the same thing about the multiple NIDs. I forget if we currently loop over each node/submission separately (we probably do) or why exactly we fixed it that way. The actual code is checking, if I'm not mistaken, that the replaced token is not the same as the token pattern itself. You can probably
git log -p fillpdf.moduleand/$tokenin themodeit goes into to search for changes to that code, and then check what the commit message was to get some context.Comment #7
wizonesolutionsYeah, I was just about to say the same thing about the multiple NIDs. I forget if we currently loop over each node/submission separately (we probably do) or why exactly we fixed it that way. The actual code is checking, if I'm not mistaken, that the replaced token is not the same as the token pattern itself. You can probably
git log -p fillpdf.moduleand/$tokenin themodeit goes into to search for changes to that code, and then check what the commit message was to get some context.Comment #8
wizonesolutionsYeah, I was just about to say the same thing about the multiple NIDs. I forget if we currently loop over each node/submission separately (we probably do) or why exactly we fixed it that way. The actual code is checking, if I'm not mistaken, that the replaced token is not the same as the token pattern itself. You can probably
git log -p fillpdf.moduleand/ $tokenin thelessmode it goes into to search for changes to that code, and then check what the commit message was to get some context.Comment #9
wizonesolutionsComment #10
wizonesolutionsWill keep this in mind, but cleaning up issue queue for now.