bugGNU Health - Bugs: bug #44105, Error saving Death Certificate

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #44105: Error saving Death Certificate

Submitted by:  Bruno M. Villasanti <bvillasanti>
Submitted on:  Wed 28 Jan 2015 03:33:08 PM UTC  
 
Category: Programming / TracebacksSeverity: 5 - Blocker
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Bruno M. Villasanti <bvillasanti>
Open/Closed: ClosedRelease: 2.7.0
Module: health, health_crypto

Wed 28 Jan 2015 03:40:17 PM UTC, comment #1:

Fixed on changeset 1807:8670e9e93f02

Bruno M. Villasanti <bvillasanti>In charge of this item.
Wed 28 Jan 2015 03:33:08 PM UTC, original submission:

Tested in GNU Health Demo Database.
Attached screenshot '20150128 - 12:13:48.png'.

--
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 410, in check_digest
serial_doc=self.get_serial(self)
File "/trytond/modules/health_crypto/health_crypto.py", line 378, in get_serial
'HP': unicode(certificate.signed_by.rec_name),
AttributeError: 'NoneType' object has no attribute 'rec_name'

Bruno M. Villasanti <bvillasanti>In charge of this item.

 

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bvillasanti (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 28 Jan 2015 03:40:17 PM UTCbvillasantiStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
      ReleaseNone=>2.7.0
    Wed 28 Jan 2015 03:33:08 PM UTCbvillasantiAttached File-=>Added 20150128 - 12:13:48.png, #32921

    Back to the top


    Powered by Savane 3.1-cleanup1