Work around Moose bug RT#7536 which breaks Catalyst::Controller::DBIC::API
Alexander Hartmaier [Tue, 15 May 2012 10:45:57 +0000 (12:45 +0200)]
Changes
lib/Catalyst/Request.pm

diff --git a/Changes b/Changes
index ecfb766..0362ace 100644 (file)
--- a/Changes
+++ b/Changes
@@ -17,6 +17,9 @@
     for backward compatibility. This fixes issues with behaviour changes
     in bleadperl. RT#76437
 
+  - Work around Moose bug RT#7536 which breaks
+    Catalyst::Controller::DBIC::API.
+
  Documentation:
   - Fix documentation in Catalyst::Component to show attributes and
     calling readers, rather than accessing elements in the $self->{} hash
index d0df0f0..6610358 100644 (file)
@@ -23,13 +23,15 @@ has user => (is => 'rw');
 sub snippets        { shift->captures(@_) }
 
 has _read_position => (
-    init_arg => undef,
+    # FIXME: work around Moose bug RT#75367
+    # init_arg => undef,
     is => 'ro',
     writer => '_set_read_position',
     default => 0,
 );
 has _read_length => (
-    init_arg => undef,
+    # FIXME: work around Moose bug RT#75367
+    # init_arg => undef,
     is => 'ro',
     default => sub {
         my $self = shift;