bugGNU Health - Bugs: bug #36862, Write method of health_calendar...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #36862: Write method of health_calendar module

Submitter:  Florin <efx>
Submitted:  Tue 17 Jul 2012 01:45:00 PM UTC
   
 
Category:  Database Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  smarro
Open/Closed:  Closed Release:  1.6.3
Module:  health_calendar Component:  None

Sat 18 Aug 2012 08:13:40 PM UTC, comment #1: 

Fixed at changeset 301:4033e656e042

Sebastián Marró <smarro>
Tue 17 Jul 2012 01:45:00 PM UTC, original submission:  

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

Florin <efx>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by smarro (Updated the item)
  • -email is unavailable- added by efx (Submitted the item)
  •  

    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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-08-18 smarro StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2012-08-18 smarro StatusNone In Progress
        Assigned toNone smarro
        ReleaseNone 1.6.3
        Modulecalendar health_calendar

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code