Hello,
I am using the updated develop branch and getting the following error when trying to populate a FormStep with results from the last run of the task:
rx.exceptions.OnErrorNotImplementedException: StepResult must be StepResult<StepResult>,
which is thrown by the function
protected void validateStepAndResult(Step step, StepResult stepResult)
in FormStepLayout.java when checking if the stepResult is an instance of StepResult. I am getting to this point by getting the latest task result from my appDatabase and then adding it to the intent with intent.putExtra(EXTRA_TASK_RESULT, taskResult).
The function protected void validateStepAndResult(Step step, StepResult stepResult) is getting the values of the results from the stepResult as follows:
for (Object resultObj : stepResult.getResults().values())
therefore making resultObj a LinkedHashMap.
Am I missing something here? Is there a different way of populating steps with results from previous runs of the same task?
Thanks!
Hello,
I am using the updated
developbranch and getting the following error when trying to populate a FormStep with results from the last run of the task:rx.exceptions.OnErrorNotImplementedException: StepResult must be StepResult<StepResult>,which is thrown by the function
protected void validateStepAndResult(Step step, StepResult stepResult)in FormStepLayout.java when checking if the stepResult is an instance of StepResult. I am getting to this point by getting the latest task result from my appDatabase and then adding it to the intent with
intent.putExtra(EXTRA_TASK_RESULT, taskResult).The function
protected void validateStepAndResult(Step step, StepResult stepResult)is getting the values of the results from the stepResult as follows:for (Object resultObj : stepResult.getResults().values())therefore making resultObj a LinkedHashMap.
Am I missing something here? Is there a different way of populating steps with results from previous runs of the same task?
Thanks!