GNU Health - Bugs: bug #61867, health_federation: error when ...
You are not allowed to post comments on this tracker with your current authentication level.
bug #61867: health_federation: error when save page of life.
| Submitter: | Feng Shu <tumashu> | ||
| Submitted: | Thu 20 Jan 2022 06:18:14 AM UTC | ||
| Category: | Programming / Tracebacks | Severity: | 3 - Normal |
| Item Group: | None | Status: | Fixed |
| Privacy: | Public | Assigned to: | meanmicio |
| Open/Closed: | Closed | Release: | 3.9.0 |
| Module: | all | Component: | None |
|
Tue 25 Jan 2022 09:40:10 AM UTC, comment #5: |
Luis Falcon <meanmicio> |
Tue 25 Jan 2022 02:05:56 AM UTC, comment #4:
|
Feng Shu <tumashu> |
|
Tue 25 Jan 2022 02:00:37 AM UTC, comment #3: I have try the newest code, when I create patient, "health_federation.no_instituation" window will show. |
Feng Shu <tumashu> |
|
Mon 24 Jan 2022 05:53:35 PM UTC, comment #2: I've migrated all the raise_user_errors to the new message classes.
|
Luis Falcon <meanmicio> |
|
Mon 24 Jan 2022 02:30:00 PM UTC, comment #1: Hi Tumashu!
|
Luis Falcon <meanmicio> |
|
Thu 20 Jan 2022 06:18:14 AM UTC, original submission:
ERROR trytond.protocols.dispatcher <class 'trytond.pool.gnuhealth.pol'>.create(([{'age': '36y 9m 3d', 'federation_account': 'ZNU764BTS', 'medical_context': 'prescription', 'node': 'xxx', 'page': 'ac7b351f-8f0c-41e5-a37a-c3a0fa839f99', 'page_date': datetime.datetime(2022, 1, 20, 6, 13, 23), 'page_type': 'medical', 'person': 3, 'relevance': 'important', 'social_context': None, 'summary': '测试', 'author': '', 'author_acct': '', 'gene': '', 'health_condition': 8, 'health_condition_code': 'A01.2', 'health_condition_text': '副伤寒乙', 'info': '11111', 'institution': 1, 'natural_variant': '', 'phenotype': '', 'procedure': 16, 'procedure_code': '1-207', 'procedure_text': '脑电图'}], {'client': 'c39e9094-4a3c-4beb-bef1-5ccf8f91b782', 'company_filter': 'one', 'company': 1, 'company.rec_name': 'xxx', 'language': 'zh_CN', 'language_direction': 'ltr', 'groups': [7, 8, 1, 22, 4, 2, 5, 15, 21, 24, 25, 30, 26, 28, 31, 29, 20, 33, 3, 6, 12, 13, 14, 9, 10, 11], 'locale': {'date': '%Y-%m-%d', 'grouping': [3, 0], 'decimal_point': '.', 'thousands_sep': ','}}), *{}) from admin@127.0.0.1/gnuhealth1/
|
Feng Shu <tumashu> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
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 7 latest changes.
| Date | Changed by | Updated Field | Previous Value | => | Replaced by |
|---|---|---|---|---|---|
| 2022-01-25 | meanmicio | Status | Ready For Test | Fixed | |
| Open/Closed | Open | Closed | |||
| 2022-01-24 | meanmicio | Status | Confirmed | Ready For Test | |
| 2022-01-24 | meanmicio | Status | None | Confirmed | |
| Assigned to | None | meanmicio | |||
| Release | None | 3.9.0 | |||
| Module | health_federation | all |
Powered by Savane 3.12.
Corresponding source code

Thank you!
Just noticed I missed the msg_ prefix, that is why you saw "health_federation.no_institution" instead of the text of the error code (SM-FEDERATION-0005: You need to create an institution) :)
Fixed here:
https://hg.savannah.gnu.org/hgweb/health/rev/fac8b97e841f