Skip Menu |

This queue is for tickets about the Etherpad-API CPAN distribution.

Report information
The Basics
Id: 101909
Status: resolved
Priority: 0/
Queue: Etherpad-API

People
Owner: LDIDRY [...] cpan.org
Requestors: joel.savignon [...] xsalto.com
Cc:
AdminCc:

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



Subject: bug when using method create_group_if_not_exists_for
Date: Tue, 03 Feb 2015 16:40:14 +0100
To: bug-Etherpad-API [...] rt.cpan.org
From: Joel Savignon <joel.savignon [...] xsalto.com>
Hi, There's a bug in perl Etherpad::API module in the create_group_if_not_exists_for method. Etherpad returns : "groupMapper is no string". It is due to a change in the Etherpad API myGroupId paramter must be renamed as groupMapper in API.pm at line 191 change $request .= '&myGroupId=' . $my_group_id; by $request .= '&groupMapper=' . $my_group_id; then it works well. Best regards Joel Savignon -- ---------------------------------------------------------------------- Joel Savignon : mailto:joel.savignon@xsalto.com Xsalto : http://www.xsalto.com
Subject: Re: [rt.cpan.org #101909] bug when using method create_group_if_not_exists_for
Date: Tue, 03 Feb 2015 16:58:22 +0100
To: bug-Etherpad-API [...] rt.cpan.org
From: Luc Didry <luc [...] didry.org>
On 03/02/2015 16:40, Joel Savignon via RT wrote: Show quoted text
> Tue Feb 03 10:40:31 2015: Request 101909 was acted upon. > Transaction: Ticket created by joel.savignon@xsalto.com > Queue: Etherpad-API > Subject: bug when using method create_group_if_not_exists_for > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: joel.savignon@xsalto.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=101909 > > > > Hi, > > There's a bug in perl Etherpad::API module in the > create_group_if_not_exists_for method. Etherpad returns : > "groupMapper is no string". > > It is due to a change in the Etherpad API > myGroupId paramter must be renamed as groupMapper > > in API.pm at line 191 change > > $request .= '&myGroupId=' . $my_group_id; > by > $request .= '&groupMapper=' . $my_group_id; > > then it works well. > > Best regards > Joel Savignon >
Hello, Thank you for reporting. I will try to fix it quickly. -- Luc http://www.fiat-tux.fr/ Internet n'est pas compliqué, Internet est ce que vous en faites.
Download signature.asc
application/pgp-signature 819b

Message body not shown because it is not plain text.

Hello, The bug is fixed in version 1.2.10.0 which will soon be available through CPAN (waiting for mirrors to sync). If you want, you can get the sources at https://github.com/ldidry/etherpad-api I updated Etherpad::API to work with the latest version of the Etherpad API, which is 1.2.10. Regards.