This issue doesn't let download answers using sql templates #4540
Labels
Querying/Native
The SQL/native query editor
Querying/Parameters & Variables
Filter widgets, field filters, variables etc.
.Unable to Reproduce
Bugs
Bug Description :
This issue is with to sql templates. When you create a template it's not compulsory to define a default value. You've a required switch. When this switch is turned off (by default it's turned off), the variable value in the sql template is set to null. Now, when we load the sql template page in question for the first time, it fires the query with the variable as null and throws an error java.lang.NullPointerException. Also, if you then enter a value in the filter widget and hit get answer button, you get the query results but can't download the results. It throws the same error : java.lang.NullPointerException.
This error is not very self explanatory to business users and I believe you're targeting business.
The solution to this problem I believe is either don't fire the query on the sql templates page on it's first load or make default values compulsory.
The text was updated successfully, but these errors were encountered: