Environment
Jmix version: 2.7.999-SNAPSHOT
Jmix Studio Plugin Version: 2.8.SNAPSHOT8049-252
IntelliJ version: IntelliJ IDEA 2025.2.6 (Ultimate Edition)
Bug Description
The error contains a groovy script from the previous Report configuration value
Video:

Steps To Reproduce
- Create a project with Reports add-on
- Create the Report for list of entities.
- Add new band with Groovy script.
- Press Save.
- Change the Dataset type to the JSON.
- Fill "JSON path query" field as
$.deb[**].
- Fill "Groovy script" field.
- Press Save.
- Run the report.
Groovy script1:
import io.jmix.core.DataManager
import qa.jmix.flowui_smoke.entity.Product
def users = dataManager.load(Product)
.all()
.list()
def result = []
users.each { p ->
result.add([
name: p.name
])
}
return result
Groovy script2:
return '''
{
"deb": {
"product": {
"name": "ProductName", "price": "23.45"
}
}
}
'''
Actual Behavior
There is the error message that contains Groovy script from p.3.
Expected Behavior
The error message should contain Groovy script from p.7.
Environment
Jmix version: 2.7.999-SNAPSHOT
Jmix Studio Plugin Version: 2.8.SNAPSHOT8049-252
IntelliJ version: IntelliJ IDEA 2025.2.6 (Ultimate Edition)
Bug Description
The error contains a groovy script from the previous Report configuration value
Video:
Steps To Reproduce
$.deb[**].Groovy script1:
Groovy script2:
Actual Behavior
There is the error message that contains Groovy script from p.3.
Expected Behavior
The error message should contain Groovy script from p.7.