Dupldate attribute entries exist in the config.xml while changing the value
between zero-length string and no-zero-length string
--------------------------------------------------------------------------------------------------------------------------------
Key: GERONIMO-4407
URL: https://issues.apache.org/jira/browse/GERONIMO-4407
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: kernel
Affects Versions: 2.1.3, 2.2
Environment: Windows XP
JDK 1.5.0
Reporter: Ivan
While an attribute's initial value is no-zero length value, then we set its
value with zero-length value in the portlet, then we could find the in the
config.xml file, there are duplicate attribute entries.
Like
.......
<attribute name="LoginTimeout">0</attribute>
<attribute name="ShutdownDatabase">shutdown2</attribute>
<attribute name="ShutdownDatabase"/>
......
It seems that it is caused we use two Map (attributes, clearAttributes ) to
keep the attribute values, while we setting the attribute, no code checks that
the attribute should only exist in one map.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.