Menu

#1356 Failure to import configuration file does not indicate failure to user

New Tickets
open
nobody
None
Eclipse
3-Major
Bug
4.0.5.v20141105-1906
2015-05-19
2015-05-19
Phil
No

In the eclipse plugin, the window to import rules from a file does not tell the user when a file fails to load. It just appears that they cannot import the file, there are no UI changes before and after a file is selected that would indicate an error. The user must dig through the eclipse log to determine what the error is.

Steps to reproduce.
1) Window -> Preferences -> PMD -> Rule Configuration
2) Click import icon (which actually looks like an export icon)
3) Choose PMD file with some sort of error in it (like excluding a rule that does not exist)
4) No rules show up... but there is no reason or indication why

Suggested changes
1) Display when a file fails to load, display to the user a dialog that indicates that it failed to load the file
2) In the displayed dialog include a message as to what (or atleast where to look) the error message is

Discussion


Log in to post a comment.