File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -673,6 +673,8 @@ sub get_existent_id{
673
673
$id = $self -> test_machine-> get_id_from_created($self -> created-> {$collection_name }-> {values }-> [0]);
674
674
}elsif (exists $self -> loaded-> {$collection_name }){
675
675
$id = $self -> test_machine-> get_id_from_created($self -> loaded-> {$collection_name }-> [0]);
676
+ }elsif (exists $self -> data-> {$collection_name }-> {process_cycled }){
677
+ $id = $self -> data_default-> {$self -> data-> {$collection_name }-> {default }}-> {id };
676
678
}
677
679
return $id
678
680
}
@@ -731,7 +733,7 @@ sub create{
731
733
if ($parents_in -> {$collection_name }){
732
734
if ($self -> data-> {$collection_name }-> {default }){
733
735
$self -> data-> {$collection_name }-> {process_cycled } = {' parents' => $parents_in };
734
- return $self -> data_default -> { $self -> data -> { $collection_name } -> { default }} -> { id } ;
736
+ return ;
735
737
}else {
736
738
die (' Data absence' , Dumper([$collection_name ,$parents_in ]));
737
739
}
You can’t perform that action at this time.
0 commit comments