XML Error Handling - Codes (Magic xpa 3.x)
The table below is a list of XML error codes, which will be written to the status / mgerror.log.
|
|
1
|
XML Update, Record deleted in another view
An attempt was made to delete a record that was already deleted in another view (the view either has the same ‘view main element’, or one of its ancestors).
|
2
|
XML Insert, Non-existing Parent Parent-ID or ancestor values were specified, but not records were located in the XML.
|
3
|
XML Insert, Parent-ID hierarchy mismatch
Parent-ID was specified and identified an existing element in the XML, but that element could not be the direct parent of the inserted record.
|
4
|
XML Insert, Parent-ID and ancestor values conflict
Both Parent-ID and ancestor values were modified - if the Parent-ID was modified, other ancestor values cannot be modified - a parent must be located in one known method, either by Parent-ID or by ancestor values.
|
5
|
XML Insert, Root element already exists
An attempt was made to insert a 'root record' (i.e. to a view whose 'view main element' is the chosen root element) while there is already a root record in the view.
|