[
https://issues.apache.org/jira/browse/BEANUTILS-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Niall Pemberton resolved BEANUTILS-86.
--------------------------------------
Resolution: Fixed
StringArrayConverter is now deprecated in favour of the new ArrayConverter
implementation (which is now the registered default) which does not have this
issue
> [beanutils] StringArrayConverter does not handle long[] input
> -------------------------------------------------------------
>
> Key: BEANUTILS-86
> URL: https://issues.apache.org/jira/browse/BEANUTILS-86
> Project: Commons BeanUtils
> Issue Type: Bug
> Components: ConvertUtils & Converters
> Environment: Operating System: All
> Platform: All
> Reporter: Jarek Bojar
> Fix For: 1.8.0
>
> Attachments: StringArrayConverter.patch
>
>
> StringArrayConverter does not handle properly long[], double[] and other
> arrays
> of builtin types. In fact it handles properly only int[] arrays. It is
> important
> to improve this functionality, because this converter is used by
> BeanUtils.copyProperties(...) method, which is often used to copy data between
> ActionForms and data beans in both directions. In current state it handles
> properly copying from ActionForms containing String[] arrays to data beans
> containing int[], long[] etc. arrays, but not in opposite direction.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]