bugGNU Health - Bugs: bug #35732, Prescrition Search Crashes

 
 

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

bug #35732: Prescrition Search Crashes

Submitter:  Christoph H. Larsen <cd_larsen>
Submitted:  Tue 06 Mar 2012 07:00:42 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  cedk
Open/Closed:  Closed Release:  None
Module:  Component:  None

Tue 06 Mar 2012 07:13:43 PM UTC, comment #1: 

Fixed with changeset 9d23f62cd1ca

Note that the changeset 3cdf1515608a of trytond prevent the crash.

Cédric Krier <cedk>
Tue 06 Mar 2012 07:00:42 PM UTC, original submission:  

Dear All,

Searching for any string within the Prescriptions facility, when there are no existing prescriptions gives me:

--------------------------------------------------------
Traceback (most recent call last):
  File "/site-packages/trytond/protocols/jsonrpc.py", line 108, in _marshaled_dispatch
    response['result'] = dispatch_method(method, params)
  File "/site-packages/trytond/protocols/jsonrpc.py", line 147, in _dispatch
    res = dispatch(*args)
  File "/site-packages/trytond/protocols/dispatcher.py", line 155, in dispatch
    res = getattr(obj, method)(args_without_context, *kargs)
  File "/site-packages/trytond/model/modelsql.py", line 1153, in search
    qu1, qu2, tables, tables_args = self.search_domain(domain)
  File "/site-packages/trytond/model/modelsql.py", line 1299, in search_domain
    qu1, qu2 = self.__search_domain_oper(domain, tables, tables_args)
  File "/site-packages/trytond/model/modelsql.py", line 1328, in __search_domain_oper
    qu1, qu2 = self.__search_domain_calc(tuple_args, tables, tables_args)
  File "/site-packages/trytond/model/modelsql.py", line 1380, in __search_domain_calc
    'exist on "%s"' % (fargs[0], self._name))
Exception: ('ValidateError', 'Field "name" doesn\'t exist on "gnuhealth.prescription.order"')
--------------------------------------------------------

Please let me know, if you cannot reproduce this error, or you need further system details.
Thanks!

Chris

Christoph H. Larsen <cd_larsen>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by meanmicio (Updated the item)
  • -email is unavailable- added by cedk (Posted a comment)
  • -email is unavailable- added by cd_larsen (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-03-08 meanmicio Open/ClosedOpen Closed
    2012-03-06 cedk StatusNone Fixed
        Assigned toNone cedk

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code