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

Submitted by:  Christoph H. Larsen <cd_larsen>
Submitted on:  Tue 06 Mar 2012 07:00:42 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Cédric Krier <cedk>
Open/Closed: ClosedRelease: None
Module: 

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>In charge of this item.
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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by meanmicio (Updated the item)
  • -unavailable- added by cedk (Posted a comment)
  • -unavailable- added by cd_larsen (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 08 Mar 2012 08:17:23 AM UTCmeanmicioOpen/ClosedOpen=>Closed
    Tue 06 Mar 2012 07:13:43 PM UTCcedkStatusNone=>Fixed
      Assigned toNone=>cedk

    Back to the top


    Powered by Savane 3.1-cleanup1