Преглед изворни кода

HUE-706 [beeswax] Adding a resource to a query fails

Romain Rigaux пре 13 година
родитељ
комит
a291f12657
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      apps/beeswax/src/beeswax/views.py

+ 1 - 1
apps/beeswax/src/beeswax/views.py

@@ -212,7 +212,7 @@ def make_beeswax_query(request, hql, query_form=None):
     for f in query_form.file_resources.forms:
       type = f.cleaned_data["type"]
       # Perhaps we should have fully-qualified URIs here already?
-      path = request.fs.uri + f.cleaned_data["path"]
+      path = request.fs.fs_defaultfs + f.cleaned_data["path"]
       query_msg.configuration.append(
         django_mako.render_to_string("hql_resource.mako", dict(type=type, path=path)))
     for f in query_form.functions.forms: