Skip Menu |

This queue is for tickets about the Finance-Currency-Convert-XE CPAN distribution.

Report information
The Basics
Id: 67138
Status: resolved
Worked: 5 min
Priority: 0/
Queue: Finance-Currency-Convert-XE

People
Owner: robert [...] mckay.com
Requestors: delta [...] lackas.net
Cc: delta [...] lackas.net
AdminCc:

Bug Information
Severity: Critical
Broken in:
  • 0.15
  • 0.16
  • 0.17
Fixed in: (no value)



CC: delta [...] lackas.net
Subject: There is no form named "ucc"
Hello Barbie, Since today, I get this error message, suggesting that XE has changed their web forms: There is no form named "ucc" at .../perl5/site_perl/5.10.1/WWW/Mechanize.pm line 1899, line 172. Thanks for looking into it. Christian
On Fri Apr 01 06:46:46 2011, DELTA wrote: Show quoted text
> Hello Barbie, > > Since today, I get this error message, suggesting that XE has changed > their web forms: > > There is no form named "ucc" at > .../perl5/site_perl/5.10.1/WWW/Mechanize.pm line 1899, line 172. > > Thanks for looking into it. > Christian
This bug can be fixed by a one line modification to Finance/Currency/Convert/XE.pm. You just need to swap the line that says form_name => 'ucc', with form_number => 2, --- ./lib/Finance/Currency/Convert/XE.pm 2011-03-14 14:49:40.000000000 +0000 +++ /usr/local/share/perl/5.10.0/Finance/Currency/Convert/XE.pm 2011-04-01 15:50:02.000000000 +0100 @@ -245,7 +245,7 @@ # complete and submit the form $web->submit_form( - form_name => 'ucc', + form_number => 2, fields => { 'From' => $params{source}, 'To' => $params{target}, 'Amount' => $params{value} } ); That got me back up and running anyway.
- Fixed in version 0.19