Skip Menu |

This queue is for tickets about the REST-Google-Apps-Provisioning CPAN distribution.

Report information
The Basics
Id: 50751
Status: resolved
Priority: 0/
Queue: REST-Google-Apps-Provisioning

People
Owner: sschneid [...] gmail.com
Requestors: zrajm [...] klingonska.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: getAllNicknames() always fail in v1.1.6
Date: Thu, 22 Oct 2009 15:43:42 +0200
To: bug-REST-Google-Apps-Provisioning [...] rt.cpan.org
From: Zrajm C Akfohg <zrajm [...] klingonska.org>
Calling getAllNicknames() always gives the error message "Missing required 'nickname' argument". Looking into the code, the problem is obvious. getAllNicknames() is defined as follows: sub getAllNicknames { return shift->getNickname(); } And getNickname() in turn checks to make sure that it's given at least one "nickname" argument, croaking otherwise. If I comment out this check, getAllNicknames() gives a warning, returns all nicknames, as expected. # foreach my $param ( qw/ nickname / ) { # $arg->{$param} || croak( "Missing required '$param' argument" ); # } /zrajm
Patched by requestor in #50752 - https://rt.cpan.org/Ticket/Display.html?id=50752