apache / apache/grails-intellij-plugin

Grails Run Config: Editing environment variables does not trigger 'Apply'; changes are not saved to XML

Open
#409 0 comments 0 reactions 0 assignees View on GitHub
bug imported-from-youtrack
Dominant language
Java
Stars
17
Forks
4
Avg merge
5d 15h
Merged PRs (30d)
4

Description

## STR
1. Open a Grails project (example attached)
2. Open settings for the Grails run configuration
3. Type something in the 'Environment variables' field

## Expected result
'Apply' button is activated, allowing to save the change

## Actual result
'Apply' button is greyed out

---

## Problem description

When I edit environment variables in the configuration editor, the 'Apply' button is not triggered/activated.

_⚠️ attachment `image.png` was not included in the export_{width=50%}

If I hit 'OK' and open the file in the `.run` directory, the changes are not there.

I am wondering if my changes are actually being used when I run the application.

IU-252.26199.169, JRE 21.0.8+1-b1038.71x64 JetBrains s.r.o., OS Windows 11(amd64) v10.0 , screens 1920x1200 (150%), 2048x1152 (100%), 1920x1080 (100%)

---

*1 attachment(s) referenced here (`image.png`) are not part of the CSV export.*
*Imported from [IDEA-379805](https://youtrack.jetbrains.com/issue/IDEA-379805) · Type: Bug · Votes: 0*
*Comments, attachments, dates and reporter are not part of the export — follow the link above for the full history.*

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Grails run configuration editor and trace how edits to the Environment variables field are detected. Verify that changing the field activates Apply, persists the value to the .run XML file, and remains present when the configuration is reopened.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.