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

Key: WET-235
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Sowmyashree
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
WET

DOMElementWrapper - Adding a child that is already added doesn't throw exception

Created: 17/Sep/06 05:06 AM   Updated: 25/Jul/07 07:17 AM
Component/s: WET DOM Interface
Affects Version/s: 0.9.8_beta1, 0.9.8 Final
Fix Version/s: Future

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
I used:

DomElementWrapper NewLink = new DomElementWrapper(DomElementType.XmlRepository);
           NewLink.AddProperty("name", "NewTextLink", "definition");


           Browser.AddChild(NewLink);
           //The same child again
           Browser.AddChild(NewLink);

Was expecting:
    An Exception but nothing was thrown

 All   Comments   Work Log   Change History      Sort Order:
Raghu Venkataramana - 23/Jan/07 04:06 AM
Internal implementation - not causing any issue to the applicationas of now.

Raghu Venkataramana - 25/Jul/07 07:17 AM
We dont see any problem due to this in the actual application. Can be looked at later on.