View Issue Details

IDProjectCategoryView StatusLast Update
0022008mantisbtapi soappublic2016-12-18 15:29
ReporterMarcelo Martim Marques Assigned Toatrol  
PriorityhighSeveritycrashReproducibilityalways
Status closedResolutionduplicate 
Product Version1.3.4 
Summary0022008: custom_field_get_value api function crashes when bug has custon field
Description

Function custom_field_get_value reruns g_cache_cf_bug_values == null making mc_issue_get fail.

bugdata = client.service.mc_issue_get('admin','password',1)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/suds/client.py", line 542, in call
return client.invoke(args, kwargs)
File "/usr/local/lib/python2.7/dist-packages/suds/client.py", line 602, in invoke
result = self.send(soapenv)
File "/usr/local/lib/python2.7/dist-packages/suds/client.py", line 649, in send
result = self.failed(binding, e)
File "/usr/local/lib/python2.7/dist-packages/suds/client.py", line 702, in failed
r, p = binding.get_fault(reply)
File "/usr/local/lib/python2.7/dist-packages/suds/bindings/binding.py", line 265, in get_fault
raise WebFault(p, faultroot)
suds.WebFault: Server raised fault: 'Error Type: SYSTEM NOTICE,
Error Description: Undefined offset: 1'

TagsNo tags attached.

Relationships

duplicate of 0021964 closedcproensa Editing issues with custom fields throws system notice 

Activities

Marcelo Martim Marques

Marcelo Martim Marques

2016-12-05 08:02

reporter   ~0054676

This issue is not reproducible on version 1.3.3

atrol

atrol

2016-12-05 08:12

developer   ~0054677

Could you please check if this change fixes your issue?
https://github.com/mantisbt/mantisbt/pull/961/files

If so, this will be fixed in 1.3.5 (should be available this week)

Marcelo Martim Marques

Marcelo Martim Marques

2016-12-05 08:36

reporter   ~0054678

Thanks @atrol it works for me. lets close this dup issue!