db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Schilling (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JDO-582) Test case needed for JDOFatalUserException nested exception argument needs cast to Throwable[]
Date Fri, 12 Sep 2008 03:23:44 GMT

    [ https://issues.apache.org/jira/browse/JDO-582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12630473#action_12630473
] 

Richard Schilling commented on JDO-582:
---------------------------------------

I know I'm close to getting the setup correct.  But, I'm getting two messages now, which the
JDO specification doesn't cover:


Without assigning a name to the <persistence-manager-factory> tag in jdoconfig.xml:
Duplicate PMF name "(anonymous)" found in file:/S:/jdo/trunk/api2/test/schema/jdoconfig/Negative09/9a/META-INF/jdoconfig.xml
and file:/S:/jdo/trunk/api2/test/schema/jdoconfig/Negative09/9b/META-INF/jdoconfig.xml.


And, when I do assign a name (like it is in the other tests):
Duplicate PMF name "name.negative09" found in file:/S:/jdo/trunk/api2/test/schema/jdoconfig/Negative09/9a/META-INF/jdoconfig.xml
and file:/S:/jdo/trunk/api2/test/schema/jdoconfig/Negative09/9b/META-INF/jdoconfig.xml.


The JDO specification has the DTD of the jdoconfig file, but nothing really useful on semantics
of each attribute.

Help ....

> Test case needed for JDOFatalUserException nested exception argument needs cast to Throwable[]
> ----------------------------------------------------------------------------------------------
>
>                 Key: JDO-582
>                 URL: https://issues.apache.org/jira/browse/JDO-582
>             Project: JDO
>          Issue Type: Bug
>          Components: api2, api2-legacy
>            Reporter: Erik Bengtson
>            Assignee: Richard Schilling
>             Fix For: JDO 2 maintenance release 2
>
>         Attachments: 20080710-jdo-582.diff, 20080710-jdo-582.diff, 20080911-jdo-582-JDOHelper.patch,
20080911-jdo-582-JDOHelperConfigTest.patch, 20080911-jdo-582-Negative09.patch, 20080911-jdo-582.patch,
20080911-jdo-582.patch, estedExceptionJDOHelper.patch, Negative09.zip
>
>
> After collecting exceptions from invoking getPersistenceManagerFactory on all implementations,
if no implementation has succeeded in returning a PersistenceManagerFactory, an exception
is thrown, and the argument should be a Throwable[]. Otherwise, it's treated as a failed object
instead of nested exceptions.

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


Mime
View raw message