apache / apache/grails-intellij-plugin
Grails: keys of predefined maps are reported as not resolved
- Dominant language
- Java
- Stars
- 17
- Forks
- 4
- Avg merge
- 5d 15h
- Merged PRs (30d)
- 4
Description
Grails.
[IDEA-49052](https://youtrack.jetbrains.com/issue/IDEA-49052) is fixed, but the following issue exists.
In any controller provide a dummy action like:
```
...
def action1 = {
request.var1 = 0
}
...
```
In IDEA "var1" token is:
a) yellow due to "Access to unresolved expression" inspection (here see probably [IDEA-71635](https://youtrack.jetbrains.com/issue/IDEA-71635)).
b) and also underlined as not resolved.
BTW, inside a web flow in an expression like "flow.var2" var2 is not underlined. But still yellow.
108.804.
---
*Imported from [IDEA-72513](https://youtrack.jetbrains.com/issue/IDEA-72513) · 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
Reproduce the issue in a Grails controller using the dummy action with request.var1 = 0, then compare its highlighting with flow.var2 in a web-flow expression. Start by tracing the unresolved-expression inspection behavior referenced by IDEA-71635. Done means predefined map keys such as var1 are no longer marked unresolved or highlighted yellow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100