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

Submitted by:  Florin <efx>
Submitted on:  Tue 17 Jul 2012 01:45:00 PM UTC  
 
Category: DatabaseSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Sebastián Marró <smarro>
Open/Closed: ClosedRelease: 1.6.3
Module: health_calendar

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

Fixed at changeset 301:4033e656e042

Sebastián Marró <smarro>In charge of this item.
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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 18 Aug 2012 08:13:40 PM UTCsmarroStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Sat 18 Aug 2012 07:50:18 PM UTCsmarroStatusNone=>In Progress
      Assigned toNone=>smarro
      ReleaseNone=>1.6.3
      Modulecalendar=>health_calendar

    Back to the top


    Powered by Savane 3.1-cleanup1