Duplicate init-param element when merging filter

Description

When i have a filter with a init-param definition, in the resulting web.xml, this init-param appears twice, which leads to a deployment error on weblogic 10.3.

E.g.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 <filter> <filter-name>DZLoginFilter</filter-name> <filter-class> de.dzbw.commons.web.security.ExceptionHandlerFilter </filter-class> <init-param> <param-name> de.dzbw.commons.web.security.LoginFilter.LOGIN_URI</param-name> <param-value>/index.jsf</param-value> </init-param> </filter> in each web.xml merges to <filter> <filter-name>DZLoginFilter</filter-name> <filter-class> de.dzbw.commons.web.security.ExceptionHandlerFilter</filter-class> <init-param> <param-name> de.dzbw.commons.web.security.LoginFilter.LOGIN_URI</param-name> <param-value>/index.jsf</param-value> </init-param> <init-param> <param-name> de.dzbw.commons.web.security.LoginFilter.LOGIN_URI</param-name> <param-value>/index.jsf</param-value> </init-param> </filter>

Status

Assignee

Markus Dreher

Reporter

Markus Dreher

Components

Fix versions

Affects versions

1.2.1

Priority

Minor
Configure