You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Digy (JIRA)" <ji...@apache.org> on 2007/08/22 23:16:30 UTC

[jira] Created: (LUCENENET-89) NUnit test for TestQueryParser -3

NUnit test for TestQueryParser -3
---------------------------------

                 Key: LUCENENET-89
                 URL: https://issues.apache.org/jira/browse/LUCENENET-89
             Project: Lucene.Net
          Issue Type: Bug
            Reporter: Digy
            Priority: Minor
         Attachments: TestQueryParser.patch

Bug in TestQueryParser.TestLocalDateFormat


Locate has to be set to "en-US" not to "en". Otherwise QueryParser.GetRangeQuery gets an exception
"System.NotSupportedException: Culture 'en' is a neutral culture. It cannot be used in formatting and parsing and therefore cannot be set as the thread's current culture"
and then continues with the default locale(which is not en-US in my case).



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


[jira] Assigned: (LUCENENET-89) NUnit test for TestQueryParser -3

Posted by "George Aroush (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENENET-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Aroush reassigned LUCENENET-89:
--------------------------------------

    Assignee: George Aroush

> NUnit test for TestQueryParser -3
> ---------------------------------
>
>                 Key: LUCENENET-89
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-89
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Digy
>            Assignee: George Aroush
>            Priority: Minor
>         Attachments: TestQueryParser.patch
>
>
> Bug in TestQueryParser.TestLocalDateFormat
> Locate has to be set to "en-US" not to "en". Otherwise QueryParser.GetRangeQuery gets an exception
> "System.NotSupportedException: Culture 'en' is a neutral culture. It cannot be used in formatting and parsing and therefore cannot be set as the thread's current culture"
> and then continues with the default locale(which is not en-US in my case).

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


[jira] Updated: (LUCENENET-89) NUnit test for TestQueryParser -3

Posted by "Digy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENENET-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Digy updated LUCENENET-89:
--------------------------

    Attachment: TestQueryParser.patch

> NUnit test for TestQueryParser -3
> ---------------------------------
>
>                 Key: LUCENENET-89
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-89
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Digy
>            Priority: Minor
>         Attachments: TestQueryParser.patch
>
>
> Bug in TestQueryParser.TestLocalDateFormat
> Locate has to be set to "en-US" not to "en". Otherwise QueryParser.GetRangeQuery gets an exception
> "System.NotSupportedException: Culture 'en' is a neutral culture. It cannot be used in formatting and parsing and therefore cannot be set as the thread's current culture"
> and then continues with the default locale(which is not en-US in my case).

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


[jira] Closed: (LUCENENET-89) NUnit test for TestQueryParser -3

Posted by "George Aroush (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENENET-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Aroush closed LUCENENET-89.
----------------------------------


> NUnit test for TestQueryParser -3
> ---------------------------------
>
>                 Key: LUCENENET-89
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-89
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Digy
>            Assignee: George Aroush
>            Priority: Minor
>         Attachments: TestQueryParser.patch
>
>
> Bug in TestQueryParser.TestLocalDateFormat
> Locate has to be set to "en-US" not to "en". Otherwise QueryParser.GetRangeQuery gets an exception
> "System.NotSupportedException: Culture 'en' is a neutral culture. It cannot be used in formatting and parsing and therefore cannot be set as the thread's current culture"
> and then continues with the default locale(which is not en-US in my case).

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


[jira] Resolved: (LUCENENET-89) NUnit test for TestQueryParser -3

Posted by "George Aroush (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENENET-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Aroush resolved LUCENENET-89.
------------------------------------

    Resolution: Fixed

Applied patch and delivered to 2.1

> NUnit test for TestQueryParser -3
> ---------------------------------
>
>                 Key: LUCENENET-89
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-89
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Digy
>            Assignee: George Aroush
>            Priority: Minor
>         Attachments: TestQueryParser.patch
>
>
> Bug in TestQueryParser.TestLocalDateFormat
> Locate has to be set to "en-US" not to "en". Otherwise QueryParser.GetRangeQuery gets an exception
> "System.NotSupportedException: Culture 'en' is a neutral culture. It cannot be used in formatting and parsing and therefore cannot be set as the thread's current culture"
> and then continues with the default locale(which is not en-US in my case).

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