Re: [jira] Closed: (CAY-1142) (Single table) Inheritance and Paginated lists
On Dec 2, 2008, at 9:25 PM, Andrey Razumovsky wrote: Strange, I cannot see this issue (and few latest others) in JIRA web interface even if I request all avaliable issues: https://issues.apache.org/cayenne/secure/IssueNavigator.jspa?reset=true&mode=hide&pid=1 This be related to this issue that I discussed with infrastructure. It got resolved this morning: Andrus On Dec 3, 2008, at 8:43 AM, Jeff Turner wrote: On Mon, Dec 01, 2008 at 12:21:55PM +0200, Andrus Adamchik wrote: Getting a bunch of LuceneException's on Cayenne Jira instance (https://issues.apache.org/cayenne/ ). They happen on attempts to close, link, or otherwise modify the issues. Here is one example of such error: An error occurred: org.apache.commons.lang.exception.NestableRuntimeException: com.atlassian.jira.issue.index.IndexException: com.atlassian.bonnie.LuceneException: java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@/var/ local/jira/indexes/cayenne/3.12.2/issues: files: The index directory is empty. It happened on the 24th when Henri was playing with the upgrade scripts. I'm guessing he restored the Cayenne data as a test and reindexed, without changing the index path. I've reindexed JIRA and things should now be working.
Re: [jira] Closed: (CAY-1142) (Single table) Inheritance and Paginated lists
Strange, I cannot see this issue (and few latest others) in JIRA web
interface even if I request all avaliable issues:
https://issues.apache.org/cayenne/secure/IssueNavigator.jspa?reset=true&mode=hide&pid=1
2008/12/2 Andrus Adamchik (JIRA) <[EMAIL PROTECTED]>
>
> [
> https://issues.apache.org/cayenne/browse/CAY-1142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Andrus Adamchik closed CAY-1142.
>
>
>Resolution: Fixed
>
> > (Single table) Inheritance and Paginated lists
> >
> >
> > Key: CAY-1142
> > URL: https://issues.apache.org/cayenne/browse/CAY-1142
> > Project: Cayenne
> > Issue Type: Bug
> > Components: Cayenne Core Library
> >Affects Versions: 3.0M5
> >Reporter: Andrus Adamchik
> >Assignee: Andrus Adamchik
> > Fix For: 3.0M6
> >
> >
> > Looks like using paginated queries results in exceptions and generally
> incorrect behavior when fetching on a superclass in case of single table
> inheritance. (This is not specific to single-table, rather this is the case
> we can easily test). The problem is PersistentListHelper inner class of
> IncrementalFaultList:
> > boolean incorrectObjectType(Object object) {
> > ...
> > if
> (!persistent.getObjectId().getEntityName().equals(rootEntity.getName())) {
> > return true;
> > }
> > return false;
> > }
> > Comparing entity names is not appropriate as an object can be a subclass
> with a different entity name.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
