apache / apache/grails-intellij-plugin

In Grails Console, user's input is ignored if certain files are present in user's home directory

Open
#281 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

IDEA version: 2016.3, build #IU-163.7743.44
OS: Linux Mint 17.3 Rosa 64-bit
Grails version: 2.5.1
Java version: 1.8.0_65-b17

The bug emerges during Grails' settings synchronization when user needs to provide confirmation through Grails Console, e.g. in case of a plugin version difference:

`You currently already have a version of the plugin installed <...>. Do you want to downgrade to <...>? [y,n]`

If user's home directory contains a non-empty file named 'y' or 'n', it will get opened in the IDE's editor when 'y' or 'n' is entered, respectively, and the input won't be passed further to Grails. If the file is empty, the input will have no effect at all.

---

*Imported from [IDEA-165373](https://youtrack.jetbrains.com/issue/IDEA-165373) · 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 Grails Console prompt with non-empty and empty files named y or n in the user's home directory, then trace the IntelliJ plugin's console input handling. Done means entering y or n passes the response to Grails without opening those files or otherwise losing the input.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.