[ 
https://issues.apache.org/jira/browse/OFBIZ-13312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18037990#comment-18037990
 ] 

ASF subversion and git services commented on OFBIZ-13312:
---------------------------------------------------------

Commit 8e492c2163dacbbbfe8cbc5f8704b5816a603e15 in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=8e492c2163 ]

Improved: getFields() in AcroFields has been deprecated (OFBIZ-13312)

After moving from lowagie to openPDF (OFBIZ-13300),
getFields() in AcroFields is deprecated.

Contrary to what I wrote in OFBIZ-13306, it's not related to
"Upgrade java version to 21"

This fixes it (present only in PdfSurveyServices class).

I have also improved pdfStamper.close() missing in 2 places
(almost fixed but OFBIZ-13300 was not backported, better to keep things simple).
In one case I added it, in the other I used try-with-ressource.

I also put a comment about openpdf:1.3.43 being the last version with
com.lowagie.text embedded that is used (only) by PdfSurveyServices class.

Also some formatting


> getFields() in AcroFields has been deprecated
> ---------------------------------------------
>
>                 Key: OFBIZ-13312
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13312
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: content
>    Affects Versions: Upcoming Branch
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Major
>             Fix For: Upcoming Branch
>
>
> After moving from lowagie to openPDF (OFBIZ-13300), getFields() in AcroFields 
> is deprecated. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to