IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17658


Ignore:
Timestamp:
May 13, 2008, 1:05:48 PM (18 years ago)
Author:
jhoblitt
Message:

in Nebulous::Client->stat(), handle the SOAP quirk of thinking an "undef" return is a fault (even when no fault code is set).

Location:
trunk/Nebulous
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/Changes

    r17645 r17658  
    22
    330.09
     4    - in Nebulous::Client->stat(), handle the SOAP quirk of thinking an "undef"
     5      return is a fault (even when no fault code is set).
    46    - add ->setxattr_object(), ->getxattr_object(), ->listxattr_object(),
    57      ->removexattr_object()
  • trunk/Nebulous/bin/neb-touch

    r17643 r17658  
    33# Copyright (C) 2007-2008  Joshua Hoblitt
    44#
    5 # $Id: neb-touch,v 1.8 2008-05-13 00:09:06 jhoblitt Exp $
     5# $Id: neb-touch,v 1.9 2008-05-13 23:05:48 jhoblitt Exp $
    66
    77use strict;
     
    1111$VERSION = '0.01';
    1212
     13use SOAP::Lite trace => 'debug';
    1314use Nebulous::Client;
    1415
  • trunk/Nebulous/lib/Nebulous/Client.pm

    r17645 r17658  
    11# Copyright (c) 2004-2008  Joshua Hoblitt
    22#
    3 # $Id: Client.pm,v 1.47 2008-05-13 00:27:28 jhoblitt Exp $
     3# $Id: Client.pm,v 1.48 2008-05-13 23:05:48 jhoblitt Exp $
    44
    55package Nebulous::Client;
     
    904904    my $stats = $response->result;
    905905
     906    # SOAP can't actually send back a perl "undef" so what we get is an empty
     907    # string to indicate the key doesn't exist but there is no error.
     908    if ($stats eq "") {
     909        $stats = undef;
     910    }
     911
    906912    $log->debug( "leaving" );
    907913
Note: See TracChangeset for help on using the changeset viewer.