[
https://jira.jboss.org/jira/browse/DNA-283?page=com.atlassian.jira.plugin...
]
Randall Hauch commented on DNA-283:
-----------------------------------
Actually, I think the problem starts in the RepositoryService.createRepositorySource(...)
method in the "dna-repository" projection. The code (approximately line 290 of
revision 723) calls the "isMultiple()" method on the Property to see if there
are more than one value, and supplies an array to the reflection utility when there is
multiple values.
This could be fixed one of two ways. The first approach would be to catch the exception
in "createRepositorySource(...)" and retry the reflection utility with an array
of values. Another approach would be to change the reflection utility
(org.jboss.dna.common.util.Reflection in "dna-common") to support retrying any
method signatures with an array in place of any single-valued parameter. The former is
probably the easiest, but the latter is probably the more correct way to do this.
fileSystemPaths property value is ignored for FileSystemSources
configured through XML
--------------------------------------------------------------------------------------
Key: DNA-283
URL:
https://jira.jboss.org/jira/browse/DNA-283
Project: DNA
Issue Type: Bug
Components: Connectors
Affects Versions: 0.4
Reporter: Yaron Goldstein
Fix For: 0.4
Attachments: configRepository.xml
The fileSystemPaths property value is ignored for FileSystemSources configured through
XML.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira