Index: t/66relationship.t
===================================================================
--- t/66relationship.t	(wersja 5201)
+++ t/66relationship.t	(kopia robocza)
@@ -8,7 +8,7 @@
 
 my $schema = DBICTest->init_schema();
 
-plan tests => 72;
+plan tests => 73;
 
 # has_a test
 my $cd = $schema->resultset("CD")->find(4);
@@ -262,6 +262,15 @@
 ok($new_artist->in_storage, 'artist inserted');
 ok($new_related_cd->in_storage, 'new_related_cd inserted');
 
+lives_ok( 
+    sub { 
+        my $new_bookmark = $schema->resultset("Bookmark")->new_result( {} );
+        my $new_related_link = $new_bookmark->new_related( 'link', {} );
+    },
+    'No back rel'
+);
+
+
 TODO: {
 local $TODO = "TODOify for multicreate branch";
 my $new_cd = $schema->resultset("CD")->new_result({});
Index: lib/DBIx/Class/ResultSet.pm
===================================================================
--- lib/DBIx/Class/ResultSet.pm	(wersja 5201)
+++ lib/DBIx/Class/ResultSet.pm	(kopia robocza)
@@ -1566,7 +1566,7 @@
     defined $self->{cond}
     && $self->{cond} eq $DBIx::Class::ResultSource::UNRESOLVABLE_CONDITION
   ) {
-    %new = %{$self->{attrs}{related_objects}};
+    %new = %{$self->{attrs}{related_objects}} if $self->{attrs}{related_objects};
   } else {
     $self->throw_exception(
       "Can't abstract implicit construct, condition not a hash"
