health-dev
[Top][All Lists]
Advanced

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

[Health-dev] [bug #36862] Write method of health_calendar module


From: Florin
Subject: [Health-dev] [bug #36862] Write method of health_calendar module
Date: Tue, 17 Jul 2012 13:45:00 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19

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

                 Summary: Write method of health_calendar module
                 Project: GNU Health
            Submitted by: efx
            Submitted on: Tue 17 Jul 2012 01:45:00 PM GMT
                Category: Database
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
                  Module: calendar

    _______________________________________________________

Details:

When I try to save an appointment to which I modified the appointment_date
using proteus I got a

    TypeError: 'int' object is not iterable 

pointing me to the file health_calendar/health_calendar.py at the line 73.

If before the for loops I add a 

     if(type(ids) == int):
           ids = [ids]

Then it works. And the date is changed as expected




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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