Commit ece9006c9e6d6329cc27f10d3e4f52a382fc9412

Authored by Nathanael Jourdane
1 parent 0be39b76
Exists in master

bugFix bad query format.

src/main/java/eu/omp/irap/vespa/epntapclient/votable/controller/VOTableController.java
... ... @@ -134,8 +134,8 @@ public class VOTableController implements VOTableViewListener {
134 134 SortedMap<String, String> parameters = new TreeMap<>();
135 135 parameters.put("REQUEST", Consts.QUERY_REQUEST);
136 136 parameters.put("LANG", Consts.QUERY_LANG);
137   - parameters.put("FORMAT", query);
138   -
  137 + parameters.put("FORMAT", Consts.QUERY_FORMAT);
  138 + parameters.put("QUERY", query);
139 139 Network.sendQuery(url, parameters, voTablePath);
140 140 return voTablePath;
141 141 }
... ...
src/main/java/eu/omp/irap/vespa/epntapclient/votable/utils/Consts.java
... ... @@ -40,6 +40,8 @@ public class Consts {
40 40  
41 41 public static final String QUERY_REQUEST = "doQuery";
42 42  
  43 + public static final String QUERY_FORMAT = "votable";
  44 +
43 45  
44 46 /** Constructor to hide the implicit public one. */
45 47 private Consts() {
... ...