Skip to content

Autocorrect to add check to configuration does not put string params in quotes #51

Open
@GrahamPearsonAvaloq

Description

@GrahamPearsonAvaloq

Actual Result:

check configuration name {
catalog com.mycompany.it.sca.scripting.ScriptingChecksCatalog {
default ParameterNameLacksPrefix (prefix = i_)
}
}
Error:
no viable alternative at input 'i_'

Expected Result:

check configuration name {
catalog com.mycompany.it.sca.scripting.ScriptingChecksCatalog {
default ParameterNameLacksPrefix (prefix = "i_")
}
}

Steps to Reproduce:

Deploy the following check:
live warning ParameterNameLacksPrefix "Parameter name lacks prefix" (String prefix = "i_")
message "Parameter name {0} must start with {1}"
{
}

Create the following check configuration:
check configuration name {
catalog com.mycompany.it.sca.scripting.ScriptingChecksCatalog {

}
}

In the check configuration, use autocomplete to add the check.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions