On 12/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Author: rinku
Date: Sun Dec 24 00:12:41 2006
New Revision: 490000

URL: http://svn.apache.org/viewvc?view=rev&rev=490000
Log:
o  updates to store unit tests for refactorings.

Modified:

@@ -896,7 +902,9 @@
     {
         try
         {
-            store.getProject( project.getId() );
+            // TODO: Review! Since the Project key is unique only within a 
group
+            // shouldn't we specify the Group Key as well for deletion.
+            store.getProject( new GroupProjectKey(null, project.getKey() ) );
             fail( "Project should no longer exist" );
         }
         catch ( ContinuumObjectNotFoundException expected )




yes, most definitely we need to make sure these checks pull the group
key into context, otherwise we'll end up with arrays of results
instead of a particular unique project.  I was just looking for
instances of this when I saw your comment so happy we both had it in
mind.

jesse


--
jesse mcconnell
[EMAIL PROTECTED]

Reply via email to