You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Oliver Heger (JIRA)" <ji...@apache.org> on 2008/11/11 22:25:45 UTC

[jira] Resolved: (CONFIGURATION-349) XMLConfigurationProvider cannot create a class that extends XMLConfiguration

     [ https://issues.apache.org/jira/browse/CONFIGURATION-349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Heger resolved CONFIGURATION-349.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6

Patch applied in revision 713166. Many thanks.

Note: I was unable to port this patch to the configuration2 branch because the new type converters cannot deal with conversions to Class objects. We will have to port this later if necessary.

> XMLConfigurationProvider cannot create a class that extends XMLConfiguration
> ----------------------------------------------------------------------------
>
>                 Key: CONFIGURATION-349
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-349
>             Project: Commons Configuration
>          Issue Type: Bug
>    Affects Versions: 1.5
>            Reporter: Ralph Goers
>            Assignee: Oliver Heger
>             Fix For: 1.6
>
>         Attachments: extended.txt
>
>
> XMLConfigurationProvider in DefaultConfigurationBuilder has default scope. When configuring a new ConfigurationProvider to use a class that extends XMLConfiguration an Exception is raised because the setConfigurationClass method cannot be called from the bean utility classes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.