From dc56f0674777248623506770d30adcb9388e5b4c Mon Sep 17 00:00:00 2001 From: simonbrandhof Date: Fri, 8 Oct 2010 16:41:13 +0000 Subject: [PATCH] SONAR-1843 The webservice /api/properties fails when requested format is XML --- .../webapp/WEB-INF/app/controllers/api/properties_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/properties_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/properties_controller.rb index 2da181c18d9..dafcc01e899 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/properties_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/properties_controller.rb @@ -100,7 +100,7 @@ class Api::PropertiesController < Api::RestController xml.instruct! xml.properties do properties.each do |property| - xml << property.to_xml + property.to_xml(xml) end end end -- 2.39.5