GNU Health - Bugs: bug #44893, It is allowed to create Multiple...
You are not allowed to post comments on this tracker with your current authentication level.
bug #44893: It is allowed to create Multiple health professionals with the same License ID
Submitter: | Luis González <luisg123v> | ||
Submitted: | Tue 21 Apr 2015 04:17:34 PM UTC | ||
Category: | Programming / Tracebacks | Severity: | 3 - Normal |
Item Group: | None | Status: | Fixed |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Closed | Release: | None |
Module: | health | Component: | None |
Tue 21 Apr 2015 10:32:38 PM UTC, comment #1: |
Chris Zimmerman <teffalump> |
Tue 21 Apr 2015 04:17:34 PM UTC, original submission:
Actually, there is already a constraint which should avoid creating various health professionals with the same License ID. Such constraint is not working properly, because class "HealthProfessional" has two methods named "__setup__"; which makes the first method being overridden by the second one.
|
Luis González <luisg123v> |
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 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2015-04-22 | teffalump | Status | None | Fixed | |
2015-04-21 | teffalump | Open/Closed | Open | Closed | |
2015-04-21 | luisg123v | Carbon-Copy | - | Added -email is unavailable- |
Powered by Savane 3.13-d3ae.
Corresponding source code
I pushed a commit to remove the second call to _setup_ since the first call has the proper constraints (unique name AND unique license id). Thanks for this!