Skip Menu |

This queue is for tickets about the Maypole CPAN distribution.

Report information
The Basics
Id: 26495
Status: resolved
Priority: 0/
Queue: Maypole

People
Owner: Nobody in particular
Requestors: TEEJAY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 2.11
  • 2.11_pre1
  • 2.11_pre2
  • 2.11_pre3
  • 2.11_pre5
Fixed in:
  • 2.111
  • 2.12



_do_update_or_create is broken in 2.11, $r is passed to update_from_cgi and create_from_cgi.. patch : @@ -125,7 +125,7 @@ # update or create if ($obj) { # We have something to edit - eval { $obj->update_from_cgi( $r => { + eval { $obj->update_from_cgi( $h => { required => $required_cols, ignore => $ignored_cols, }); @@ -134,7 +134,7 @@ $fatal = $@; } else { eval { - $obj = $self->create_from_cgi( $r => { + $obj = $self->create_from_cgi( $h => { required => $required_cols, ignore => $ignored_cols, } ); Thanks to mst for reporting the bug and providing a fix.. This is also fixed in SVN revision 562 for Maypole 2.12