why jql functions call getvalues() before validate() and getvalues() called twice??

Deleted user March 12, 2018

Testcase key documantation remain

 

public List<QueryLiteral> getValues(QueryCreationContext queryCreationContext, FunctionOperand operand, TerminalClause terminalClause)

{

//First execution comes here.

//third execution comes here.

}

 

public MessageSet validate(ApplicationUser searcher, FunctionOperand operand, TerminalClause terminalClause) {

//second execution comes here.

}

 

Why this execution steps is following in place of first validation and then get value.??

1 answer

0 votes
Ricardo Herrera October 12, 2020

I also observe this behavior, any idea why this happens?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events