apache / apache/grails-core

Config not reloaded

Open
#11,044 1 comment 0 reactions 0 assignees View on GitHub
status: awaiting feedback
Dominant language
Groovy
Stars
2.9k
Forks
975
Avg merge
1d 22h
Merged PRs (30d)
92

Description

### Task List

- [x] Steps to reproduce provided
- [x] Full description of the issue provided (see below)

### Steps to Reproduce
1. Open any project with an inline plugin
2. Change any config property in project's `application.groovy`
3. Debug `onConfigChange` in plugin file

### Expected Behaviour
`event.source` should contain the config with the changed value

### Actual Behaviour
It doesn't reload config

### Environment Information

- **Operating System**: Windows 10
- **Grails Version:** 3.3.6
- **JDK Version:** 1.8.0_171

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with an inline plugin by changing a property in the project's application.groovy and debugging the plugin's onConfigChange callback. Trace why event.source does not contain the changed value. Done means the callback receives the reloaded configuration after the property changes on Grails 3.3.6.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.