You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/08/24 17:08:00 UTC
[jira] [Commented] (PDFBOX-4941)
PDRadioButton.getSelectedExportValues() always returns the first entry
[ https://issues.apache.org/jira/browse/PDFBOX-4941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17183471#comment-17183471 ]
ASF subversion and git services commented on PDFBOX-4941:
---------------------------------------------------------
Commit 1881151 from Tilman Hausherr in branch 'pdfbox/branches/issue45'
[ https://svn.apache.org/r1881151 ]
PDFBOX-4941: increment index when going through export values; expand test
> PDRadioButton.getSelectedExportValues() always returns the first entry
> ----------------------------------------------------------------------
>
> Key: PDFBOX-4941
> URL: https://issues.apache.org/jira/browse/PDFBOX-4941
> Project: PDFBox
> Issue Type: Bug
> Components: AcroForm
> Affects Versions: 2.0.21
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Major
> Fix For: 3.0.0 PDFBox, 2.0.22
>
>
> While writing a test for the radio button example (PDFBOX-4939), I noticed that getSelectedExportValues() returns a list with "a" instead of "c" despite that "c" is selected. The reason for this is that the index is not incremented.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org