URL:
  <http://savannah.gnu.org/bugs/?44893>

                 Summary: It is allowed to create Multiple health
professionals with the same License ID
                 Project: GNU Health
            Submitted by: luisg123v
            Submitted on: Tue 21 Apr 2015 04:17:34 PM GMT
                Category: Programming / Tracebacks
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
                  Module: health

    _______________________________________________________

Details:

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.

The simplest fix would be to join all constraints from those two methods into
a single one so any constraint is not overridden.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44893>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


Reply via email to