health-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Health-dev] [bug #44893] It is allowed to create Multiple health profes


From: Luis González
Subject: [Health-dev] [bug #44893] It is allowed to create Multiple health professionals with the same License ID
Date: Tue, 21 Apr 2015 16:17:36 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:20.0) Gecko/20100101 Firefox/20.0

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

[Prev in Thread] Current Thread [Next in Thread]