Skip Menu |

This queue is for tickets about the VUser-Google-ProvisioningAPI CPAN distribution.

Report information
The Basics
Id: 50556
Status: resolved
Priority: 0/
Queue: VUser-Google-ProvisioningAPI

People
Owner: Nobody in particular
Requestors: csr2 [...] st-andrews.ac.uk
Cc:
AdminCc:

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



Subject: User update fails when password contains quotation marks
Date: Fri, 16 Oct 2009 11:28:27 +0100
To: bug-VUser-Google-ProvisioningAPI [...] rt.cpan.org
From: Chris Reeves <csr2 [...] st-andrews.ac.uk>
package VUser::Google::ProvisioningAPI::V2_0; our $VERSION = '0.24'; # /usr/local/bin/perl -v This is perl, v5.8.8 built for sun4-solaris # uname -a SunOS alyx 5.10 Generic_118833-17 sun4u sparc SUNW,Sun-Fire-V490 ============================================================================== We are using the following code to update a user's password (after creating the ProvisioningAPI object in $self->{google}): my $updateEntry = VUser::Google::ProvisioningAPI::V2_0::UserEntry->new(); $updateEntry->Password($pass); my $userEntry = $self->{google}->UpdateUser($user, $updateEntry); When an update is attempted to set a password containing the double-quote character ("), we receive the following error: File does not exist: Element type &amp;quot;apps:login&amp;quot; must be followed by either attribute specifications, &amp;quot;&amp;gt;&amp;quot; or &amp;quot;/&amp;gt;&amp;quot;. at /usr/local/lib/perl5/site_perl/5.8.8/VUser/Google/ProvisioningAPI/V2_0.pm line 443 I'm assuming that the double-quotes aren't being correctly escaped in the XML, or something similar. This may be a bug in the ProvisioningAPI, in the XML module, or elsewhere. I'm filing it against the ProvisioningApi in the first instance, but feel free to pass it on as you see fit. :-) Thanks, Chris -- The University of St Andrews is a charity registered in Scotland : No SC013532
Moving bug report to http://code.google.com/p/vuser/issues/detail?id=10. Please see that URL for updates. On Fri Oct 16 06:29:27 2009, csr2@st-andrews.ac.uk wrote: Show quoted text
> > package VUser::Google::ProvisioningAPI::V2_0; > our $VERSION = '0.24'; > > # /usr/local/bin/perl -v > This is perl, v5.8.8 built for sun4-solaris > > # uname -a > SunOS alyx 5.10 Generic_118833-17 sun4u sparc SUNW,Sun-Fire-V490 > >
============================================================================== Show quoted text
> > We are using the following code to update a user's password (after > creating the > ProvisioningAPI object in $self->{google}): > my $updateEntry = VUser::Google::ProvisioningAPI::V2_0::UserEntry-
> >new();
> $updateEntry->Password($pass); > my $userEntry = $self->{google}->UpdateUser($user, $updateEntry); > > When an update is attempted to set a password containing the double- > quote > character ("), we receive the following error: > File does not exist: Element type &amp;quot;apps:login&amp;quot; > must be followed by either attribute specifications, > &amp;quot;&amp;gt;&amp;quot; or &amp;quot;/&amp;gt;&amp;quot;. at >
/usr/local/lib/perl5/site_perl/5.8.8/VUser/Google/ProvisioningAPI/V2_0.pm Show quoted text
> line 443 > > I'm assuming that the double-quotes aren't being correctly escaped in > the XML, > or something similar. This may be a bug in the ProvisioningAPI, in the > XML > module, or elsewhere. I'm filing it against the ProvisioningApi in the > first > instance, but feel free to pass it on as you see fit. :-) > > Thanks, > Chris