Skip to content

Commit

Permalink
[backend] fixing parameter hand over on package listing on remote ins…
Browse files Browse the repository at this point in the history
…tance project links
  • Loading branch information
adrianschroeter committed Dec 7, 2012
1 parent 710bbe1 commit 3df6d11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/api/test/functional/interconnect_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ def test_read_and_command_tests
assert_xml_tag( :tag => "directory", :children => { :count => 0 } ) # backend does not provide a counter
get "/source/RemoteInstance:BaseDistro2.0:LinkedUpdateProject?expand=1"
assert_response :success
assert_xml_tag( :tag => "entry", :attributes => { :name => "pack2", :originproject => "BaseDistro2.0" } )
assert_xml_tag( :tag => "entry", :attributes => { :name => "pack2_linked", :originproject => "BaseDistro2.0" } )
assert_xml_tag( :tag => "entry", :attributes => { :name => "pack2", :originproject => "RemoteInstance:BaseDistro2.0" } )
assert_xml_tag( :tag => "entry", :attributes => { :name => "pack2_linked", :originproject => "RemoteInstance:BaseDistro2.0" } )
# test binary operations
prepare_request_with_user "king", "sunflower"
post "/build/RemoteInstance:BaseDistro", :cmd => "wipe", :package => "pack1"
Expand Down
2 changes: 1 addition & 1 deletion src/backend/bs_srcserver
Original file line number Diff line number Diff line change
Expand Up @@ -1973,7 +1973,7 @@ sub findpackages {
push @args, 'deleted=1' if $deleted;
push @args, 'expand=1' unless $noexpand || $deleted;
eval {
$r = BSRPC::rpc({'uri' => "$proj->{'remoteurl'}/source/$proj->{'remoteproject'}", 'proxy' => $proxy}, $BSXML::dir);
$r = BSRPC::rpc({'uri' => "$proj->{'remoteurl'}/source/$proj->{'remoteproject'}", 'proxy' => $proxy}, $BSXML::dir, @args);
};
if ($@ && $@ !~ /^404/) {
die($@) unless $nonfatal;
Expand Down

0 comments on commit 3df6d11

Please sign in to comment.