Copy link to clipboard
Copied
Hi all!
Here is Weird bug with DC template spawning i am struggling to solve.
I do my development in Adobe Pro XI.
Recently i got complaints from users saying template spawning would not work in Adobe DC.
I installed Adobe DC reader and found this weird bug
I created simple PDF to illustrate it.
//<AcroForm>
//<ACRO_source>ButtonApply1:Annot1:MouseUp:Action1</ACRO_source>
//<ACRO_script>
/*********** belongs to: AcroForm:ButtonApply1:Annot1:MouseUp:Action1 ***********/
getTemplate("RawDataPage").spawn(6, false, false);
//</ACRO_script>
//</AcroForm>
//<AcroForm>
//<ACRO_source>ButtonApply2:Annot1:MouseUp:Action1</ACRO_source>
//<ACRO_script>
/*********** belongs to: AcroForm:ButtonApply2:Annot1:MouseUp:Action1 ***********/
getTemplate("RawDataPage").spawn(6, false, false);
getTemplate("RawDataPage").spawn(6, false, false);
//</ACRO_script>
//</AcroForm>
//<AcroForm>
//<ACRO_source>ButtonApply3:Annot1:MouseUp:Action1</ACRO_source>
//<ACRO_script>
/*********** belongs to: AcroForm:ButtonApply3:Annot1:MouseUp:Action1 ***********/
getTemplate("RawDataPage").spawn(6, false, false);
getTemplate("RawDataPage").spawn(6, false, false);
getTemplate("RawDataPage").spawn(6, false, false);
//</ACRO_script>
//</AcroForm>
//<AcroForm>
//<ACRO_source>ButtonApply4:Annot1:MouseUp:Action1</ACRO_source>
//<ACRO_script>
/*********** belongs to: AcroForm:ButtonApply4:Annot1:MouseUp:Action1 ***********/
getTemplate("RawDataPage").spawn(6, false, false);
getTemplate("RawDataPage").spawn(6, false, false);
getTemplate("RawDataPage").spawn(6, false, false);
getTemplate("RawDataPage").spawn(6, false, false);
//</ACRO_script>
//</AcroForm>
I expect code to be working in the same way both in Adobe XI and DC
See versions below
VERSION XI - 11.0.13 | VERSION DC 15.010.20056 |
---|---|
![]() | ![]() |
Now compare results
Button 1 ->ADDED 1 OK in both Acrobates
Button 2 ->ADDED 2 OK in both Acrobates
ADOBE PRO XI | ADOBE READER DC |
---|---|
Button3 - > ADDED 3 - OK | Button3->ADDED 3 - page 8 is broken |
![]() | ![]() |
Button4->ADDED 4 - OK | Button4->ADDED 4 - pages 8,9 BROKEN |
![]() | ![]() |
MORE WEIRD STUFF
There is a fix available for this bug. Go to Acrobat Help | Release notes | Acrobat DC, Acrobat Reader DC | Update and download the "hot fix" patch.
Copy link to clipboard
Copied
just confirmed exact same bug in Reader DC for Mac OS
Copy link to clipboard
Copied
There is something wrong with your document. It doesn't create the field "RawDataText" on all spawned pages.
Copy link to clipboard
Copied
exactly. this is why i am filing this issue.
Copy link to clipboard
Copied
When I create a new document with the actual Adobe Acrobat DC the field will repeat on all spawned pages.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
I don't use this old version of Acrobat.
Copy link to clipboard
Copied
why did you bother to answer then?
Copy link to clipboard
Copied
When you don't want my help then I give up.
You say it is a bug in DC. But it isn't.
Copy link to clipboard
Copied
Wait.
where is the bug?
Conditions:
Copy link to clipboard
Copied
I just tried this with Adobe Reader DC on Mac OS X:
MORE WEIRD STUFF
I cannot duplicate your problems. Here is what I did (all this on a Mac running OS X 10.10.5):
1. Open the file TEMPLATE_SPAWN_DC_ISSUE.pdf in Adobe Reader DC version 2015.009.20069
2. Click on the button "Add 4 Templates"
3. Save the file under a new name (TEMPLATE_SPAWN_DC_ISSUE_Saved.pdf)
4. Open the just saved file in Adobe Acrobat XI Pro version 11.0.14
5. Scroll through document -> All pages are correctly displayed, I can see the four spawned pages with the correct information on them
This does not mean that there is nothing wrong, it just means that it's not a problem that is easily reproducible. Based on your description, you have not used any other applications besides Adobe Acrobat XI Pro and Adobe Reader DC. How did you create the original PDF file? I noticed that the PDF file topic.pdf that you included in the ZIP file was created using Apache FOP. Did you use any non-Adobe application to create the original PDF file? If so, I would start over with a file that was only touched by Adobe software. In that case, it would be possible that a corruption in the original PDF file could cause strange behavior along the way. If you can verify this with just Adobe Acrobat and Reader, you are looking at a genuine bug, and there is unfortunately nothing we can do (remember, we are all users of Adobe's PDF technology, just like you). You would have to report it to Adobe using this page: Feature Request/Bug Report Form
Copy link to clipboard
Copied
Thanks a lot.
1, Adobe Reader DC version 2015.009.20069 is not the latest.
As far as i i understand Problem was brought by latest update.
2. i created TEMPLATE_SPAWN_DC_ISSUE.pdf (18 kB) from scratch today in Adobe Acrobat XI Pro
You can find all at Dropbox - TEMPLATE_SPAWN_DC_ISSUE
Copy link to clipboard
Copied
Looks like that Acrobat Reader DC and Adobe Acrobat DC doesn't like templates created by Acrobat XI.
Copy link to clipboard
Copied
Acrobat DC like templates created by Acrobat XI.
It displayed properly
They got peculiar bug with spawning
Copy link to clipboard
Copied
Create the template with Adobe Acrobat DC and there is no bug with spawning.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Did you report the bug?
Copy link to clipboard
Copied
yes. but there is no way to track it. it is just a web form.
so i do not expect much
https://adobe.allegiancetech.com/cgi-bin/qwebcorporate.dll?MTC9H5
Copy link to clipboard
Copied
Unfortunately, that's a limitation of Adobe's bug reporting system. However, I've been assured many times that Adobe staff is processing all input received via the bug reporting system.
BTW: I was able to reproduce the problem with a file created from scratch. So this definitely does not have anything to do with your specific file, or your system.
Copy link to clipboard
Copied
There is a fix available for this bug. Go to Acrobat Help | Release notes | Acrobat DC, Acrobat Reader DC | Update and download the "hot fix" patch.
Copy link to clipboard
Copied
issue Looks fixed in 15.010.20059
Copy link to clipboard
Copied
I just upgraded Reader DC, and sure enough, I can now see your problem. This is indeed a bug in both Acrobat DC and Reader DC with the newest build. You will have to report this as a bug with the link I've provided.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now