GNU Health - Bugs: bug #62022, health professional: license id...
You are not allowed to post comments on this tracker with your current authentication level.
bug #62022: health professional: license id must be unique but can be empty
| Submitter: | Gerald Wiese <gerald_wiese> | ||
| Submitted: | Thu 10 Feb 2022 02:28:53 PM UTC | ||
| Category: | GUI / Frontend | Severity: | 3 - Normal |
| Item Group: | None | Status: | Fixed |
| Privacy: | Public | Assigned to: | meanmicio |
| Open/Closed: | Closed | Release: | 3.9.0 |
| Module: | health | Component: | None |
|
Tue 15 Feb 2022 05:36:39 PM UTC, comment #1: |
Luis Falcon <meanmicio> |
|
Thu 10 Feb 2022 02:28:53 PM UTC, original submission:
when creating health professionals, the license id can be left empty but if this happens twice you get an error because it's not unique.
|
Gerald Wiese <gerald_wiese> |
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 5 latest changes.
| Date | Changed by | Updated Field | Previous Value | => | Replaced by |
|---|---|---|---|---|---|
| 2022-03-05 | meanmicio | Status | Ready For Test | Fixed | |
| Assigned to | None | meanmicio | |||
| Open/Closed | Open | Closed | |||
| 2022-02-15 | meanmicio | Status | None | Ready For Test | |
| Release | None | 3.9.0 |
Powered by Savane 3.12.
Corresponding source code

Thank you, Gerald!
Fixed it on https://hg.savannah.gnu.org/hgweb/health/rev/48e9240df572
This is an issue with char fields.. instead of setting None on empty fields, it sets them as '' (empty string, which is different than null). In the past I had to fix this in other models :)
Now you can have health professionals without an explicit ID, yet if they have them, it must be unique.
Please report if there are any issues on it still.
Bests
Luis