[MOBY-guts] biomoby commit

Eddie Kawas kawas at dev.open-bio.org
Fri May 9 20:21:49 UTC 2008


kawas
Fri May  9 16:21:48 EDT 2008
Update of /home/repository/moby/moby-live/Perl/MOSES-MOBY/lib/MOSES/MOBY/Cache
In directory dev.open-bio.org:/tmp/cvs-serv19562/Perl/MOSES-MOBY/lib/MOSES/MOBY/Cache

Modified Files:
	Central.pm 
Log Message:
fixed bug that occurs when a registry url is specified. The bug is that the endpoint and namespace end up being the registry url and this causes a failure when the SOAP calls are made.
moby-live/Perl/MOSES-MOBY/lib/MOSES/MOBY/Cache Central.pm,1.5,1.6
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOSES-MOBY/lib/MOSES/MOBY/Cache/Central.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- /home/repository/moby/moby-live/Perl/MOSES-MOBY/lib/MOSES/MOBY/Cache/Central.pm	2008/04/29 19:02:37	1.5
+++ /home/repository/moby/moby-live/Perl/MOSES-MOBY/lib/MOSES/MOBY/Cache/Central.pm	2008/05/09 20:21:48	1.6
@@ -213,7 +213,7 @@
 sub _namespace {
     my ($self, $registry) = @_;
     $registry ||= $self->registry;
-    return $registry if $registry =~ m"^http://";
+    return "http://localhost/MOBY/Central" if $registry =~ m"^http://";
     my $reg = $self->registries->get ($registry);
     return $reg->{namespace} if $reg;
     return $self->registries->get ('default')->{namespace};




More information about the MOBY-guts mailing list