Update of /var/cvs/src/org/mmbase/storage/implementation/database In directory james.mmbase.org:/tmp/cvs-serv28441
Modified Files: DatabaseStorageManager.java Log Message: this fixes one on of the failing test-cases See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/storage/implementation/database Index: DatabaseStorageManager.java =================================================================== RCS file: /var/cvs/src/org/mmbase/storage/implementation/database/DatabaseStorageManager.java,v retrieving revision 1.195 retrieving revision 1.196 diff -u -b -r1.195 -r1.196 --- DatabaseStorageManager.java 25 Jul 2008 11:16:34 -0000 1.195 +++ DatabaseStorageManager.java 26 Jul 2008 19:32:27 -0000 1.196 @@ -32,7 +32,7 @@ * * @author Pierre van Rooden * @since MMBase-1.7 - * @version $Id: DatabaseStorageManager.java,v 1.195 2008/07/25 11:16:34 michiel Exp $ + * @version $Id: DatabaseStorageManager.java,v 1.196 2008/07/26 19:32:27 michiel Exp $ */ public class DatabaseStorageManager implements StorageManager { @@ -1170,7 +1170,12 @@ } } else { log.debug("Nothing changed, doing nothing"); - return 1; // should we return 0 if the node does not exist any more? + try { + refresh(node); + return 1; + } catch (StorageNotFoundException snfe) { + return 0; + } } } _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs