bugGNU Health - Bugs: bug #41639, Traceback when opening the Disease...

 
 

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

bug #41639: Traceback when opening the Disease Categories

Submitted by:  Luis Falcon <meanmicio>
Submitted on:  Wed 19 Feb 2014 11:54:22 AM UTC  
 
Category: FunctionalitySeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Luis Falcon <meanmicio>
Open/Closed: ClosedRelease: 2.4.0
Module: health

Wed 19 Feb 2014 11:58:27 AM UTC, comment #1:

Fixed in Changeset 1186:f198d935ae95

Luis Falcon <meanmicio>
Project AdministratorIn charge of this item.
Wed 19 Feb 2014 11:54:22 AM UTC, original submission:

When clicking on the menu Disease Categories ( Health -> Configuration -> Diseases -> Categories -> Disease Categories ) the traceback is generated:

ERROR:tryton.common.common:Traceback (most recent call last):
File "/trytond/protocols/jsonrpc.py", line 123, in _marshaled_dispatch
response['result'] = dispatch_method(method, params)
File "/trytond/protocols/jsonrpc.py", line 156, in _dispatch
res = dispatch(*args)
File "/trytond/protocols/dispatcher.py", line 169, in dispatch
result = rpc.result(meth(c_args, *c_kwargs))
File "/trytond/model/modelsql.py", line 871, in search
tables, expression = cls.search_domain(domain)
File "/trytond/model/modelsql.py", line 1044, in search_domain
expression = convert(domain)
File "/trytond/model/modelsql.py", line 1042, in convert
domain[1:] if domain[0] == 'AND' else domain)))
File "/trytond/model/modelsql.py", line 1041, in <genexpr>
return And((convert(d) for d in (
File "/trytond/model/modelsql.py", line 1032, in convert
expression = field.convert_domain(domain, tables, cls)
File "/trytond/model/fields/many2one.py", line 169, in convert_domain
Model)
File "/trytond/model/fields/field.py", line 240, in convert_domain
expression = Operator(column, self._domain_value(operator, value))
File "/trytond/model/fields/field.py", line 222, in _domain_value
return self.sql_format(value)
File "/trytond/model/fields/many2one.py", line 85, in sql_format
assert value is not False
AssertionError

Luis Falcon <meanmicio>
Project AdministratorIn charge of this item.

 

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 (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
    Wed 19 Feb 2014 11:58:27 AM UTCmeanmicioStatusNone=>Fixed
      Open/ClosedOpen=>Closed
      ReleaseNone=>2.4.0

    Back to the top


    Powered by Savane 3.1-cleanup1