[ https://issues.apache.org/jira/browse/LUCENENET-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12779266#action_12779266 ]
Nicholas Paldino commented on LUCENENET-278: -------------------------------------------- If these patches, as well as the patch for issue LUCENENET-277 is applied, then the tests in TestQueryParser will run, with three failing (TestCJK, TestDateRange and TestLegacyDateRange). Note that if you ONLY apply the patch from LUCENENET-277, most tests will pass, and the same three will fail. However, with the above patches, the tests will fail because the comparison of the actual queries fails, and not because the queries were never created in the first place (due to the error in DateField). > Instances of DateField class cannot be created. > ----------------------------------------------- > > Key: LUCENENET-278 > URL: https://issues.apache.org/jira/browse/LUCENENET-278 > Project: Lucene.Net > Issue Type: Bug > Reporter: Nicholas Paldino > Priority: Blocker > Attachments: DateField.patch, SupportClass.patch > > > The DateFIeld class has a line which is called on object creation (it is in a > field assignment): > System.Convert.ToString(1000L * 365 * 24 * 60 * 60 * 1000, 36).Length; > Which ends up throwing an exception and prevents instances of the class from > being called. > This currently prevents some of the test cases from executing correctly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.