[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: <bug>:
From: |
Karsten Hilbert |
Subject: |
Re: <bug>: |
Date: |
Tue, 6 Jul 2021 22:15:32 +0200 |
Hello Robert,
> client version: 1.7.5
the problem you are seeing
> 2021-07-06 14:05:42 DEBUG gm.gui [-1225392112 MainThread]
> (/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
> #252): unhandled exception caught:
> Traceback (most recent call last):
> File "/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py", line 370, in
> _on_save_button_pressed
> if self._PNL_ea.save():
> File "/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py", line 230, in save
> if self._save_as_new():
> File "/usr/share/gnumed/Gnumed/wxpython/gmSubstanceMgmtWidgets.py", line
> 1584, in _save_as_new
> return_existing = True
> File "/usr/share/gnumed/Gnumed/business/gmMedication.py", line 1756, in
> create_drug_product
> rows, idx = gmPG2.run_rw_queries(link_obj = link_obj, queries = [{'cmd':
> cmd, 'args': args}], return_data = True, get_col_idx = False)
> File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1999, in
> run_rw_queries
> conn_commit()
> IntegrityError: [ref.trf_assert_product_has_components()]: INSERT failed: no
> components (doses) linked to drug product [201].
> KONTEXT: PL/pgSQL function ref.trf_assert_product_has_components() line 15
> at RAISE
has been fixed in version 1.7.7:
1.7.7
FIX: meds/substance EA: exception when no LOINC selected
FIX: meds/dose EA: exception on saving
FIX: meds/product EA: exception on creating new product
The latest 1.7 release can be downloaded here:
https://www.gnumed.de/downloads/client/1.7/
Best,
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B