health-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Health-dev] [bug #44110] Error saving Birth Certificate


From: Bruno M. Villasanti
Subject: [Health-dev] [bug #44110] Error saving Birth Certificate
Date: Wed, 28 Jan 2015 20:21:47 +0000
User-agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36

Update of bug #44110 (project health):

                  Status:             In Progress => Fixed                  
             Open/Closed:                    Open => Closed                 
                 Release:                    None => 2.7.0                  

    _______________________________________________________

Follow-up Comment #1:

Fixed on changeset 1809:535c832d46fe


Subsequent errors found and fixed in the process [1][2].

--
[1] Error: 'NoneType' object has no attribute 'rec_name'

Traceback (most recent call last):
  File "/trytond/protocols/jsonrpc.py", line 150, in _marshaled_dispatch
    response['result'] = dispatch_method(method, params)
  File "/trytond/protocols/jsonrpc.py", line 179, in _dispatch
    res = dispatch(*args)
  File "/trytond/protocols/dispatcher.py", line 161, in dispatch
    result = rpc.result(meth(*c_args, **c_kwargs))
  File "/trytond/model/modelsql.py", line 645, in read
    getter_results = field.get(ids, cls, field_list, values=result)
  File "/trytond/model/fields/function.py", line 86, in get
    return dict((name, call(name)) for name in names)
  File "/trytond/model/fields/function.py", line 86, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/trytond/model/fields/function.py", line 80, in call
    return dict((r.id, method(r, name)) for r in records)
  File "/trytond/model/fields/function.py", line 80, in <genexpr>
    return dict((r.id, method(r, name)) for r in records)
  File "/trytond/modules/health_crypto/health_crypto.py", line 285, in
check_digest
    serial_doc=self.get_serial(self)
  File "/trytond/modules/health_crypto/health_crypto.py", line 263, in
get_serial
    'Mother': unicode(certificate.mother.rec_name) or '',
AttributeError: 'NoneType' object has no attribute 'rec_name'


--
[2] Error: 'NoneType' object has no attribute 'rec_name'

Traceback (most recent call last):
  File "/trytond/protocols/jsonrpc.py", line 150, in _marshaled_dispatch
    response['result'] = dispatch_method(method, params)
  File "/trytond/protocols/jsonrpc.py", line 179, in _dispatch
    res = dispatch(*args)
  File "/trytond/protocols/dispatcher.py", line 161, in dispatch
    result = rpc.result(meth(*c_args, **c_kwargs))
  File "/trytond/model/modelsql.py", line 645, in read
    getter_results = field.get(ids, cls, field_list, values=result)
  File "/trytond/model/fields/function.py", line 86, in get
    return dict((name, call(name)) for name in names)
  File "/trytond/model/fields/function.py", line 86, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/trytond/model/fields/function.py", line 80, in call
    return dict((r.id, method(r, name)) for r in records)
  File "/trytond/model/fields/function.py", line 80, in <genexpr>
    return dict((r.id, method(r, name)) for r in records)
  File "/trytond/modules/health_crypto/health_crypto.py", line 291, in
check_digest
    serial_doc=self.get_serial(self)
  File "/trytond/modules/health_crypto/health_crypto.py", line 270, in
get_serial
    'Father': unicode(certificate.father.rec_name) or '',
AttributeError: 'NoneType' object has no attribute 'rec_name'


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44110>

_______________________________________________
  Mensaje enviado vía/por Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]