← Back to team overview

openerp-india team mailing list archive

[Bug 1023429] [NEW] xmlrpc errors not following standard

 

Public bug reported:


When creating a partner with no fields, the xmlrpc response is below. not that the fault code should be a number as per spec. the fault string is empty.

<methodResponse> 
	<fault> 
		<value>
			<struct> 
				<member> 
					<name>faultCode</name> 
					<value>
						<string>warning -- Integrity Error
							The operation cannot be completed, probably due to the following: - deletion: you may be trying to delete a record while other records still reference it
							- creation/update: a mandatory field is not correctly set [object with reference: name - name]</string>
					</value> 
				</member> 
				<member> 
					<name>faultString</name> 
					<value>
						<string />
					</value> 
				</member> 
			</struct>
		</value> 
	</fault> 
</methodResponse>

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1023429

Title:
  xmlrpc errors not following standard

Status in OpenERP Server:
  New

Bug description:
  
  When creating a partner with no fields, the xmlrpc response is below. not that the fault code should be a number as per spec. the fault string is empty.

  <methodResponse> 
  	<fault> 
  		<value>
  			<struct> 
  				<member> 
  					<name>faultCode</name> 
  					<value>
  						<string>warning -- Integrity Error
  							The operation cannot be completed, probably due to the following: - deletion: you may be trying to delete a record while other records still reference it
  							- creation/update: a mandatory field is not correctly set [object with reference: name - name]</string>
  					</value> 
  				</member> 
  				<member> 
  					<name>faultString</name> 
  					<value>
  						<string />
  					</value> 
  				</member> 
  			</struct>
  		</value> 
  	</fault> 
  </methodResponse>

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1023429/+subscriptions


Follow ups

References