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

Key: IDEADEV-2560
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Maxim Shafirov
Reporter: Evan Jehu
Votes: 2
Watchers: 1
Operations

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

Optimize imports generates import="null" in jsp page

Created: 23 Aug 05 19:01   Updated: 27 Aug 06 22:05
Component/s: None
Fix Version/s: Demetra 5646

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Apple 2 processor G5 with OSX 10.4 (tiger)
Issue Links:
Duplicate
 
This issue is duplicated by:
IDEA-7101 optimize import give me import="null"... Resolved

Build: 3,461
Fixed in build: 5,642
Severity: Low


 Description  « Hide
When optimizing imports on a jsp page with the following header:

<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" import="org.apache.struts.util.MessageResources, org.apache.struts.Globals, java.util.Locale"%>

IDEA generates the following when none of the imports are required:

<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" import="null"%>



 All   Comments   Work Log   Change History      Sort Order:
maas - 15 Feb 06 13:57
still a problem in build 4155

<%@ page language="java" import="java.util.List"%>

results in

<%@ page language="java" import="null"%>


Mark Woon - 05 Aug 06 05:31
This is still a problem in version 5.1.2 (build #4267).

Please raise the severity level on this issue. When using "optimize imports" when commiting, this causes major problems since it effectively breaks the JSP page invisibly during the commit.