bugGNU Health - Bugs: bug #41381, 'Application Error' on 'Create...


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

bug #41381: 'Application Error' on 'Create Test Order' which was already created test order

Submitted by:  Selvakumar <vselva>
Submitted on:  Wed 29 Jan 2014 06:23:42 AM UTC  
Category: Demo environmentSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: None
Module: Laboratory

Fri 24 Apr 2015 11:17:59 PM UTC, comment #1:

This has been fixed in the interim: uses raise_user_error now. Thanks!

Chris Zimmerman <teffalump>
Project Member
Wed 29 Jan 2014 06:23:42 AM UTC, original submission:

I am testing GNU Health on demo server as following:

Server: health.gnusolidario.org:8000
Database: health24rc1
User name: admin
Password: gnusolidario
Tryton version: 3.0.2


When we click 'Create Test Order' which was already created test order, it shows exception message, as follows:
(I expect it should exit normally like a normal alert window)
(Screen Shot Attached)

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/wizard/wizard.py", line 218, in execute
return wizard._execute(state_name)
File "/trytond/wizard/wizard.py", line 249, in _execute
result = self._execute(transition())
File "/trytond/modules/health_lab/wizard/wizard_create_lab_test.py", line 65, in transition_create_lab_test
raise Exception('The Lab test order is already created.')
Exception: The Lab test order is already created.

Selvakumar <vselva>


Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by teffalump (Posted a comment)
  • -unavailable- added by vselva (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
    Fri 24 Apr 2015 11:17:59 PM UTCteffalumpStatusNone=>Fixed
    Wed 29 Jan 2014 06:23:42 AM UTCvselvaAttached File-=>Added GNUhealth-create-test-lab-APPerr.png, #30405

    Back to the top

    Powered by Savane 3.1-cleanup1