Skip to content

Commit

Permalink
BZ 821345: product name now appears instead of a '#'
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitri Dolguikh committed Sep 21, 2012
1 parent 4954390 commit 145de82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/promotion_changeset.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def apply(options = { })
repos_to_be_promoted.each do |repo|
if not self.environment.products.to_a.include? repo.product and not products_to_be_promoted.include? repo.product
raise _("Please add '%s' product to the changeset '%s' if you wish to promote repository '%s' with it.") %
[repo.product, self.name, repo.name]
[repo.product.name, self.name, repo.name]
end
end

Expand Down

0 comments on commit 145de82

Please sign in to comment.