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

Alex Parvulescu updated JCR-3270:
---------------------------------

    Attachment: JCR-3270.patch

Attaching proposed patch (on trunk jr-core).

I'm wondering if it's as simple as that:
replacing 
name.substring(3, 4).toLowerCase()
with
name.substring(3, 4).toLowerCase(Locale.ENGLISH)
                
> Error instantiating lucene search index in Turkish Regional Setting
> -------------------------------------------------------------------
>
>                 Key: JCR-3270
>                 URL: https://issues.apache.org/jira/browse/JCR-3270
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.2.1
>            Reporter: Adrien DE GEORGES
>         Attachments: JCR-3270.patch
>
>
> There is an issue when changing regional setting to Turkish. 
> It fails when starting a repository, instantiating the lucene search index 
> due to the following issue :
> org.apache.jackrabbit.core.config.ConfigurationException: Configured class 
> org.apache.jackrabbit.core.query.lucene.SearchIndex does not contain a 
> property named indexingConfiguration
>       at
> org.apache.jackrabbit.core.config.BeanConfig.newInstance(BeanConfig.java
> :205)
>       at
> org.apache.jackrabbit.core.config.RepositoryConfigurationParser$1.getQue
> ryHandler(RepositoryConfigurationParser.java:631)
>       at
> org.apache.jackrabbit.core.config.RepositoryConfig.getQueryHandler(Repos
> itoryConfig.java:1013)
> This issue is known in java world, due to lower case conversion of 'I' 
> character (in Turkish locale). JackRabbit source code try to instantiate the 
> indexing configuration during the repository starting and is accessing 
> indexingConfiguration property. It instantiates a setter for this property 
> with a bad 'i' character.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to