View Issue Details

IDProjectCategoryView StatusLast Update
0004391ScribusOS-Win32public2006-11-06 23:50
ReporterDalford Assigned Tofschmid  
PrioritynormalSeveritymajorReproducibilityrandom
Status closedResolutionfixed 
Platformx86OSwindowsOS Version2000
Product Version1.3.3.4 
Fixed in Version1.3.3.5cvs 
Summary0004391: acrobat 5 responds with javascript errors upon opening file
Descriptioni created a pdf from scribus. upon opening the file in acrobat 5 (full version) i am met with a javascript error.
Steps To Reproducethe field titled date is set to a format of date.
TagsNo tags attached.
Patch

Relationships

related to 0003964 closedplinnell 1.3.4 Release Metabug 
has duplicate 0004393 closed upon opening in acrobat 5 the scribus produced pdf reported javascript errors 
has duplicate 0004392 closed upon opening the scribus produced pdf file javascript errors were announced 
child of 0003831 acknowledged Metabug: PDF Forms 
child of 0004439 closedplinnell 1.3.3.5 Release Metabug 

Activities

2006-10-10 23:00

 

adg-receipt-js-test-2.pdf (3,728,370 bytes)

2006-10-10 23:50

 

adg-receipt-js-test.sla (211,122 bytes)

christoph_s

2006-10-10 23:56

developer   ~0012898

Dwain, there's no need to file a separate report for each file you want to upload. Just go to the "Upload file" section and upload as many files as you think are necessary. See also http://wiki.scribus.net/index.php/How_to_file_a_bug_report

Thanks anyway for reporting!

mhanski

2006-10-11 06:51

developer   ~0012906

Dwain: your pdf form works fine in Adober Reader 7.* (nice form, btw). Also, the uploaded *.sla file exports fine from scribus 1.3.3.4 and doesn't cause any problems in Adobe Reader 7.

However, I think I can reproduce the issue that leads to the error in Acrobat 5. In Scribus: if you go to the field properties for the "form - date" field, click on the "Format" tab, and switch the "Field formatted as" list from "Date" to "Custom", Scribus will automatically add the following custom scripts:

Format:
AFDate_FormatEx(""mm/dd/yy"")

Keystroke:
AFDate_KeystrokeEx(""mm/dd/yy"")

Regardless whether those scripts are right or wrong, the sole behaviour of automatically adding them as custom scripts is clearly wrong: it cannot be assumed, that the "custom" == date (mm/dd/yy). This is worth looking at by the devs.

fschmid

2006-10-11 09:12

developer   ~0012911

Yep, that's due to an error in the Annotations Properties Dialog.

fschmid

2006-10-11 09:33

developer   ~0012912

Should now work properly, if you change the format from "Date" to "Custom" Scribus will add the scripts AFDate_FormatEx(""mm/dd/yy"") and AFDate_KeystrokeEx(""mm/dd/yy"") to the custom scripts fields where you can edit or delete them.

fschmid

2006-10-11 09:36

developer   ~0012913

Or would it be better to leave these fields blank?

mhanski

2006-10-11 09:43

developer   ~0012914

Imho, it would be much better to leave those fields blank, since after the switch to "custom" there is no reason to assume, the field should be validated as a "date" field -- it's just a plain text field and the user should do whatever he wants to do from scratch.

plinnell

2006-10-22 21:36

viewer   ~0013096

"Imho, it would be much better to leave those fields blank, since after the switch to "custom" there is no reason to assume, the field should be validated as a "date" field -- it's just a plain text field and the user should do whatever he wants to do from scratch."

I agree with Maciej that would be correct behaviour.

plinnell

2006-11-06 23:50

viewer   ~0013313

I tested this with Acro 5.0.5/Win32 seems fine now.

Issue History

Date Modified Username Field Change
2006-10-10 23:00 Dalford New Issue
2006-10-10 23:00 Dalford File Added: adg-receipt-js-test-2.pdf
2006-10-10 23:50 christoph_s File Added: adg-receipt-js-test.sla
2006-10-10 23:51 christoph_s Relationship added has duplicate 0004393
2006-10-10 23:52 christoph_s Relationship added has duplicate 0004392
2006-10-10 23:56 christoph_s Note Added: 0012898
2006-10-11 06:51 mhanski Note Added: 0012906
2006-10-11 06:55 mhanski Status new => confirmed
2006-10-11 09:11 mhanski Relationship added child of 0003831
2006-10-11 09:12 fschmid Note Added: 0012911
2006-10-11 09:33 fschmid Note Added: 0012912
2006-10-11 09:36 fschmid Note Added: 0012913
2006-10-11 09:43 mhanski Note Added: 0012914
2006-10-11 14:03 mhanski Status confirmed => assigned
2006-10-11 14:03 mhanski Assigned To => fschmid
2006-10-15 22:47 cbradney Relationship added related to 0003964
2006-10-22 21:36 plinnell Note Added: 0013096
2006-11-02 23:53 cbradney Relationship added child of 0004439
2006-11-05 20:50 fschmid Status assigned => resolved
2006-11-05 20:50 fschmid Fixed in Version => 1.3.3.5cvs
2006-11-05 20:50 fschmid Resolution open => fixed
2006-11-06 23:03 plinnell Status resolved => closed
2006-11-06 23:50 plinnell Note Added: 0013313
2014-10-08 18:38 Kunda Category Win32 => OS-Win32