History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-23338
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Alexey Kudravtsev
Reporter: Alexander Chernikov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Cannot invoke "Suppress for class / method / statement" quick fix from string with injected language

Created: 16 Nov 07 22:30   Updated: 16 Nov 07 22:36
Component/s: Code Analysis. Inspection
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Issue Links:
Relates
This issue relates to:
IDEADEV-20790 Ctrl + F1 does not work for injected ... Normal Open
 

Build: 8,020


 Description  « Hide
Tested QL and HQL injected languages like:
List result = em.createQuery("select myIdAnn, myNameAnn from CountryAnn where myIdAnn > 0").getResultList();
(QL) and:
List result = session.createQuery("from CountryAnn").list();
(HQL). You need JPA and Hibernate facets to reproduce.

Make sure you have "Hardcoded string literal" inspection On, and no suppressions in tested class. Warning is shown.
Do Alt+Enter on string values with injected laguages. Get some list of suppressions.
This list does not contain "Suppres for" entries, like plain Strings have.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.