Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Weird bug with DC template spawning

Community Beginner ,
Jan 21, 2016 Jan 21, 2016

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.

  1. PDF has hidden template named "RawDataPage"
  2. PDF has 6 pages initially
  3. First page contains 4 buttons.
  4. Button 1  adds 1 template  after page 6, Button 2  adds 2 templates  after page 6 and so on
  5. Close PDF without saving after button click, just observe spawning
  6. You can find PDF files and screenshots at dropbox link https://www.dropbox.com/sh/qap5j5tzyomrlxw/AABGFv6Z0jGKE62SO6pgy2YSa?dl=0
  7. I am going to update shared  folder upon information arrival
  8. find all js code below inline

//<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.13VERSION DC 15.010.20056
proXI-version.jpgreaderDC-version.jpg

Now compare results


Button 1 ->ADDED 1  OK in both Acrobates


Button 2 ->ADDED 2  OK in both Acrobates


ADOBE PRO XIADOBE READER DC
Button3 - > ADDED 3 - OKButton3->ADDED 3 - page 8 is broken
proXI-added3 tpl.jpgreaderDC-added3 tpl.jpg
Button4->ADDED 4 - OKButton4->ADDED 4 - pages 8,9  BROKEN
proXI-added4 tpl.jpgreaderDC-added4 tpl.jpg

MORE WEIRD STUFF

  1. SAVE PDF WITH  ADDED 4 PAGES FROM READER
  2. OPEN IN ADOBE XI
  3. SCROLL TO PAGE 7
  4. Error reading (14)
  5. Zoom jumps to 5983%

    TEMPLATE_SPAWN_DC_ISSUE_SAVED _FROM_READER_OPEN_IN_PRO.jpg
TOPICS
Acrobat SDK and JavaScript , Windows
3.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Feb 16, 2016 Feb 16, 2016

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.

Translate
Community Beginner ,
Jan 22, 2016 Jan 22, 2016

just confirmed exact same bug in Reader DC for Mac OS

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 22, 2016 Jan 22, 2016

There is something wrong with your document. It doesn't create the field "RawDataText" on all spawned pages.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 22, 2016 Jan 22, 2016

exactly. this is why i am filing this issue.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 22, 2016 Jan 22, 2016

When I create a new document with the actual Adobe Acrobat DC the field will repeat on all spawned pages.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 22, 2016 Jan 22, 2016
  • Create PDF in Adobe Pro XI
  • Open in Adobe Reader DC
  • Watch the bug
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 22, 2016 Jan 22, 2016

I don't use this old version of Acrobat.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 22, 2016 Jan 22, 2016

why did you bother to answer then?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 22, 2016 Jan 22, 2016

When you don't want my help then I give up.

You say it is a bug in DC. But it isn't.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 22, 2016 Jan 22, 2016

Wait.

  • i created PDF in Adobe Pro XI fine
  • it works fine in Adobe Reader XI
  • it fails in Adobe Reader DC

where is the bug?

Conditions:

  • PDF is Portable Document Format. it should not depend on software i use
  • i do not have Adobe Pro DC license and not going to obtain one.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 22, 2016 Jan 22, 2016

I just tried this with Adobe Reader DC on Mac OS X:

MORE WEIRD STUFF

  1. SAVE PDF WITH  ADDED 4 PAGES FROM READER
  2. OPEN IN ADOBE XI
  3. SCROLL TO PAGE 7
  4. Error reading (14)
  5. Zoom jumps to 5983%

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 22, 2016 Jan 22, 2016

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






Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 22, 2016 Jan 22, 2016

Looks like that Acrobat Reader DC and Adobe Acrobat DC doesn't like templates created by Acrobat XI.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 22, 2016 Jan 22, 2016

Acrobat DC  like templates created by Acrobat XI.

It displayed properly

They got peculiar bug  with spawning

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 22, 2016 Jan 22, 2016

Create the template with Adobe Acrobat DC and there is no bug with spawning.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 22, 2016 Jan 22, 2016
  • I like PRO Xi better
  • I do not have money for DC
  • DC version 2015.009.20069  worked fine
  • latest DC update brought this issue
  • any other ideas?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 22, 2016 Jan 22, 2016

Did you report the bug?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 22, 2016 Jan 22, 2016

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 22, 2016 Jan 22, 2016

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 16, 2016 Feb 16, 2016

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 19, 2016 Feb 19, 2016
LATEST

issue Looks  fixed in 15.010.20059


fixed_in_15.010.20059.jpg

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 22, 2016 Jan 22, 2016

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines