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

Key: IDEADEV-26551
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Dmitry Avdeev
Reporter: Grant Gochnauer
Votes: 0
Watchers: 2
Operations

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

Starting in build 7821 Struts-Tiles integration does not work

Created: 07 May 08 02:39   Updated: 14 Jul 08 21:55
Component/s: J2EE.Struts
Fix Version/s: Selena 7.0.5, Diana 8375

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. XML File struts-config.xml (25 kb)
2. XML File tiles-defs.xml (19 kb)
3. XML File web.xml (16 kb)

Image Attachments:

1. screenshot-1.jpg
(51 kb)

2. screenshot-2.jpg
(7 kb)

3. screenshot-3.jpg
(37 kb)

4. screenshot-4.jpg
(23 kb)

5. screenshot-5.jpg
(67 kb)
Environment: Windows Vista

Build: 7,821
Fixed in build: 8,368


 Description  « Hide
In the last EAP build, I got null exceptions working with any file that referenced struts/tiles and now, I can no longer check to enable "tiles" on my struts facet for my web module and all of my tiles defs in my struts config show up as unresolved.

This works in 7.0.3.



 All   Comments   Work Log   Change History      Sort Order:
Grant Gochnauer - 07 May 08 17:56
If I enabled "tiles" (see screenshot 2) it just flips back to unchecked and also adds a duplicated set of tiles defs xml and adds another tiles plugin definition to my struts config pointing to this new tiles def xml.

It seems it's not recognizing my tiles defs at all. This definitely works in 7.0.3


Yann Cébron - 07 May 08 19:56
could you please post the relevant part of the stacktrace from idea.log?

Grant Gochnauer - 13 May 08 16:24
Unfortunately there are no stack traces in the log for this. IntelliJ just doesn't resolve the tiles defs anymore. This just started happening in this EAP build and this works fine in the first couple 7.0.4 builds as well as 7.0.3.

Dmitry Avdeev - 13 May 08 16:39
Could you please provide doctype and root tag name of your tiles-defs.xml?

Grant Gochnauer - 13 May 08 17:36
Dmitry –

This bug started happening after this bug fix here: http://www.jetbrains.net/jira/browse/IDEADEV-26129

I'm going to attach my web.xml, struts and tiles def xml files for you


Grant Gochnauer - 13 May 08 17:37
Here are 3 relevant files. I didn't attach every struts config or every tiles def but this should get you what you need.

Thanks!!


Dmitry Avdeev - 13 May 08 17:54
Thanks Grant, I see the problem. We do not currently support the doctype you have. This will be fixed.
As a workaround, replace it with

<!DOCTYPE tiles-definitions PUBLIC
"-//Apache Software Foundation//DTD Tiles Configuration 1.3//EN"
"http://struts.apache.org/dtds/tiles-config_1_3.dtd">


K Smith - 10 Jul 08 20:02
I'm still having this exact same problem on build 7878.

the workaround:
<!DOCTYPE tiles-definitions PUBLIC
"-//Apache Software Foundation//DTD Tiles Configuration 1.3//EN"
"http://struts.apache.org/dtds/tiles-config_1_3.dtd">

did not work.


Dmitry Avdeev - 14 Jul 08 20:19
Hi Grant, is it fixed for you?

Dmitry Avdeev - 14 Jul 08 20:20
Hi K Smith, could you attach your configuration files?

Grant Gochnauer - 14 Jul 08 21:55
This is fixed. Once I changed the doctype as suggested