My Oracle Support Banner

Sending An <Updateorder.Request> Via XML API To Delete Group Elements Fails (Doc ID 815975.1)

Last updated on MARCH 27, 2019

Applies to:

Oracle Communications Order and Service Management - Version 6.3.1 and later
Information in this document applies to any platform.
This problem can occur on any platform.

Symptoms

During the update statement the delete causes problems as some child nodes can not be deleted. The error message is:

Cannot delete node[/sip_account_data] as it has one or more child nodes that must be deleted first. These child nodes may not be visible on the current view.


This problem has not occurred in 6.3.1.131, but in 6.3.1.150

Steps To Reproduce:
Create Order and try to delete one of the multiple instances as visible in the trace.

Data from the order:

<sip_account_data>
<sip_account index="1237815862696">
<username_original>0693331</username_original>
</sip_account>
<sip_account index="1237815862698">
<username_original>0693332</username_original>
</sip_account>
<sip_account index="1237815862700">
<username_original>0693333</username_original>
</sip_account>
</sip_account_data>



Try to delete :

<Delete path="/sip_account_data/sip_account[@index='1237815862696']/username_original"/>
<Delete path="/sip_account_data/sip_account[@index='1237815862698']/username_original"/>
<Delete path="/sip_account_data/sip_account[@index='1237815862700']/username_original"/>
<Delete path="/sip_account_data/sip_account[@index='1237815862696']"/>
<Delete path="/sip_account_data/sip_account[@index='1237815862698']"/>
<Delete path="/sip_account_data/sip_account[@index='1237815862700']"/>
<Delete path="/sip_account_data"/>

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.