You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrf-dev@ws.apache.org by "Vladimir Dolzhenko (JIRA)" <ji...@apache.org> on 2006/03/16 13:52:58 UTC

[jira] Created: (APOLLO-49) AbstractResourceHome find(resourceId) returns null for persistent resource

AbstractResourceHome find(resourceId) returns null for persistent resource
--------------------------------------------------------------------------

         Key: APOLLO-49
         URL: http://issues.apache.org/jira/browse/APOLLO-49
     Project: WSRF
        Type: Bug
  Components: Other  
 Environment: windows xp
    Reporter: Vladimir Dolzhenko


I think it is due to get(resourceId) do not assign createNewInstanceAndLoad(resourceId) to resource 
i.e:

--- src.orig/java/org/apache/ws/resource/impl/AbstractResourceHome.java	2005-10-25 12:37:58.000000000 +0400
+++ src/java/org/apache/ws/resource/impl/AbstractResourceHome.java	2006-03-16 15:16:32.189367600 +0300
@@ -955,7 +955,8 @@
                                                 getServicePortName(  ) );
          }
 
-         add( createNewInstanceAndLoad( resourceId ) );
+         resource = createNewInstanceAndLoad( resourceId );
+         add( resource );
       }
 
       return resource;


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira