|
Rank: Member Groups: Member
Joined: 3/6/2016 Posts: 19
|
Hi
I just upgraded to the latest version of EO PDF from Nuget and getting a new error when generating PDF's. The process picks up and existing PDF and fills in the field and saves a new version of it.
It has been working with the 2016 version of EO PDF. However today morning, I upgraded the EO PDF to the latest and greatest available in Nuget and started getting this error. As part of the upgrade, we remove the code to use classic engine since it is not supported. Here are some details
Message : "Property 'I' can not be empty." string
Stacktrace : at EO.Internal.a5a.a[a](String A_0, Boolean A_1) at EO.Pdf.PdfListField.b() at EO.Pdf.PdfRadioButtonGroup.b() at EO.Internal.gf.b() at EO.Internal.hb.b() at EO.Pdf.PdfDocument.b() at EO.Pdf.PdfDocument.Save(String fileName) at Fit2Work.Web.Helpers.ConsentFormGeneratorHelper.CreateAndSaveNewZealandConsentForm(Person person, String signatureData, ConsentForm existingNzConsentForm, Boolean isGoldCheck) at Fit2Work.Web.Helpers.CheckHelper.GenerateConsentForms(Controller controller, Person person, List`1 checksToHaveConsentRegenarted, String signatureData) at Fit2Work.Web.Controllers.PreEmploymentController.Review(String encPersonId, String applicantSignature)
I dug through the existing PDF and found no RadioButtonGroup or ListField named I. Is this error pointing to something else or is it related to browser rendering?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Hi,
We will need to look into the file in question in order to give you accurate answer. Can you use the contact us page to send a test file to us? Please also let us know which field you are trying to fill.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 3/6/2016 Posts: 19
|
Hi
I have just submitted the form via your contact page, with the sample code.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Hi,
This is just to let you know that we have found the root of the problem. This will be resolved in our next build. We will reply again when the new build is available.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 3/6/2016 Posts: 19
|
Hi
Thank you for the response. Appreciate the fix. Any idea what the problem is?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Hi,
The issue is for list field there is an "I" property that the PDF specification indicates that it is required. This property is used to indicates the current selected item index. However this field does not exist in your file. Our early version does not read this property at all, thus it is unable to read or set the current selected item index property. Our latest version addressed this issue and does read this field so that you will be able to read or set the current selected item index, but it throws when the field does not exist since the specification says it is required. We have changed our code to ignore this problem since it is minor and it should not prevent the whole file from being loaded.
Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Hi,
This is just to let you know that we have posted a new build that should resolve this issue. You can download the new build from our download page. Please take a look and let us know how it goes.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 3/6/2016 Posts: 19
|
Hi
Thank you for the fix, appreciate the quick response. I updated the library from Nuget and it seems to have fixed the issue. Can I work on the assumption that this is the same fix you applied on the download page ? The version I am looking at is 19.2.11.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Yes. They are the same version.
|
|
Rank: Member Groups: Member
Joined: 3/6/2016 Posts: 19
|
Thank you, it resolved the issues.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Great. Thanks for confirming!
|
|